diff --git a/app/src/main/java/com/nextcloud/talk/activities/FullScreenTextViewerActivity.kt b/app/src/main/java/com/nextcloud/talk/activities/FullScreenTextViewerActivity.kt index cce904b99..5bf306c1c 100644 --- a/app/src/main/java/com/nextcloud/talk/activities/FullScreenTextViewerActivity.kt +++ b/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( diff --git a/app/src/main/res/layout/activity_full_screen_text.xml b/app/src/main/res/layout/activity_full_screen_text.xml index f491502a5..db71002e8 100644 --- a/app/src/main/res/layout/activity_full_screen_text.xml +++ b/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"