silly actionbar shadow issue

// FREEBIE
This commit is contained in:
Jake McGinty 2014-11-17 11:28:57 -08:00
parent bd3d9ac533
commit 020920d988
6 changed files with 32 additions and 3 deletions

View 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>

View 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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>