mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 10:05:15 +00:00
silly actionbar shadow issue
// FREEBIE
This commit is contained in:
parent
bd3d9ac533
commit
020920d988
10
res/drawable-v16/compat_actionbar_shadow_background.xml
Normal file
10
res/drawable-v16/compat_actionbar_shadow_background.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@android:color/transparent" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
</layer-list>
|
16
res/drawable/compat_actionbar_shadow_background.xml
Normal file
16
res/drawable/compat_actionbar_shadow_background.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/conversation_item_sent_shadow_light" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
<item android:bottom="2dp">
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/conversation_list_divider_light" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
</layer-list>
|
@ -12,6 +12,8 @@
|
||||
android:scrollbarStyle="insideOverlay"
|
||||
android:fadingEdgeLength="16dip"
|
||||
android:divider="?conversation_list_item_divider"
|
||||
android:headerDividersEnabled="false"
|
||||
android:footerDividersEnabled="false"
|
||||
android:dividerHeight="1px" />
|
||||
|
||||
</LinearLayout>
|
||||
|
@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="TextSecure.Light.Dialog" parent="@android:style/Theme.Holo.Light.Dialog"/>
|
||||
|
||||
</resources>
|
@ -17,14 +17,14 @@
|
||||
<style name="TextSecure.DarkActionBar"
|
||||
parent="@style/Widget.AppCompat.ActionBar">
|
||||
<item name="background">@color/gray95</item>
|
||||
<item name="elevation">1dp</item>
|
||||
<item name="elevation">2dp</item>
|
||||
<item name="logo">@drawable/actionbar_icon_holo_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="TextSecure.LightActionBar"
|
||||
parent="@style/Widget.AppCompat.ActionBar">
|
||||
<item name="background">@color/gray5</item>
|
||||
<item name="elevation">1dp</item>
|
||||
<item name="elevation">2dp</item>
|
||||
<item name="logo">@drawable/actionbar_icon_holo_light</item>
|
||||
</style>
|
||||
|
||||
|
@ -8,10 +8,10 @@
|
||||
|
||||
<style name="TextSecure.LightTheme" parent="@style/Theme.AppCompat.Light">
|
||||
<item name="actionBarStyle">@style/TextSecure.LightActionBar</item>
|
||||
<item name="android:windowContentOverlay">@null</item>
|
||||
<item name="colorPrimary">@color/gray5</item>
|
||||
<item name="colorPrimaryDark">@color/gray95</item>
|
||||
<item name="colorAccent">#ff259b24</item>
|
||||
<item name="android:windowContentOverlay">@drawable/compat_actionbar_shadow_background</item>
|
||||
<item name="conversation_list_item_background_read">@drawable/conversation_list_item_background_read_light</item>
|
||||
<item name="conversation_list_item_background_unread">@drawable/conversation_list_item_background_unread_light</item>
|
||||
<item name="conversation_list_item_background_selected">@drawable/list_selected_holo_light</item>
|
||||
|
Loading…
Reference in New Issue
Block a user