Skip to content

Commit 5e8ee35

Browse files
Fix #472
1 parent f9902fc commit 5e8ee35

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

News-Android-App/src/main/res/layout/subscription_detail_list_item_extended.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
android:layout_width="match_parent"
1919
android:layout_height="wrap_content"
2020
android:descendantFocusability="blocksDescendants"
21-
android:layout_marginEnd="@dimen/listview_row_margin_right"
22-
android:layout_marginRight="@dimen/listview_row_margin_left"
2321
android:layout_marginTop="@dimen/listview_row_margin_top"
2422
android:layout_marginBottom="@dimen/listview_row_margin_bottom"
2523
android:id="@+id/list_item_header">
@@ -69,6 +67,8 @@
6967
tools:text="21.09.2013"
7068
android:singleLine="true"
7169
android:textSize="15sp"
70+
android:layout_marginEnd="@dimen/listview_row_margin_right"
71+
android:layout_marginRight="@dimen/listview_row_margin_left"
7272
android:layout_alignParentTop="true"
7373
android:layout_alignParentEnd="true"
7474
android:layout_alignParentRight="true"/>
@@ -125,6 +125,8 @@
125125
android:tint="?attr/starredColor"
126126
android:layout_alignParentEnd="true"
127127
android:layout_alignParentRight="true"
128+
android:paddingEnd="@dimen/listview_row_margin_left"
129+
android:paddingRight="@dimen/listview_row_margin_left"
128130
android:contentDescription="@string/content_desc_add_to_favorites"/>
129131

130132
<include
@@ -134,7 +136,7 @@
134136
android:layout_marginLeft="5dp"
135137
android:layout_marginRight="5dp"
136138
android:layout_marginBottom="5dp"
137-
android:layout_marginTop="32dp"
139+
android:layout_marginTop="22dp"
138140
android:id="@+id/podcast_wrapper"
139141
android:layout_toLeftOf="@id/star_imageview"
140142
android:layout_toStartOf="@id/star_imageview" />

News-Android-App/src/main/res/layout/subscription_detail_list_item_podcast_wrapper.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
android:layout_width="wrap_content"
77
android:layout_height="wrap_content"
88
android:visibility="visible"
9+
android:padding="10dp"
910
tools:showIn="@layout/subscription_detail_list_item_simple">
1011

1112
<ImageView

News-Android-App/src/main/res/layout/subscription_detail_list_item_simple.xml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
android:layout_width="match_parent"
1919
android:layout_height="wrap_content"
2020
android:descendantFocusability="blocksDescendants"
21-
android:layout_marginEnd="@dimen/listview_row_margin_right"
22-
android:layout_marginRight="@dimen/listview_row_margin_right"
2321
android:layout_marginTop="@dimen/listview_row_margin_top"
2422
android:layout_marginBottom="@dimen/listview_row_margin_bottom"
2523
android:id="@+id/list_item_header">
@@ -80,6 +78,8 @@
8078
android:singleLine="true"
8179
android:textSize="13sp"
8280
tools:text="vor 13 Stunden"
81+
android:layout_marginEnd="@dimen/listview_row_margin_right"
82+
android:layout_marginRight="@dimen/listview_row_margin_right"
8383
android:layout_toStartOf="@+id/podcast_wrapper"
8484
android:layout_alignParentEnd="true"
8585
android:layout_alignParentRight="true"
@@ -92,9 +92,11 @@
9292
android:layout_height="wrap_content"
9393
android:id="@+id/star_imageview"
9494
android:paddingTop="8dp"
95-
android:paddingBottom="8dp"
95+
android:paddingBottom="15dp"
9696
android:paddingLeft="8dp"
9797
android:paddingStart="8dp"
98+
android:paddingEnd="@dimen/listview_row_margin_right"
99+
android:paddingRight="@dimen/listview_row_margin_right"
98100
android:layout_gravity="center_vertical"
99101
android:src="@drawable/ic_action_star_dark"
100102
android:tint="?attr/starredColor"
@@ -106,7 +108,7 @@
106108
layout="@layout/subscription_detail_list_item_podcast_wrapper"
107109
android:layout_height="wrap_content"
108110
android:layout_width="wrap_content"
109-
android:layout_marginTop="6dp"
111+
android:layout_marginTop="-4dp"
110112
android:id="@+id/podcast_wrapper"
111113
android:layout_toLeftOf="@id/star_imageview"
112114
android:layout_toStartOf="@id/star_imageview"/>

0 commit comments

Comments
 (0)