diff options
Diffstat (limited to 'OpenKeychain/src/main/res/values')
-rw-r--r-- | OpenKeychain/src/main/res/values/strings.xml | 1 | ||||
-rw-r--r-- | OpenKeychain/src/main/res/values/themes.xml | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/values/strings.xml b/OpenKeychain/src/main/res/values/strings.xml index 87de16f6a..deb2f05f3 100644 --- a/OpenKeychain/src/main/res/values/strings.xml +++ b/OpenKeychain/src/main/res/values/strings.xml @@ -98,6 +98,7 @@ <string name="menu_encrypt_to">"Encrypt to…"</string> <string name="menu_select_all">"Select all"</string> <string name="menu_add_keys">"Add keys"</string> + <string name="menu_search_cloud">"Search cloud"</string> <string name="menu_export_all_keys">"Export all keys"</string> <string name="menu_advanced">"Show advanced info"</string> diff --git a/OpenKeychain/src/main/res/values/themes.xml b/OpenKeychain/src/main/res/values/themes.xml index 2f5577f00..602c85247 100644 --- a/OpenKeychain/src/main/res/values/themes.xml +++ b/OpenKeychain/src/main/res/values/themes.xml @@ -8,5 +8,26 @@ <item name="colorPrimaryDark">@color/colorPrimary</item> <item name="android:windowNoTitle">true</item> <item name="windowActionBar">false</item> + <item name="searchViewStyle">@style/MySearchViewStyle</item> + </style> + + <!-- http://android-developers.blogspot.de/2014/10/appcompat-v21-material-design-for-pre.html --> + <style name="MySearchViewStyle" parent="Widget.AppCompat.SearchView"> + <!-- Background for the search query section (e.g. EditText) --> + <!--<item name="queryBackground">...</item>--> + <!-- Background for the actions section (e.g. voice, submit) --> + <!--<item name="submitBackground">...</item>--> + <!-- Close button icon --> + <!--<item name="closeIcon">...</item>--> + <!-- Search button icon --> + <!--<item name="searchIcon">...</item>--> + <!-- Go/commit button icon --> + <!--<item name="goIcon">...</item>--> + <!-- Voice search button icon --> + <!--<item name="voiceIcon">...</item>--> + <!-- Commit icon shown in the query suggestion row --> + <!--<item name="commitIcon">...</item>--> + <!-- Layout for query suggestion rows --> + <!--<item name="suggestionRowLayout">...</item>--> </style> </resources>
\ No newline at end of file |