From 083339f60e3d4d53b7c14fff84d1017689c4202b Mon Sep 17 00:00:00 2001 From: mvp76 Date: Wed, 1 Mar 2017 12:08:52 +0100 Subject: [PATCH] No need for custom attribute From what I know, actionBarTheme and actionBarPopupTheme will do the job. --- app/src/main/res/layout/repo_list_activity.xml | 4 +++- app/src/main/res/layout/repodetails.xml | 7 ++++--- app/src/main/res/values/styles.xml | 12 ++++-------- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/app/src/main/res/layout/repo_list_activity.xml b/app/src/main/res/layout/repo_list_activity.xml index 13e43e525..472461097 100644 --- a/app/src/main/res/layout/repo_list_activity.xml +++ b/app/src/main/res/layout/repo_list_activity.xml @@ -1,6 +1,7 @@ @@ -10,7 +11,8 @@ android:title="@string/menu_manage" android:layout_width="match_parent" android:layout_height="wrap_content" - android:theme="?attr/toolbar_theme"/> + app:theme="?attr/actionBarTheme" + app:popupTheme="?attr/actionBarPopupTheme" /> - + app:theme="?attr/actionBarTheme" + app:popupTheme="?attr/actionBarPopupTheme" /> @color/fdroid_green @style/AlertDialogThemeDark @style/TextViewStyle + @style/AppThemeLight.Toolbar + @style/AppThemeLight.Toolbar - - -