aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/values/themes.xml
blob: 5b9e43c3a1c73a18a3debbbe1cae22afe79e1578 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="utf-8"?>
<resources>

    <style name="KeychainTheme" parent="KeychainTheme.Base" />

    <style name="KeychainTheme.Base" parent="HoloKeychainTheme">
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/colorPrimary</item>
        <item name="android:windowNoTitle">true</item>
        <item name="windowActionBar">false</item>
        <item name="searchViewStyle">@style/MySearchViewStyle</item>
        <item name="colorAccent">@color/accent</item>

        <!-- Navigation Drawer library -->
        <item name="drawerType">@integer/DRAWERTYPE_IMAGE</item>
        <item name="multipaneSupport">true</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">@drawable/ic_close_white_24dp</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>