diff options
author | Alex Ning <chineseperson5@gmail.com> | 2018-08-20 14:33:00 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2018-08-20 14:33:00 +0000 |
commit | 0fa03cba2150a2225677d6abe611c63510e428ee (patch) | |
tree | c7a318add5959fd7833d2b04bb328bcb2ba1e829 /app/src/main/res/layout | |
parent | 07b32b39007136ac8f6e326da791562a107716ad (diff) | |
download | infinity-for-reddit-0fa03cba2150a2225677d6abe611c63510e428ee.tar infinity-for-reddit-0fa03cba2150a2225677d6abe611c63510e428ee.tar.gz infinity-for-reddit-0fa03cba2150a2225677d6abe611c63510e428ee.tar.bz2 infinity-for-reddit-0fa03cba2150a2225677d6abe611c63510e428ee.tar.lz infinity-for-reddit-0fa03cba2150a2225677d6abe611c63510e428ee.tar.xz infinity-for-reddit-0fa03cba2150a2225677d6abe611c63510e428ee.tar.zst infinity-for-reddit-0fa03cba2150a2225677d6abe611c63510e428ee.zip |
Rename some classes and layout resources. Feature added: view posts in ViewSubredditDetailActivity.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/activity_view_subreddit_detail.xml | 1 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_post.xml (renamed from app/src/main/res/layout/fragment_best_post.xml) | 16 | ||||
-rw-r--r-- | app/src/main/res/layout/item_footer_progress_bar.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/item_post.xml (renamed from app/src/main/res/layout/item_best_post.xml) | 0 |
4 files changed, 12 insertions, 7 deletions
diff --git a/app/src/main/res/layout/activity_view_subreddit_detail.xml b/app/src/main/res/layout/activity_view_subreddit_detail.xml index 460f3fb2..ce3c4d55 100644 --- a/app/src/main/res/layout/activity_view_subreddit_detail.xml +++ b/app/src/main/res/layout/activity_view_subreddit_detail.xml @@ -4,6 +4,7 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" + android:id="@+id/coordinator_layout_view_subreddit_detail_activity" android:fitsSystemWindows="true" tools:context=".ViewSubredditDetailActivity"> diff --git a/app/src/main/res/layout/fragment_best_post.xml b/app/src/main/res/layout/fragment_post.xml index f4d24c08..e18a4a62 100644 --- a/app/src/main/res/layout/fragment_best_post.xml +++ b/app/src/main/res/layout/fragment_post.xml @@ -3,26 +3,28 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" - android:id="@+id/coordinator_layout_best_post_fragment" - tools:context="ml.docilealligator.infinityforreddit.BestPostFragment"> + android:id="@+id/coordinator_layout_post_fragment" + tools:context="ml.docilealligator.infinityforreddit.PostFragment"> <ProgressBar - android:id="@+id/progress_bar_best_post_fragment" + android:id="@+id/progress_bar_post_fragment" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_marginTop="16dp" + android:layout_marginBottom="16dp" android:layout_gravity="center" /> <android.support.v7.widget.RecyclerView - android:id="@+id/recycler_view_best_post_fragment" + android:id="@+id/recycler_view_post_fragment" android:layout_width="match_parent" android:layout_height="match_parent" /> - <android.support.design.widget.FloatingActionButton - android:id="@+id/fab_best_post_fragment" + <!--<android.support.design.widget.FloatingActionButton + android:id="@+id/fab_post_fragment" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom|end" android:layout_margin="@dimen/fab_margin" - app:srcCompat="@drawable/baseline_add_white_24" /> + app:srcCompat="@drawable/baseline_add_white_24" />--> </android.support.design.widget.CoordinatorLayout> diff --git a/app/src/main/res/layout/item_footer_progress_bar.xml b/app/src/main/res/layout/item_footer_progress_bar.xml index 9f2347ec..86e1a1a9 100644 --- a/app/src/main/res/layout/item_footer_progress_bar.xml +++ b/app/src/main/res/layout/item_footer_progress_bar.xml @@ -10,6 +10,7 @@ android:id="@+id/progress_bar_footer_progress_bar_item" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_marginTop="8dp" android:layout_marginBottom="16dp" android:layout_gravity="center" /> @@ -17,6 +18,7 @@ android:id="@+id/relative_layout_footer_progress_bar_item" android:layout_width="match_parent" android:layout_height="wrap_content" + android:layout_marginTop="8dp" android:layout_marginBottom="16dp" android:layout_marginLeft="16dp" android:layout_marginStart="16dp" diff --git a/app/src/main/res/layout/item_best_post.xml b/app/src/main/res/layout/item_post.xml index 5978957c..5978957c 100644 --- a/app/src/main/res/layout/item_best_post.xml +++ b/app/src/main/res/layout/item_post.xml |