aboutsummaryrefslogtreecommitdiffstats
path: root/res/values/styles.xml
blob: 81b80a6aa3e7a6ef16df7a89a30d71dfd542fb9c (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2012-2013 The CyanogenMod Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:android="http://schemas.android.com/apk/res/android">

    <!-- Base themes -->
    <style name="FileManager.Theme.Holo.Light" parent="@android:style/Theme.Holo.Light">
        <item name="android:windowBackground">@color/default_background</item>
        <item name="android:actionBarStyle">@style/FileManager.Widget.ActionBar.White</item>
    </style>
    <style name="FileManager.Theme.Holo" parent="@android:style/Theme.Holo"></style>

    <!-- A theme with overlay -->
    <style name="FileManager.Theme.Holo.Light.Overlay" parent="@style/FileManager.Theme.Holo.Light">
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowBackground">@color/black_transparent</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowIsFloating">true</item>
        <item name="android:backgroundDimEnabled">false</item>
    </style>
    <style name="FileManager.Theme.Holo.Overlay" parent="@style/FileManager.Theme.Holo">
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowBackground">@color/black_transparent</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowIsFloating">true</item>
        <item name="android:backgroundDimEnabled">false</item>
    </style>

    <!-- Action bar -->
    <style name="FileManager.Widget.ActionBar.White" parent="@android:style/Widget.Holo.Light.ActionBar">
        <item name="android:titleTextStyle">@style/primary_text_appearance</item>
        <item name="android:background">@color/default_background</item>
        <item name="android:backgroundStacked">@color/default_background</item>
        <item name="android:backgroundSplit">@color/default_background</item>
    </style>

    <!-- Title -->
    <style name="title_text_appearance">
        <item name="android:textSize">@dimen/title_text_size</item>
        <item name="android:textColor">@color/black_transparent</item>
        <item name="android:textStyle">bold</item>
    </style>

    <!-- The text appearance for principal information (text that need to be highlighted) -->
    <style name="primary_text_appearance">
        <item name="android:textSize">@dimen/primary_text_size</item>
        <item name="android:textColor">@color/black_transparent</item>
        <item name="android:textStyle">bold</item>
    </style>

    <!-- The text appearance for principal information (important but not highlight) -->
    <style name="primary_text_appearance_nohighlight" parent="@style/primary_text_appearance">
        <item name="android:textStyle">normal</item>
    </style>

    <!-- The text appearance for secondary information (text with a lower importance) -->
    <style name="secondary_text_appearance">
        <item name="android:textSize">@dimen/secondary_text_size</item>
        <item name="android:textColor">@color/black_transparent</item>
        <item name="android:textStyle">normal</item>
    </style>

    <!-- The text appearance for hexeditor -->
    <style name="hexeditor_text_appearance">
        <item name="android:textSize">@dimen/hexeditor_text_size</item>
        <item name="android:textColor">@color/black_transparent</item>
        <item name="android:textStyle">normal</item>
    </style>

    <!-- The text appearance for a console widget -->
    <style name="console_text_appearance">
        <item name="android:textSize">@dimen/console_text_size</item>
        <item name="android:textColor">@color/console_fg</item>
        <item name="android:textStyle">normal</item>
    </style>

    <!-- The text appearance for dialog titles -->
    <style name="dialog_title_text_appearance">
        <item name="android:textSize">@dimen/dialog_title_text_size</item>
        <item name="android:textColor">@android:color/holo_blue_dark</item>
        <item name="android:textStyle">bold</item>
    </style>

    <!-- Breadcrumb element -->
    <style name="breadcrumb_elemement">
        <item name="android:gravity">center|center_vertical</item>
    </style>

    <!-- Breadcrumb item -->
    <style name="breadcrumb_item" parent="@style/breadcrumb_elemement">
        <item name="android:textAppearance">@style/primary_text_appearance</item>
        <item name="android:singleLine">true</item>
        <item name="android:paddingLeft">@dimen/breadcrumb_item_margin_space</item>
        <item name="android:paddingRight">@dimen/breadcrumb_item_margin_space</item>
        <item name="android:minWidth">@dimen/breadcrumb_item_min_size</item>
    </style>

    <!-- Breadcrumb ActionBar buttom -->
    <style name="breadcrumb_actionbar_buttom">
        <item name="android:paddingLeft">@dimen/extra_margin</item>
        <item name="android:paddingRight">@dimen/default_margin</item>
    </style>

    <!-- Navigation grid layout -->
    <style name="navigation_grid">
        <item name="android:numColumns">@integer/default_grid_columns</item>
        <item name="android:stretchMode">columnWidth</item>
        <item name="android:horizontalSpacing">@dimen/default_horizontal_grid_spacing</item>
        <item name="android:verticalSpacing">@dimen/default_vertical_grid_spacing</item>
    </style>

    <!-- Horizontal divider -->
    <style name="horizontal_divider">
        <item name="android:layout_marginTop">@dimen/default_margin</item>
        <item name="android:layout_marginBottom">@dimen/default_margin</item>
        <item name="android:background">@color/divider_color_light</item>
    </style>

    <!-- Vertical Divider -->
    <style name="vertical_divider">
        <item name="android:layout_marginLeft">@dimen/default_margin</item>
        <item name="android:layout_marginRight">@dimen/default_margin</item>
        <item name="android:background">@color/divider_color</item>
    </style>

    <!-- Navigation drawer -->
    <style name="drawer_header">
        <item name="android:padding">@dimen/default_margin</item>
        <item name="android:textAllCaps">true</item>
        <item name="android:textSize">@dimen/primary_text_size</item>
        <item name="android:textColor">@color/black_transparent</item>
        <item name="android:textStyle">bold</item>
    </style>

</resources>