1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 11:42:16 -05:00

Use theme-specific image for 'add contact' button

This commit is contained in:
cketti 2013-03-08 18:00:41 +01:00
parent 0c16b8cec8
commit e118917090
11 changed files with 6 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 541 B

View File

Before

Width:  |  Height:  |  Size: 535 B

After

Width:  |  Height:  |  Size: 535 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -55,7 +55,7 @@
<ImageButton
android:id="@+id/add_to"
android:contentDescription="@string/message_compose_description_add_to"
android:src="@drawable/ic_button_add_contact"
android:src="?attr/messageComposeAddContactImage"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:padding="8dip"
@ -87,7 +87,7 @@
<ImageButton
android:id="@+id/add_cc"
android:contentDescription="@string/message_compose_description_add_cc"
android:src="@drawable/ic_button_add_contact"
android:src="?attr/messageComposeAddContactImage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="8dip"
@ -123,7 +123,7 @@
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:padding="8dip"
android:src="@drawable/ic_button_add_contact"/>
android:src="?attr/messageComposeAddContactImage"/>
</LinearLayout>

View File

@ -46,6 +46,7 @@
<attr name="messageListDividerColor" format="reference|color"/>
<attr name="messageViewHeaderBackgroundColor" format="reference|color"/>
<attr name="messageViewAttachmentBackground" format="reference"/>
<attr name="messageComposeAddContactImage" format="reference"/>
<attr name="composerBackgroundColor" format="color"/>
</declare-styleable>

View File

@ -45,6 +45,7 @@
<item name="messageListDividerColor">#ffcccccc</item>
<item name="messageViewHeaderBackgroundColor">#ffffffff</item>
<item name="messageViewAttachmentBackground">@drawable/attachment_text_box_light</item>
<item name="messageComposeAddContactImage">@drawable/ic_button_add_contact_light</item>
</style>
<style name="Theme.K9.Dark.Base" parent="Theme.Sherlock">
@ -91,6 +92,7 @@
<item name="messageListDividerColor">#ff333333</item>
<item name="messageViewHeaderBackgroundColor">#000000</item>
<item name="messageViewAttachmentBackground">@drawable/attachment_text_box_dark</item>
<item name="messageComposeAddContactImage">@drawable/ic_button_add_contact_dark</item>
</style>
<style name="Theme.K9.Light" parent="Theme.K9.Light.Base">