aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/values/styles.xml
blob: 55c4e222045118b40c9c34187cee91b2bb070146 (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
39
40
41
<?xml version="1.0" encoding="utf-8"?>
<resources>

    <style name="CardViewHeader">
        <item name="android:drawableBottom">?attr/cardViewHeaderDrawable</item>
        <item name="android:drawablePadding">16dp</item>
        <item name="android:layout_marginTop">16dp</item>
        <item name="android:paddingLeft">16dp</item>
        <item name="android:textStyle">normal</item>
        <item name="android:textColor">?attr/colorHeaderText</item>
        <item name="android:textSize">17sp</item>
    </style>

    <style name="SectionHeader">
        <item name="android:drawableBottom">?attr/sectionHeaderDrawable</item>
        <item name="android:drawablePadding">4dp</item>
        <item name="android:layout_marginTop">8dp</item>
        <item name="android:paddingLeft">8dp</item>
        <item name="android:textStyle">bold</item>
        <item name="android:textColor">?attr/colorHeaderText</item>
        <item name="android:textSize">14sp</item>
    </style>

    <style name="FabMenuStyle">
        <item name="android:background">?attr/fabLabelBackgroundDrawable</item>
        <item name="android:textColor">?attr/colorFabText</item>
    </style>

    <!-- This style is for use with our drag and drop RecyclerView since ItemDecoration did not
    move with the drag -->
    <style name="Divider">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">2dp</item>
        <item name="android:background">?android:attr/listDivider</item>
    </style>

    <style name="MaterialFlatButton" parent="@style/Widget.AppCompat.Button.Borderless">
        <item name="android:textColor">?attr/colorAccent</item>
    </style>

</resources>