diff options
author | Sam Whited <sam@samwhited.com> | 2015-01-21 23:00:35 -0500 |
---|---|---|
committer | Sam Whited <sam@samwhited.com> | 2015-01-29 15:28:26 -0500 |
commit | 48604a66201e0c0f403ba1576e35833c7407a7d0 (patch) | |
tree | 2e36b529262f3d18565c7835b4d86b477d748a0d /src/main/res/values | |
parent | c237a550932b7e68f2f754b8fe33248ae9f0ee5c (diff) |
Use Material Design Icons on API 21+
Diffstat (limited to '')
-rw-r--r-- | src/main/res/values-v21/themes.xml | 21 | ||||
-rw-r--r-- | src/main/res/values/attrs.xml | 20 | ||||
-rw-r--r-- | src/main/res/values/strings.xml | 1 | ||||
-rw-r--r-- | src/main/res/values/themes.xml | 21 |
4 files changed, 63 insertions, 0 deletions
diff --git a/src/main/res/values-v21/themes.xml b/src/main/res/values-v21/themes.xml index fddab466..75539533 100644 --- a/src/main/res/values-v21/themes.xml +++ b/src/main/res/values-v21/themes.xml @@ -9,6 +9,27 @@ <item name="TextSizeInfo">12sp</item> <item name="TextSizeBody">14sp</item> <item name="TextSizeHeadline">20sp</item> + + <item name="attr/icon_add_group">@drawable/ic_group_add_white_48dp</item> + <item name="attr/icon_add_person">@drawable/ic_person_add_white_48dp</item> + <item name="attr/icon_cancel">@drawable/ic_cancel_white_24dp</item> + <item name="attr/icon_chat">@drawable/ic_chat_white_48dp</item> + <item name="attr/icon_copy">@drawable/ic_content_copy_grey600_36dp</item> + <item name="attr/icon_discard">@drawable/ic_delete_white_48dp</item> + <item name="attr/icon_download">@drawable/ic_file_download_white_24dp</item> + <item name="attr/icon_edit">@drawable/ic_edit_white_48dp</item> + <item name="attr/icon_edit_dark">@drawable/ic_edit_grey600_36dp</item> + <item name="attr/icon_group">@drawable/ic_group_white_48dp</item> + <item name="attr/icon_new">@drawable/ic_add_white_48dp</item> + <item name="attr/icon_new_attachment">@drawable/ic_attach_file_white_48dp</item> + <item name="attr/icon_not_secure">@drawable/ic_lock_open_white_48dp</item> + <item name="attr/icon_refresh">@drawable/ic_refresh_white_48dp</item> + <item name="attr/icon_remove">@drawable/ic_remove_grey600_36dp</item> + <item name="attr/icon_search">@drawable/ic_search_white_48dp</item> + <item name="attr/icon_secure">@drawable/ic_lock_outline_white_48dp</item> + <item name="attr/icon_settings">@drawable/ic_settings_grey600_36dp</item> + <item name="attr/icon_import_export">@drawable/ic_import_export_white_48dp</item> + </style> </resources>
\ No newline at end of file diff --git a/src/main/res/values/attrs.xml b/src/main/res/values/attrs.xml index 2354a5e8..e314f752 100644 --- a/src/main/res/values/attrs.xml +++ b/src/main/res/values/attrs.xml @@ -5,4 +5,24 @@ <attr name="TextSizeBody" format="dimension" /> <attr name="TextSizeHeadline" format="dimension" /> + <attr name="icon_add_group" format="reference"/> + <attr name="icon_add_person" format="reference"/> + <attr name="icon_cancel" format="reference"/> + <attr name="icon_chat" format="reference"/> + <attr name="icon_copy" format="reference"/> + <attr name="icon_discard" format="reference"/> + <attr name="icon_download" format="reference"/> + <attr name="icon_edit" format="reference"/> + <attr name="icon_edit_dark" format="reference"/> + <attr name="icon_group" format="reference"/> + <attr name="icon_new" format="reference"/> + <attr name="icon_new_attachment" format="reference"/> + <attr name="icon_not_secure" format="reference"/> + <attr name="icon_refresh" format="reference"/> + <attr name="icon_remove" format="reference"/> + <attr name="icon_search" format="reference"/> + <attr name="icon_secure" format="reference"/> + <attr name="icon_settings" format="reference"/> + <attr name="icon_import_export" format="reference"/> + </resources>
\ No newline at end of file diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 3d3d69a3..ae8dcd67 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -296,6 +296,7 @@ \n\nhttps://github.com/jitsi/otr4j\n(LGPL-3.0) \n\nhttps://developer.android.com/tools/support-library\n(Apache License, Version 2.0) \n\nhttps://github.com/zxing/zxing\n(Apache License, Version 2.0) + \n\nhttps://github.com/google/material-design-icons\n(CC BY 4.0) </string> <string name="title_pref_quiet_hours">Quiet Hours</string> <string name="title_pref_quiet_hours_start_time">Start time</string> diff --git a/src/main/res/values/themes.xml b/src/main/res/values/themes.xml index fa7973d2..80f2bfe6 100644 --- a/src/main/res/values/themes.xml +++ b/src/main/res/values/themes.xml @@ -8,6 +8,27 @@ <item name="TextSizeInfo">12sp</item> <item name="TextSizeBody">14sp</item> <item name="TextSizeHeadline">20sp</item> + + <item name="attr/icon_add_group">@drawable/ic_action_add_group</item> + <item name="attr/icon_add_person">@drawable/ic_action_add_person</item> + <item name="attr/icon_cancel">@drawable/ic_action_cancel</item> + <item name="attr/icon_chat">@drawable/ic_action_chat</item> + <item name="attr/icon_copy">@drawable/ic_action_copy</item> + <item name="attr/icon_discard">@drawable/ic_action_discard</item> + <item name="attr/icon_download">@drawable/ic_action_download</item> + <item name="attr/icon_edit">@drawable/ic_action_edit</item> + <item name="attr/icon_edit_dark">@drawable/ic_action_edit_dark</item> + + <item name="attr/icon_group">@drawable/ic_action_group</item> + <item name="attr/icon_new">@drawable/ic_action_new</item> + <item name="attr/icon_new_attachment">@drawable/ic_action_new_attachment</item> + <item name="attr/icon_not_secure">@drawable/ic_action_not_secure</item> + <item name="attr/icon_refresh">@drawable/ic_action_refresh</item> + <item name="attr/icon_remove">@drawable/ic_action_remove</item> + <item name="attr/icon_search">@drawable/ic_action_search</item> + <item name="attr/icon_secure">@drawable/ic_action_secure</item> + <item name="attr/icon_settings">@drawable/ic_action_settings</item> + <item name="attr/icon_import_export">@drawable/ic_stat_communication_import_export</item> </style> <style name="ConversationsTheme.LargerText" parent="ConversationsTheme"> |