From 24348b256fd1db6c395fc22304fe425b13b82edc Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Thu, 20 Aug 2020 11:02:00 +0800 Subject: Set different main tabs for different users. --- app/src/main/res/layout/dialog_edit_text.xml | 16 + .../fragment_customize_main_page_tabs_test.xml | 365 +++++++++++++++++++++ app/src/main/res/values-night/colors.xml | 2 + app/src/main/res/values/colors.xml | 2 + app/src/main/res/xml/interface_preference.xml | 2 +- 5 files changed, 386 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/layout/dialog_edit_text.xml create mode 100644 app/src/main/res/layout/fragment_customize_main_page_tabs_test.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/dialog_edit_text.xml b/app/src/main/res/layout/dialog_edit_text.xml new file mode 100644 index 00000000..158ff59d --- /dev/null +++ b/app/src/main/res/layout/dialog_edit_text.xml @@ -0,0 +1,16 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_customize_main_page_tabs_test.xml b/app/src/main/res/layout/fragment_customize_main_page_tabs_test.xml new file mode 100644 index 00000000..a9b10c8c --- /dev/null +++ b/app/src/main/res/layout/fragment_customize_main_page_tabs_test.xml @@ -0,0 +1,365 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index 4ab1f8bd..e4d0fdcd 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -9,4 +9,6 @@ #FFFFFF #242424 #FFFFFF + #4DFFFFFF + #69666c diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index c940e5fa..03423272 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -10,4 +10,6 @@ #FFFFFF #000000 #000000 + #42000000 + #E0E0E0 diff --git a/app/src/main/res/xml/interface_preference.xml b/app/src/main/res/xml/interface_preference.xml index 2e5c71e3..10efc01f 100644 --- a/app/src/main/res/xml/interface_preference.xml +++ b/app/src/main/res/xml/interface_preference.xml @@ -16,7 +16,7 @@ + app:fragment="ml.docilealligator.infinityforreddit.Settings.CustomizeMainPageTabsTestFragment" />