Kaydet (Commit) 01d0983e authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

android: make toolbar visuals easier to change

Change-Id: I5b4dd8b8c407640cfcd9f366cecfaf6deb0cb3be
üst b0166b1d
...@@ -2,9 +2,13 @@ ...@@ -2,9 +2,13 @@
<android.support.v7.widget.Toolbar <android.support.v7.widget.Toolbar
android:id="@+id/toolbar" android:id="@+id/toolbar"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:elevation="3dp"> android:elevation="3dp"
android:background="@color/toolbar_background"
app:theme="@style/LibreOfficeTheme.Toolbar"
app:popupTheme="@style/LibreOfficeTheme">
</android.support.v7.widget.Toolbar> </android.support.v7.widget.Toolbar>
...@@ -92,6 +92,9 @@ ...@@ -92,6 +92,9 @@
<color name="panel_grid_item_image_background">#D1D9E1</color> <color name="panel_grid_item_image_background">#D1D9E1</color>
<color name="toolbar_forgeround">#3e3e3e</color>
<color name="toolbar_background">#ffffff</color>
<color name="handle_color">#40A040</color> <color name="handle_color">#40A040</color>
</resources> </resources>
......
...@@ -14,4 +14,9 @@ ...@@ -14,4 +14,9 @@
<item name="android:textColor">@android:color/black</item> <item name="android:textColor">@android:color/black</item>
<item name="android:textSize">15sp</item> <item name="android:textSize">15sp</item>
</style> </style>
<style name="LibreOfficeTheme.Toolbar" parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorPrimary">@color/toolbar_background</item>
</style>
</resources> </resources>
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