diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-03-19 04:20:23 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-03-19 04:20:23 +0000 |
commit | 012736bff62005c8c61f5844529fc5216af1e885 (patch) | |
tree | 61b483701631faabd73693483be9fff098042244 /app/src/main/res/layout/activity_customize_theme.xml | |
parent | 71e22b3e364c75400ef380df1d53a83f9dbd3a1b (diff) | |
download | infinity-for-reddit-012736bff62005c8c61f5844529fc5216af1e885.tar infinity-for-reddit-012736bff62005c8c61f5844529fc5216af1e885.tar.gz infinity-for-reddit-012736bff62005c8c61f5844529fc5216af1e885.tar.bz2 infinity-for-reddit-012736bff62005c8c61f5844529fc5216af1e885.tar.lz infinity-for-reddit-012736bff62005c8c61f5844529fc5216af1e885.tar.xz infinity-for-reddit-012736bff62005c8c61f5844529fc5216af1e885.tar.zst infinity-for-reddit-012736bff62005c8c61f5844529fc5216af1e885.zip |
Start implementing custom theme settings.
Diffstat (limited to 'app/src/main/res/layout/activity_customize_theme.xml')
-rw-r--r-- | app/src/main/res/layout/activity_customize_theme.xml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_customize_theme.xml b/app/src/main/res/layout/activity_customize_theme.xml new file mode 100644 index 00000000..362772a1 --- /dev/null +++ b/app/src/main/res/layout/activity_customize_theme.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="utf-8"?> +<androidx.coordinatorlayout.widget.CoordinatorLayout 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:layout_width="match_parent" + android:layout_height="match_parent" + tools:context=".Activity.CustomizeThemeActivity"> + + <com.google.android.material.appbar.AppBarLayout + android:id="@+id/appbar_layout_customize_theme_activity" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="?attr/toolbarAndTabBackgroundColor" + android:theme="@style/AppTheme.AppBarOverlay"> + + <com.google.android.material.appbar.CollapsingToolbarLayout + android:id="@+id/collapsing_toolbar_layout_customize_theme_activity" + android:layout_width="match_parent" + android:layout_height="match_parent" + app:layout_scrollFlags="scroll|enterAlways" + app:titleEnabled="false" + app:toolbarId="@+id/toolbar_customize_theme_activity"> + + <androidx.appcompat.widget.Toolbar + android:id="@+id/toolbar_customize_theme_activity" + android:layout_width="match_parent" + android:layout_height="?attr/actionBarSize" + app:popupTheme="@style/AppTheme.PopupOverlay" + app:navigationIcon="?attr/homeAsUpIndicator" /> + + </com.google.android.material.appbar.CollapsingToolbarLayout> + + </com.google.android.material.appbar.AppBarLayout> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/recycler_view_customize_theme_activity" + android:layout_width="match_parent" + android:layout_height="match_parent" + app:layout_behavior="@string/appbar_scrolling_view_behavior" /> + +</androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file |