Attachment selector style adjastments.

pull/305/head
Anton Chekulaev 4 years ago
parent 00e60d86ae
commit ef8ddcf552

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:startColor="@color/transparent_black_30"
android:endColor="@color/transparent_black"
android:angle="90"/>
</shape>

@ -8,8 +8,8 @@
<View
android:layout_width="match_parent"
android:layout_height="4dp"
android:background="@drawable/attachment_selector_shadow"/>
android:layout_height="1dp"
android:background="?dividerHorizontal"/>
<LinearLayout
android:id="@+id/contentView"
@ -245,7 +245,7 @@
android:scaleType="center"
android:contentDescription="@string/attachment_type_selector__drawer_description"
android:tint="@android:color/white"
app:circleColor="@color/gray50"/>
app:circleColor="?attachment_type_selector_hide_button_background"/>
<TextView
android:layout_marginTop="10dp"

@ -13,6 +13,7 @@
<item name="android:statusBarColor">@android:color/black</item>
<item name="attachment_type_selector_hide_button_background">@color/gray27</item>
<item name="attachment_document_icon_small">@drawable/ic_document_small_light</item>
<item name="attachment_document_icon_large">@drawable/ic_document_large_light</item>

@ -3,6 +3,7 @@
<attr name="theme_type" format="string"/>
<attr name="attachment_type_selector_background" format="color"/>
<attr name="attachment_type_selector_hide_button_background" format="color"/>
<attr name="attachment_document_icon_small" format="reference" />
<attr name="attachment_document_icon_large" format="reference" />
<attr name="attachment_document_extension_text_color" format="color" />

@ -57,6 +57,7 @@
<item name="searchViewStyle">@style/TextSecure.BaseDarkTheme.SearchView</item>
<item name="attachment_type_selector_background">?android:windowBackground</item>
<item name="attachment_type_selector_hide_button_background">@color/gray50</item>
<item name="attachment_document_icon_small">@drawable/ic_document_small_dark</item>
<item name="attachment_document_icon_large">@drawable/ic_document_large_dark</item>
<item name="attachment_document_extension_text_color">#222</item>

Loading…
Cancel
Save