put toolbar elevation in dimen file
This commit is contained in:
parent
786d9895c8
commit
1749009d10
|
@ -13,7 +13,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?attr/colorPrimary"
|
android:background="?attr/colorPrimary"
|
||||||
android:minHeight="?attr/actionBarSize"
|
android:minHeight="?attr/actionBarSize"
|
||||||
android:elevation="6dp"
|
android:elevation="@dimen/toolbar_elevation"
|
||||||
app:tabMode="fixed"
|
app:tabMode="fixed"
|
||||||
app:tabGravity="fill"
|
app:tabGravity="fill"
|
||||||
app:tabTextColor="@color/white70"
|
app:tabTextColor="@color/white70"
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?attr/colorPrimary"
|
android:background="?attr/colorPrimary"
|
||||||
android:minHeight="?attr/actionBarSize"
|
android:minHeight="?attr/actionBarSize"
|
||||||
android:elevation="4dp"
|
android:elevation="@dimen/toolbar_elevation"
|
||||||
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
|
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
|
||||||
app:popupTheme="?popupOverlayStyle"
|
app:popupTheme="?popupOverlayStyle"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
<dimen name="swipe_handle_size">32dp</dimen>
|
<dimen name="swipe_handle_size">32dp</dimen>
|
||||||
<dimen name="avatar_item_distance">16dp</dimen>
|
<dimen name="avatar_item_distance">16dp</dimen>
|
||||||
|
|
||||||
|
<dimen name="toolbar_elevation">4dp</dimen>
|
||||||
|
|
||||||
<dimen name="publish_avatar_top_margin">8dp</dimen>
|
<dimen name="publish_avatar_top_margin">8dp</dimen>
|
||||||
<dimen name="publish_avatar_size">96dp</dimen>
|
<dimen name="publish_avatar_size">96dp</dimen>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue