aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-03-27 06:40:48 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-03-27 06:40:48 +0000
commitf40b9cbde003d9c3cc0eaa0d3c4eadb072f67c4a (patch)
tree7dbfe295e7c3e4cea63d2bcbcb868b5aaf197d6a /app/src/main/res/layout
parent6ad725762ba11100b7373767d8c3c3feee88364c (diff)
downloadinfinity-for-reddit-f40b9cbde003d9c3cc0eaa0d3c4eadb072f67c4a.tar
infinity-for-reddit-f40b9cbde003d9c3cc0eaa0d3c4eadb072f67c4a.tar.gz
infinity-for-reddit-f40b9cbde003d9c3cc0eaa0d3c4eadb072f67c4a.tar.bz2
infinity-for-reddit-f40b9cbde003d9c3cc0eaa0d3c4eadb072f67c4a.tar.lz
infinity-for-reddit-f40b9cbde003d9c3cc0eaa0d3c4eadb072f67c4a.tar.xz
infinity-for-reddit-f40b9cbde003d9c3cc0eaa0d3c4eadb072f67c4a.tar.zst
infinity-for-reddit-f40b9cbde003d9c3cc0eaa0d3c4eadb072f67c4a.zip
Fix some bugs related to custom themes.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/activity_search_result.xml18
1 files changed, 5 insertions, 13 deletions
diff --git a/app/src/main/res/layout/activity_search_result.xml b/app/src/main/res/layout/activity_search_result.xml
index c1b641b1..c4b132c7 100644
--- a/app/src/main/res/layout/activity_search_result.xml
+++ b/app/src/main/res/layout/activity_search_result.xml
@@ -14,20 +14,12 @@
android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
- <com.google.android.material.appbar.CollapsingToolbarLayout
+ <androidx.appcompat.widget.Toolbar
+ android:id="@+id/toolbar_search_result_activity"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:layout_scrollFlags="scroll|enterAlways"
- app:titleEnabled="false"
- app:toolbarId="@+id/toolbar_search_result_activity">
-
- <androidx.appcompat.widget.Toolbar
- android:id="@+id/toolbar_search_result_activity"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- app:popupTheme="@style/AppTheme.PopupOverlay" />
-
- </com.google.android.material.appbar.CollapsingToolbarLayout>
+ android:layout_height="?attr/actionBarSize"
+ app:popupTheme="@style/AppTheme.PopupOverlay"
+ app:navigationIcon="?attr/homeAsUpIndicator" />
<com.google.android.material.tabs.TabLayout
android:id="@+id/tab_layout_search_result_activity"