From 3dca261deaa2674b1faca52fec213f6cc960a61f Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Fri, 27 Mar 2020 00:30:05 +0800 Subject: Still implementing custom themes. --- .../res/layout/activity_custom_theme_listing.xml | 10 +++ .../main/res/layout/activity_customize_theme.xml | 1 + app/src/main/res/layout/dialog_edit_theme_name.xml | 10 +++ .../fragment_custom_theme_options_bottom_sheet.xml | 97 ++++++++++++++++++++++ .../fragment_select_base_theme_bottom_sheet.xml | 81 ++++++++++++++++++ .../res/layout/item_predefined_custom_theme.xml | 11 ++- app/src/main/res/layout/item_user_custom_theme.xml | 4 +- 7 files changed, 211 insertions(+), 3 deletions(-) create mode 100644 app/src/main/res/layout/dialog_edit_theme_name.xml create mode 100644 app/src/main/res/layout/fragment_custom_theme_options_bottom_sheet.xml create mode 100644 app/src/main/res/layout/fragment_select_base_theme_bottom_sheet.xml (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/activity_custom_theme_listing.xml b/app/src/main/res/layout/activity_custom_theme_listing.xml index f128c11c..260453e6 100644 --- a/app/src/main/res/layout/activity_custom_theme_listing.xml +++ b/app/src/main/res/layout/activity_custom_theme_listing.xml @@ -38,4 +38,14 @@ android:layout_height="match_parent" app:layout_behavior="@string/appbar_scrolling_view_behavior" /> + + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_customize_theme.xml b/app/src/main/res/layout/activity_customize_theme.xml index 362772a1..90dfa2b8 100644 --- a/app/src/main/res/layout/activity_customize_theme.xml +++ b/app/src/main/res/layout/activity_customize_theme.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_customize_theme_activity" tools:context=".Activity.CustomizeThemeActivity"> + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_custom_theme_options_bottom_sheet.xml b/app/src/main/res/layout/fragment_custom_theme_options_bottom_sheet.xml new file mode 100644 index 00000000..82962293 --- /dev/null +++ b/app/src/main/res/layout/fragment_custom_theme_options_bottom_sheet.xml @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_select_base_theme_bottom_sheet.xml b/app/src/main/res/layout/fragment_select_base_theme_bottom_sheet.xml new file mode 100644 index 00000000..d0adbd83 --- /dev/null +++ b/app/src/main/res/layout/fragment_select_base_theme_bottom_sheet.xml @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/item_predefined_custom_theme.xml b/app/src/main/res/layout/item_predefined_custom_theme.xml index 432628b1..cbc6bb20 100644 --- a/app/src/main/res/layout/item_predefined_custom_theme.xml +++ b/app/src/main/res/layout/item_predefined_custom_theme.xml @@ -16,10 +16,19 @@ + + \ No newline at end of file diff --git a/app/src/main/res/layout/item_user_custom_theme.xml b/app/src/main/res/layout/item_user_custom_theme.xml index fe610557..e4ea128d 100644 --- a/app/src/main/res/layout/item_user_custom_theme.xml +++ b/app/src/main/res/layout/item_user_custom_theme.xml @@ -24,12 +24,12 @@ android:textColor="?attr/primaryTextColor" />