diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-04-13 22:12:01 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-04-13 22:12:01 +0200 |
commit | 6921e1dab6d3170da19242d95d0d740a5161fcf9 (patch) | |
tree | 7f2c1b9ef8eec23600b3ef413170aa300e4a3c86 | |
parent | 7b49f8fef76c446fffe0b794e4d82d13eafc04e7 (diff) |
put toolbar elevation in dimen file
Diffstat (limited to '')
-rw-r--r-- | src/main/res/layout/activity_start_conversation.xml | 2 | ||||
-rw-r--r-- | src/main/res/layout/toolbar.xml | 2 | ||||
-rw-r--r-- | src/main/res/values/dimens.xml | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/src/main/res/layout/activity_start_conversation.xml b/src/main/res/layout/activity_start_conversation.xml index 963f3d547..1cb95b456 100644 --- a/src/main/res/layout/activity_start_conversation.xml +++ b/src/main/res/layout/activity_start_conversation.xml @@ -16,7 +16,7 @@ android:layout_height="wrap_content" android:layout_below="@id/toolbar" android:background="?attr/colorPrimary" - android:elevation="6dp" + android:elevation="@dimen/toolbar_elevation" android:minHeight="?attr/actionBarSize" android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" app:tabGravity="fill" diff --git a/src/main/res/layout/toolbar.xml b/src/main/res/layout/toolbar.xml index 5cb8b021a..ca0ab0cd3 100644 --- a/src/main/res/layout/toolbar.xml +++ b/src/main/res/layout/toolbar.xml @@ -4,7 +4,7 @@ android:layout_height="wrap_content" android:background="?attr/colorPrimary" android:minHeight="?attr/actionBarSize" - android:elevation="4dp" + android:elevation="@dimen/toolbar_elevation" android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" app:popupTheme="?popupOverlayStyle" xmlns:android="http://schemas.android.com/apk/res/android" diff --git a/src/main/res/values/dimens.xml b/src/main/res/values/dimens.xml index c29eded86..dfc2056e4 100644 --- a/src/main/res/values/dimens.xml +++ b/src/main/res/values/dimens.xml @@ -11,6 +11,8 @@ <dimen name="audio_player_width">224dp</dimen> <dimen name="avatar_item_distance">16dp</dimen> + <dimen name="toolbar_elevation">4dp</dimen> + <dimen name="input_label_vertical_spacing">4dp</dimen> <dimen name="input_label_horizontal_spacing">4dp</dimen> |