mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
Add standard elevation to Toolbars
This commit is contained in:
parent
4281097828
commit
6dd8300c73
@ -12,6 +12,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:minHeight="?attr/actionBarSize"
|
android:minHeight="?attr/actionBarSize"
|
||||||
android:background="?attr/colorPrimary"
|
android:background="?attr/colorPrimary"
|
||||||
|
android:elevation="4dp"
|
||||||
android:theme="?attr/actionBarStyle"
|
android:theme="?attr/actionBarStyle"
|
||||||
app:contentInsetStartWithNavigation="0dp"/>
|
app:contentInsetStartWithNavigation="0dp"/>
|
||||||
|
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
android:layout_height="?attr/actionBarSize"
|
android:layout_height="?attr/actionBarSize"
|
||||||
android:minHeight="?attr/actionBarSize"
|
android:minHeight="?attr/actionBarSize"
|
||||||
android:background="?attr/colorPrimary"
|
android:background="?attr/colorPrimary"
|
||||||
|
android:elevation="4dp"
|
||||||
android:theme="?attr/actionBarStyle">
|
android:theme="?attr/actionBarStyle">
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
@ -65,6 +66,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentTop="true"
|
android:layout_alignParentTop="true"
|
||||||
|
android:elevation="4dp"
|
||||||
android:visibility="invisible"
|
android:visibility="invisible"
|
||||||
tools:visibility="visible"/>
|
tools:visibility="visible"/>
|
||||||
|
|
||||||
|
@ -90,6 +90,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:minHeight="?attr/actionBarSize"
|
android:minHeight="?attr/actionBarSize"
|
||||||
android:background="?attr/colorPrimary"
|
android:background="?attr/colorPrimary"
|
||||||
|
android:elevation="4dp"
|
||||||
android:theme="@style/TextSecure.LightActionBar" />
|
android:theme="@style/TextSecure.LightActionBar" />
|
||||||
|
|
||||||
<fragment android:id="@+id/contact_selection_list_fragment"
|
<fragment android:id="@+id/contact_selection_list_fragment"
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
android:background="?attr/search_toolbar_background"/>
|
android:background="?attr/search_toolbar_background"/>
|
||||||
|
|
||||||
<View android:layout_width="match_parent"
|
<View android:layout_width="match_parent"
|
||||||
android:layout_height="7dp"
|
android:layout_height="4dp"
|
||||||
android:background="@drawable/search_toolbar_shadow"/>
|
android:background="@drawable/search_toolbar_shadow"/>
|
||||||
|
|
||||||
</merge>
|
</merge>
|
@ -14,6 +14,7 @@
|
|||||||
android:layout_height="?attr/actionBarSize"
|
android:layout_height="?attr/actionBarSize"
|
||||||
android:minHeight="?attr/actionBarSize"
|
android:minHeight="?attr/actionBarSize"
|
||||||
android:background="?attr/colorPrimary"
|
android:background="?attr/colorPrimary"
|
||||||
|
android:elevation="4dp"
|
||||||
android:theme="?attr/actionBarStyle">
|
android:theme="?attr/actionBarStyle">
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
@ -55,6 +56,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentTop="true"
|
android:layout_alignParentTop="true"
|
||||||
|
android:elevation="4dp"
|
||||||
android:visibility="invisible"
|
android:visibility="invisible"
|
||||||
tools:visibility="invisible"/>
|
tools:visibility="invisible"/>
|
||||||
|
|
||||||
|
@ -43,6 +43,7 @@
|
|||||||
parent="@style/Widget.AppCompat.ActionBar">
|
parent="@style/Widget.AppCompat.ActionBar">
|
||||||
<item name="background">@color/gray95</item>
|
<item name="background">@color/gray95</item>
|
||||||
<item name="android:popupTheme">@style/ThemeOverlay.AppCompat.Dark</item>
|
<item name="android:popupTheme">@style/ThemeOverlay.AppCompat.Dark</item>
|
||||||
|
<item name="elevation">4dp</item>
|
||||||
<item name="popupTheme">@style/ThemeOverlay.AppCompat.Dark</item>
|
<item name="popupTheme">@style/ThemeOverlay.AppCompat.Dark</item>
|
||||||
<item name="titleTextStyle">@style/TextSecure.TitleTextStyle</item>
|
<item name="titleTextStyle">@style/TextSecure.TitleTextStyle</item>
|
||||||
<item name="subtitleTextStyle">@style/TextSecure.SubtitleTextStyle</item>
|
<item name="subtitleTextStyle">@style/TextSecure.SubtitleTextStyle</item>
|
||||||
@ -51,7 +52,7 @@
|
|||||||
<style name="TextSecure.LightActionBar"
|
<style name="TextSecure.LightActionBar"
|
||||||
parent="@style/Widget.AppCompat.ActionBar">
|
parent="@style/Widget.AppCompat.ActionBar">
|
||||||
<item name="background">@color/textsecure_primary</item>
|
<item name="background">@color/textsecure_primary</item>
|
||||||
<item name="elevation">2dp</item>
|
<item name="elevation">4dp</item>
|
||||||
<item name="popupTheme">@style/ThemeOverlay.AppCompat.Light</item>
|
<item name="popupTheme">@style/ThemeOverlay.AppCompat.Light</item>
|
||||||
<item name="titleTextStyle">@style/TextSecure.TitleTextStyle</item>
|
<item name="titleTextStyle">@style/TextSecure.TitleTextStyle</item>
|
||||||
<item name="subtitleTextStyle">@style/TextSecure.SubtitleTextStyle</item>
|
<item name="subtitleTextStyle">@style/TextSecure.SubtitleTextStyle</item>
|
||||||
@ -68,12 +69,14 @@
|
|||||||
parent="@style/Widget.AppCompat.ActionBar.TabBar">
|
parent="@style/Widget.AppCompat.ActionBar.TabBar">
|
||||||
<item name="background">@color/gray95</item>
|
<item name="background">@color/gray95</item>
|
||||||
<item name="android:background">@color/gray95</item>
|
<item name="android:background">@color/gray95</item>
|
||||||
|
<item name="elevation">4dp</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="TextSecure.LightActionBar.TabBar"
|
<style name="TextSecure.LightActionBar.TabBar"
|
||||||
parent="@style/Widget.AppCompat.ActionBar.TabBar">
|
parent="@style/Widget.AppCompat.ActionBar.TabBar">
|
||||||
<item name="android:background">@color/textsecure_primary</item>
|
<item name="android:background">@color/textsecure_primary</item>
|
||||||
<item name="background">@color/textsecure_primary</item>
|
<item name="background">@color/textsecure_primary</item>
|
||||||
|
<item name="elevation">4dp</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="TextSecure.TitleTextStyle" parent="TextAppearance.AppCompat.Widget.ActionBar.Title">
|
<style name="TextSecure.TitleTextStyle" parent="TextAppearance.AppCompat.Widget.ActionBar.Title">
|
||||||
|
Loading…
Reference in New Issue
Block a user