瀏覽代碼

Theme toolbar for m3

Resolves #2384

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 2 年之前
父節點
當前提交
f7035f5306

+ 2 - 0
app/src/main/java/com/nextcloud/talk/activities/FullScreenTextViewerActivity.kt

@@ -105,6 +105,8 @@ class FullScreenTextViewerActivity : AppCompatActivity() {
         supportActionBar?.setDisplayHomeAsUpEnabled(true)
 
         viewThemeUtils.platform.themeStatusBar(this, binding.textviewToolbar)
+        viewThemeUtils.material.themeToolbar(binding.textviewToolbar)
+        viewThemeUtils.material.colorToolbarOverflowIcon(binding.textviewToolbar)
 
         if (resources != null) {
             DisplayUtils.applyColorToNavigationBar(

+ 1 - 1
app/src/main/res/layout/activity_full_screen_text.xml

@@ -40,7 +40,7 @@
             android:id="@+id/textview_toolbar"
             android:layout_width="match_parent"
             android:layout_height="?attr/actionBarSize"
-            android:theme="@style/appActionBarPopupMenu"
+            android:theme="?attr/actionBarPopupTheme"
             app:layout_scrollFlags="scroll|enterAlways|snap"
             app:navigationIconTint="@color/fontAppbar"
             app:popupTheme="@style/appActionBarPopupMenu"