Commit 109bb1cf authored by Grigory Fedorov's avatar Grigory Fedorov

app:theme replaced by android:theme in toolbar xml description. actionModeBackground removed.

parent 3de81449
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:top="-2dp" android:left="-2dp" android:right="-2dp">
<shape android:shape="rectangle">
<solid android:color="@color/primary_material_dark"/>
</shape>
</item>
</layer-list>
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:minHeight="52dp" android:minHeight="52dp"
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light" app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
android:background="?attr/colorPrimary" android:background="?attr/colorPrimary"
android:elevation="8dp" android:elevation="8dp"
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
android:id="@+id/top_toolbar" android:id="@+id/top_toolbar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize" android:layout_height="?attr/actionBarSize"
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light" app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
android:elevation="8dp" android:elevation="8dp"
android:background="@android:color/transparent" android:background="@android:color/transparent"
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
android:id="@+id/toolbar_overlay" android:id="@+id/toolbar_overlay"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize" android:layout_height="?attr/actionBarSize"
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light" app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
android:elevation="8dp" android:elevation="8dp"
/> />
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:minHeight="?attr/actionBarSize" android:minHeight="?attr/actionBarSize"
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light" app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
android:background="?attr/colorPrimary" android:background="?attr/colorPrimary"
android:elevation="8dp" android:elevation="8dp"
......
...@@ -19,8 +19,6 @@ ...@@ -19,8 +19,6 @@
<!--for text selection toolbar to be above usual toolbar --> <!--for text selection toolbar to be above usual toolbar -->
<item name="windowActionModeOverlay">true</item> <item name="windowActionModeOverlay">true</item>
<!--for text selection toolbar color -->
<item name="actionModeBackground">@drawable/myapp_action_mode_background</item>
<!-- for hardware button menu --> <!-- for hardware button menu -->
<item name="panelBackground">?attr/colorPrimary</item> <item name="panelBackground">?attr/colorPrimary</item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment