diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/content_view_subreddit_detail.xml | 15 | ||||
-rw-r--r-- | app/src/main/res/layout/item_best_post.xml | 3 |
2 files changed, 6 insertions, 12 deletions
diff --git a/app/src/main/res/layout/content_view_subreddit_detail.xml b/app/src/main/res/layout/content_view_subreddit_detail.xml index c6334e7d..2b27dd3c 100644 --- a/app/src/main/res/layout/content_view_subreddit_detail.xml +++ b/app/src/main/res/layout/content_view_subreddit_detail.xml @@ -1,17 +1,10 @@ <?xml version="1.0" encoding="utf-8"?> -<android.support.v4.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android" +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" + android:id="@+id/frame_layout_view_subreddit_detail_activity" android:layout_width="match_parent" - android:layout_height="match_parent" + android:layout_height="wrap_content" app:layout_behavior="@string/appbar_scrolling_view_behavior" tools:context=".ViewSubredditDetailActivity" - tools:showIn="@layout/activity_view_subreddit_detail"> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_margin="@dimen/text_margin" - android:text="@string/large_text" /> - -</android.support.v4.widget.NestedScrollView>
\ No newline at end of file + tools:showIn="@layout/activity_view_subreddit_detail" /> diff --git a/app/src/main/res/layout/item_best_post.xml b/app/src/main/res/layout/item_best_post.xml index 4bd95542..5978957c 100644 --- a/app/src/main/res/layout/item_best_post.xml +++ b/app/src/main/res/layout/item_best_post.xml @@ -2,7 +2,8 @@ <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginBottom="16dp" + android:layout_marginTop="8dp" + android:layout_marginBottom="8dp" android:id="@+id/card_view_view_post_detail"> <LinearLayout |