mirror of https://github.com/tasks/tasks
Toolbar elevation in lollipop
parent
8069e5bfdf
commit
8d4ca3f185
@ -1,21 +1,10 @@
|
|||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_height="wrap_content"
|
xmlns:tasks="http://schemas.android.com/apk/res-auto"
|
||||||
|
android:id="@+id/toolbar"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical">
|
android:layout_height="?attr/actionBarSize"
|
||||||
|
android:background="?attr/asAbBackgroundColor"
|
||||||
<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
|
android:elevation="4dp"
|
||||||
xmlns:tasks="http://schemas.android.com/apk/res-auto"
|
tasks:popupTheme="@style/ThemeOverlay.AppCompat.Light"
|
||||||
android:id="@+id/toolbar"
|
tasks:theme="@style/ActionBarThemeOverlay"
|
||||||
android:layout_width="match_parent"
|
tasks:titleTextAppearance="@style/ActionBar.TitleText" />
|
||||||
android:layout_height="?attr/actionBarSize"
|
|
||||||
android:background="?attr/asAbBackgroundColor"
|
|
||||||
tasks:theme="@style/ActionBarThemeOverlay"
|
|
||||||
tasks:popupTheme="@style/ThemeOverlay.AppCompat.Light"
|
|
||||||
tasks:titleTextAppearance="@style/ActionBar.TitleText" />
|
|
||||||
|
|
||||||
<View
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="1px"
|
|
||||||
android:background="?attr/asToolbarSeparator" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|||||||
@ -0,0 +1,4 @@
|
|||||||
|
<View xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="?attr/toolbarSeparatorHeight"
|
||||||
|
android:background="?attr/asToolbarSeparator" />
|
||||||
Loading…
Reference in New Issue