diff options
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/layout/item_favorite_subreddits_divider.xml | 12 | ||||
-rw-r--r-- | app/src/main/res/layout/item_subscribed_thing.xml | 10 |
2 files changed, 21 insertions, 1 deletions
diff --git a/app/src/main/res/layout/item_favorite_subreddits_divider.xml b/app/src/main/res/layout/item_favorite_subreddits_divider.xml new file mode 100644 index 00000000..7b3f34a8 --- /dev/null +++ b/app/src/main/res/layout/item_favorite_subreddits_divider.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:padding="16dp"> + + <TextView + android:id="@+id/divider_text_view_item_favorite_subreddits_divider" + android:layout_width="wrap_content" + android:layout_height="wrap_content" /> + +</LinearLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/item_subscribed_thing.xml b/app/src/main/res/layout/item_subscribed_thing.xml index 92e381aa..bb76a5fb 100644 --- a/app/src/main/res/layout/item_subscribed_thing.xml +++ b/app/src/main/res/layout/item_subscribed_thing.xml @@ -17,10 +17,18 @@ <TextView android:id="@+id/subreddit_name_text_view_item_subscribed_subreddit" - android:layout_width="wrap_content" + android:layout_width="0dp" android:layout_height="wrap_content" + android:layout_weight="1" android:textColor="@color/primaryTextColor" android:textSize="?attr/font_default" android:layout_gravity="center_vertical" /> + <ImageView + android:id="@+id/favorite_image_view_item_subscribed_subreddit" + android:layout_width="24dp" + android:layout_height="24dp" + android:layout_gravity="end|center_vertical" + android:layout_marginStart="32dp" /> + </LinearLayout>
\ No newline at end of file |