From 82d97cf73208f3f187b965fca4460f68af33f6b7 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Thu, 21 Feb 2019 17:24:23 +0800 Subject: Migrate to AndroidX --- app/src/main/res/layout/activity_login.xml | 4 ++-- app/src/main/res/layout/activity_main.xml | 16 +++++++-------- .../main/res/layout/activity_view_post_detail.xml | 24 +++++++++++----------- .../res/layout/activity_view_subreddit_detail.xml | 16 +++++++-------- .../main/res/layout/activity_view_user_detail.xml | 16 +++++++-------- app/src/main/res/layout/app_bar_main.xml | 10 ++++----- app/src/main/res/layout/fragment_post.xml | 6 +++--- app/src/main/res/layout/item_post.xml | 12 +++++------ 8 files changed, 52 insertions(+), 52 deletions(-) (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/activity_login.xml b/app/src/main/res/layout/activity_login.xml index ebe641c7..908efa3c 100644 --- a/app/src/main/res/layout/activity_login.xml +++ b/app/src/main/res/layout/activity_login.xml @@ -1,5 +1,5 @@ - - + diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 5da5a9d3..6a5a0aff 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -1,5 +1,5 @@ - - - @@ -72,7 +72,7 @@ android:layout_margin="16dp" android:visibility="gone"/> - @@ -85,15 +85,15 @@ android:layout_margin="16dp" android:visibility="gone"/> - - + - + - + diff --git a/app/src/main/res/layout/activity_view_post_detail.xml b/app/src/main/res/layout/activity_view_post_detail.xml index 103edf40..0f7c2002 100644 --- a/app/src/main/res/layout/activity_view_post_detail.xml +++ b/app/src/main/res/layout/activity_view_post_detail.xml @@ -1,5 +1,5 @@ - - @@ -17,7 +17,7 @@ android:orientation="vertical" android:descendantFocusability="blocksDescendants"> - @@ -26,7 +26,7 @@ android:layout_height="match_parent" android:orientation="vertical"> - @@ -66,7 +66,7 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent"/> - + - - - + - - + - + - \ No newline at end of file + \ No newline at end of file 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 51566dbe..5d83b5fa 100644 --- a/app/src/main/res/layout/activity_view_subreddit_detail.xml +++ b/app/src/main/res/layout/activity_view_subreddit_detail.xml @@ -1,5 +1,5 @@ - - - - - - + - + - \ No newline at end of file + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_view_user_detail.xml b/app/src/main/res/layout/activity_view_user_detail.xml index a1fa6dc4..ca8625d3 100644 --- a/app/src/main/res/layout/activity_view_user_detail.xml +++ b/app/src/main/res/layout/activity_view_user_detail.xml @@ -1,5 +1,5 @@ - - - - - - + - + - \ No newline at end of file + \ No newline at end of file diff --git a/app/src/main/res/layout/app_bar_main.xml b/app/src/main/res/layout/app_bar_main.xml index b4df7936..f8894bda 100644 --- a/app/src/main/res/layout/app_bar_main.xml +++ b/app/src/main/res/layout/app_bar_main.xml @@ -1,25 +1,25 @@ - - - - + - + diff --git a/app/src/main/res/layout/fragment_post.xml b/app/src/main/res/layout/fragment_post.xml index 1c78fcad..3b073f08 100644 --- a/app/src/main/res/layout/fragment_post.xml +++ b/app/src/main/res/layout/fragment_post.xml @@ -1,4 +1,4 @@ - - @@ -51,4 +51,4 @@ android:layout_margin="@dimen/fab_margin" app:srcCompat="@drawable/baseline_add_white_24" />--> - + diff --git a/app/src/main/res/layout/item_post.xml b/app/src/main/res/layout/item_post.xml index b3d32486..9d94cb2a 100644 --- a/app/src/main/res/layout/item_post.xml +++ b/app/src/main/res/layout/item_post.xml @@ -1,5 +1,5 @@ - - @@ -65,7 +65,7 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" /> - + - - - \ No newline at end of file + \ No newline at end of file -- cgit v1.2.3