Theme toolbar for m3

Resolves #2384

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2022-09-19 16:52:55 +02:00
parent b3a3277aa2
commit f7035f5306
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
2 changed files with 3 additions and 1 deletions

View file

@ -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(

View file

@ -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"