diff options
Diffstat (limited to 'app/src/main/res/layout/item_subscribed_subreddit.xml')
-rw-r--r-- | app/src/main/res/layout/item_subscribed_subreddit.xml | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/app/src/main/res/layout/item_subscribed_subreddit.xml b/app/src/main/res/layout/item_subscribed_subreddit.xml index d8fb3247..3795aa62 100644 --- a/app/src/main/res/layout/item_subscribed_subreddit.xml +++ b/app/src/main/res/layout/item_subscribed_subreddit.xml @@ -1,6 +1,24 @@ <?xml version="1.0" encoding="utf-8"?> -<android.support.constraint.ConstraintLayout +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" - android:layout_height="match_parent"> + android:layout_height="wrap_content" + android:padding="16dp" + android:clickable="true" + android:focusable="true" + android:background="?attr/selectableItemBackground"> -</android.support.constraint.ConstraintLayout>
\ No newline at end of file + <de.hdodenhof.circleimageview.CircleImageView + android:id="@+id/subreddit_icon_circle_image_view_item_subscribed_subreddit" + android:layout_width="24dp" + android:layout_height="24dp" + android:layout_gravity="center_vertical" + android:layout_marginEnd="32dp"/> + + <TextView + android:id="@+id/subreddit_name_text_view_item_subscribed_subreddit" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textColor="@android:color/black" + android:layout_gravity="center_vertical"/> + +</LinearLayout>
\ No newline at end of file |