Skip to content

Commit

Permalink
Merge pull request signalapp#1368 from mcginty/contact-select-header-…
Browse files Browse the repository at this point in the history
…dark

fix contact selection header theming
  • Loading branch information
moxie0 committed Apr 25, 2014
2 parents 0574ec1 + 7349378 commit 02d3760
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions res/layout/push_contact_selection_list_header.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
android:layout_centerVertical="true"
android:layout_alignParentLeft="true"
android:textSize="15sp"
android:textColor="?conversation_sent_text_secondary_color"
android:textColor="?conversation_selection_header_text"
android:textStyle="bold" />

<View android:layout_width="match_parent"
android:layout_height="3dp"
android:layout_alignParentBottom="true"
android:layout_marginTop="2dp"
android:background="?conversation_received_text_secondary_color" />
android:background="?conversation_selection_header_text" />
</RelativeLayout>
1 change: 1 addition & 0 deletions res/values/attrs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
<attr name="contact_selection_push_user" format="reference|color" />
<attr name="contact_selection_lay_user" format="reference|color" />
<attr name="contact_selection_label_text" format="reference|color" />
<attr name="conversation_selection_header_text" format="reference|color" />

<attr name="navigation_drawer_background" format="reference|color"/>
<attr name="navigation_drawer_text_color" format="color"/>
Expand Down
2 changes: 2 additions & 0 deletions res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<item name="contact_selection_push_user">#ff000000</item>
<item name="contact_selection_lay_user">#a0000000</item>
<item name="contact_selection_label_text">#66000000</item>
<item name="conversation_selection_header_text">#44000000</item>

<item name="conversation_background">#ffdddddd</item>
<item name="conversation_editor_background">@drawable/textlines</item>
Expand Down Expand Up @@ -100,6 +101,7 @@
<item name="contact_selection_push_user">#ffeeeeee</item>
<item name="contact_selection_lay_user">#afeeeeee</item>
<item name="contact_selection_label_text">#66eeeeee</item>
<item name="conversation_selection_header_text">#66eeeeee</item>

<item name="conversation_item_received_background">@drawable/conversation_item_received_shape_dark</item>
<item name="conversation_item_received_triangle_background">@drawable/conversation_item_received_triangle_shape_dark</item>
Expand Down

0 comments on commit 02d3760

Please sign in to comment.