mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 13:35:18 +00:00
42aeca26f1
Remove the redundant window background and row backgrounds to improve drawing performance.
185 lines
12 KiB
XML
185 lines
12 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources xmlns:tools="http://schemas.android.com/tools">
|
|
<style name="TextSecure.LightTheme" parent="@style/Theme.Sherlock.Light">
|
|
<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>
|
|
<item name="conversation_list_item_count_color">#66333333</item>
|
|
<item name="conversation_list_item_contact_color">#FF444444</item>
|
|
<item name="conversation_list_item_subject_color">#FF444444</item>
|
|
<item name="conversation_list_item_date_color">#ff999999</item>
|
|
<item name="conversation_list_item_divider">@drawable/conversation_list_divider_shape</item>
|
|
|
|
<item name="actionbar_icon">@drawable/actionbar_icon_holo_light</item>
|
|
<item name="lower_right_divet">@drawable/divet_lower_right_dark</item>
|
|
|
|
<item name="conversation_group_member_name">#99000000</item>
|
|
<item name="conversation_sent_text_primary_color">#ffeeeeee</item>
|
|
<item name="conversation_sent_text_secondary_color">#44000000</item>
|
|
<item name="conversation_received_text_primary_color">#ff111111</item>
|
|
<item name="conversation_received_text_secondary_color">#33000000</item>
|
|
|
|
<item name="contact_selection_push_user">#ff000000</item>
|
|
<item name="contact_selection_lay_user">#a0000000</item>
|
|
<item name="contact_selection_push_label">#ff64a926</item>
|
|
<item name="contact_selection_lay_label">#99000000</item>
|
|
|
|
<item name="conversation_background">#ffdddddd</item>
|
|
<item name="conversation_editor_background">#eeeeee</item>
|
|
<item name="conversation_editor_text_color">#ff111111</item>
|
|
<item name="conversation_send_button">@drawable/ic_send_holo_light</item>
|
|
<item name="conversation_send_secure_button">@drawable/ic_send_encrypted_holo_light</item>
|
|
<item name="conversation_delivered_indicator">@drawable/ic_sms_mms_delivered_light</item>
|
|
<item name="conversation_emoji_toggle">@drawable/ic_emoji_dark</item>
|
|
<item name="conversation_keyboard_toggle">@drawable/ic_ime_dark</item>
|
|
|
|
<item name="conversation_item_received_background">@drawable/conversation_item_received_shape</item>
|
|
<item name="conversation_item_received_triangle_background">@drawable/conversation_item_received_triangle_shape</item>
|
|
<item name="conversation_item_sent_background">@drawable/conversation_item_sent_shape</item>
|
|
<item name="conversation_item_sent_triangle_background">@drawable/conversation_item_sent_triangle_shape</item>
|
|
<item name="conversation_item_sent_push_background">@drawable/conversation_item_sent_push_shape</item>
|
|
<item name="conversation_item_sent_push_triangle_background">@drawable/conversation_item_sent_push_triangle_shape</item>
|
|
<item name="dialog_info_icon">@drawable/ic_dialog_info_light</item>
|
|
<item name="dialog_alert_icon">@drawable/ic_dialog_alert_light</item>
|
|
<item name="conversation_item_sent_pending_background">@drawable/conversation_item_sent_pending_shape</item>
|
|
<item name="conversation_item_sent_pending_triangle_background">@drawable/conversation_item_sent_pending_triangle_shape</item>
|
|
<item name="conversation_item_sent_push_pending_background">@drawable/conversation_item_sent_push_pending_shape</item>
|
|
<item name="conversation_item_sent_push_pending_triangle_background">@drawable/conversation_item_sent_push_pending_triangle_shape</item>
|
|
|
|
<item name="menu_new_conversation_icon">@drawable/ic_action_new_holo_light</item>
|
|
<item name="menu_new_group_icon">@drawable/ic_action_add_group_holo_light</item>
|
|
<item name="menu_group_icon">@drawable/ic_menu_groups_holo_light</item>
|
|
<item name="menu_search_icon">@drawable/ic_menu_search_holo_light</item>
|
|
<item name="menu_call_icon">@drawable/ic_menu_call_holo_light</item>
|
|
<item name="menu_unlock_icon">@drawable/ic_menu_unlock_holo_light</item>
|
|
<item name="menu_lock_icon">@drawable/ic_menu_lock_holo_light</item>
|
|
<item name="menu_lock_icon_small">@drawable/ic_menu_lock_small_holo_light</item>
|
|
<item name="menu_trash_icon">@drawable/ic_menu_trash_holo_light</item>
|
|
<item name="menu_selectall_icon">@drawable/ic_menu_selectall_holo_light</item>
|
|
<item name="menu_split_icon">@drawable/ic_menu_split_holo_light</item>
|
|
<item name="menu_accept_icon">@drawable/ic_menu_accept_holo_light</item>
|
|
<item name="menu_refresh_directory">@drawable/ic_menu_refresh_holo_light</item>
|
|
|
|
</style>
|
|
|
|
<style name="TextSecure.LightTheme.NavigationDrawer"
|
|
parent="@style/TextSecure.LightTheme"
|
|
tools:ignore="NewApi">
|
|
<item name="android:homeAsUpIndicator">@drawable/ic_drawer</item>
|
|
<item name="homeAsUpIndicator">@drawable/ic_drawer</item>
|
|
<item name="navigation_drawer_background">@color/abs__background_holo_light</item>
|
|
<item name="navigation_drawer_text_color">#ff333333</item>
|
|
<item name="navigation_drawer_icons">@array/navigation_drawer_icons_light</item>
|
|
<item name="navigation_drawer_shadow">@drawable/drawer_shadow_light</item>
|
|
</style>
|
|
|
|
<style name="TextSecure.DarkTheme" parent="@style/TextSecure.Dark">
|
|
<item name="conversation_list_item_background_read">@drawable/conversation_list_item_background_read_dark</item>
|
|
<item name="conversation_list_item_background_unread">@drawable/conversation_list_item_background_unread_dark</item>
|
|
<item name="conversation_list_item_background_selected">@drawable/list_selected_holo_dark</item>
|
|
<item name="conversation_list_item_count_color">#66dddddd</item>
|
|
<item name="conversation_list_item_contact_color">#ffdddddd</item>
|
|
<item name="conversation_list_item_subject_color">#ffdddddd</item>
|
|
<item name="conversation_list_item_date_color">#ffdddddd</item>
|
|
<item name="conversation_list_item_divider">@drawable/conversation_list_divider_shape_dark</item>
|
|
|
|
<item name="conversation_group_member_name">#99ffffff</item>
|
|
<item name="conversation_sent_text_primary_color">#ffeeeeee</item>
|
|
<item name="conversation_sent_text_secondary_color">#44eeeeee</item>
|
|
<item name="conversation_received_text_primary_color">#ffeeeeee</item>
|
|
<item name="conversation_received_text_secondary_color">#44eeeeee</item>
|
|
|
|
<item name="contact_selection_push_user">#ffdddddd</item>
|
|
<item name="contact_selection_lay_user">#ffcccccc</item>
|
|
<item name="contact_selection_push_label">#ff64a926</item>
|
|
<item name="contact_selection_lay_label">#11ffffff</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>
|
|
<item name="conversation_item_sent_background">@drawable/conversation_item_sent_shape_dark</item>
|
|
<item name="conversation_item_sent_triangle_background">@drawable/conversation_item_sent_triangle_shape_dark</item>
|
|
<item name="conversation_item_sent_push_background">@drawable/conversation_item_sent_push_shape_dark</item>
|
|
<item name="conversation_item_sent_push_triangle_background">@drawable/conversation_item_sent_push_triangle_shape_dark</item>
|
|
<item name="dialog_info_icon">@drawable/ic_dialog_info_dark</item>
|
|
<item name="dialog_alert_icon">@drawable/ic_dialog_alert_dark</item>
|
|
<item name="conversation_item_sent_pending_background">@drawable/conversation_item_sent_pending_shape_dark</item>
|
|
<item name="conversation_item_sent_pending_triangle_background">@drawable/conversation_item_sent_pending_triangle_shape_dark</item>
|
|
<item name="conversation_item_sent_push_pending_background">@drawable/conversation_item_sent_push_pending_shape_dark</item>
|
|
<item name="conversation_item_sent_push_pending_triangle_background">@drawable/conversation_item_sent_push_pending_triangle_shape_dark</item>
|
|
|
|
<item name="actionbar_icon">@drawable/actionbar_icon_holo_dark</item>
|
|
<item name="lower_right_divet">@drawable/divet_lower_right_light</item>
|
|
|
|
<item name="conversation_background">@color/black</item>
|
|
<item name="conversation_editor_background">#ff222222</item>
|
|
<item name="conversation_editor_text_color">#ffeeeeee</item>
|
|
<item name="conversation_send_button">@drawable/ic_send_holo_dark</item>
|
|
<item name="conversation_send_secure_button">@drawable/ic_send_holo_dark_encrypted</item>
|
|
<item name="conversation_delivered_indicator">@drawable/ic_sms_mms_delivered_dark</item>
|
|
<item name="conversation_emoji_toggle">@drawable/ic_emoji_light</item>
|
|
<item name="conversation_keyboard_toggle">@drawable/ic_ime_light</item>
|
|
|
|
<item name="menu_new_conversation_icon">@drawable/ic_action_new_holo_dark</item>
|
|
<item name="menu_new_group_icon">@drawable/ic_action_add_group_holo_dark</item>
|
|
<item name="menu_group_icon">@drawable/ic_menu_groups_holo_dark</item>
|
|
<item name="menu_search_icon">@drawable/ic_menu_search_holo_dark</item>
|
|
<item name="menu_call_icon">@drawable/ic_menu_call_holo_dark</item>
|
|
<item name="menu_unlock_icon">@drawable/ic_menu_unlock_holo_dark</item>
|
|
<item name="menu_lock_icon">@drawable/ic_menu_lock_holo_dark</item>
|
|
<item name="menu_lock_icon_small">@drawable/ic_menu_lock_small_holo_dark</item>
|
|
<item name="menu_trash_icon">@drawable/ic_menu_trash_holo_dark</item>
|
|
<item name="menu_selectall_icon">@drawable/ic_menu_selectall_holo_dark</item>
|
|
<item name="menu_split_icon">@drawable/ic_menu_split_holo_dark</item>
|
|
<item name="menu_accept_icon">@drawable/ic_menu_accept_holo_dark</item>
|
|
<item name="menu_refresh_directory">@drawable/ic_menu_refresh_holo_dark</item>
|
|
</style>
|
|
|
|
<style name="TextSecure.DarkTheme.NavigationDrawer"
|
|
parent="@style/TextSecure.DarkTheme"
|
|
tools:ignore="NewApi">
|
|
<item name="android:homeAsUpIndicator">@drawable/ic_drawer</item>
|
|
<item name="homeAsUpIndicator">@drawable/ic_drawer</item>
|
|
<item name="navigation_drawer_background">#ff333333</item>
|
|
<item name="navigation_drawer_text_color">#ffdddddd</item>
|
|
<item name="navigation_drawer_icons">@array/navigation_drawer_icons_dark</item>
|
|
<item name="navigation_drawer_shadow">@drawable/drawer_shadow_dark</item>
|
|
</style>
|
|
|
|
<style name="TextSecure.LightTheme.ConversationActivity"
|
|
parent="@style/TextSecure.LightTheme">
|
|
<item name="android:windowBackground">@null</item>
|
|
</style>
|
|
|
|
<style name="TextSecure.DarkTheme.ConversationActivity"
|
|
parent="@style/TextSecure.DarkTheme">
|
|
<item name="android:windowBackground">@null</item>
|
|
</style>
|
|
|
|
<style name="TextSecure.Light.Dialog"
|
|
parent="@android:style/Theme.Dialog"
|
|
tools:ignore="NewApi">
|
|
<item name="android:windowFrame">@null</item>
|
|
<item name="android:windowTitleStyle">@style/TextSecureDialogWindowTitle</item>
|
|
<item name="android:windowBackground">@drawable/dialog_full_holo_light</item>
|
|
<item name="android:windowIsFloating">true</item>
|
|
<item name="android:windowContentOverlay">@null</item>
|
|
<item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item>
|
|
<item name="android:windowActionBar">false</item>
|
|
<item name="android:windowActionModeOverlay">true</item>
|
|
|
|
<item name="android:colorBackgroundCacheHint">@null</item>
|
|
|
|
<item name="android:buttonBarStyle">@style/TextSecureDialogButtonBar</item>
|
|
<item name="android:borderlessButtonStyle">@style/TextSecureBorderlessButtonSmall</item>
|
|
<item name="android:textColor">@color/black</item>
|
|
<item name="android:textSize">16sp</item>
|
|
<item name="android:textStyle">normal</item>
|
|
|
|
<item name="android:listPreferredItemPaddingLeft">16dip</item>
|
|
<item name="android:listPreferredItemPaddingRight">16dip</item>
|
|
<item name="android:listPreferredItemPaddingStart">16dip</item>
|
|
<item name="android:listPreferredItemPaddingEnd">16dip</item>
|
|
</style>
|
|
|
|
</resources>
|