aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/values/styles.xml
blob: 80e0a81b74b25f88ff2c3762f0dc6e5e514dbb72 (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
<?xml version="1.0" encoding="utf-8"?><!--
/*
 ~ ConnectBot: simple, powerful, open-source SSH client for Android
 ~ Copyright 2015 Kenny Root, Jeffrey Sharkey
 ~
 ~ 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:tools="http://schemas.android.com/tools">

	<style name="AppTheme" parent="Theme.AppCompat">
		<item name="colorPrimary">@color/primary</item>
		<item name="colorPrimaryDark">@color/dark_primary</item>
		<item name="colorAccent">@color/accent</item>
	</style>

	<style name="AlertDialogTheme" parent="Theme.AppCompat.Dialog.Alert">
		<item name="colorAccent">@color/accent</item>
	</style>

	<style name="KeyboardKey">
		<item name="android:layout_width">45dip</item>
		<item name="android:layout_height">30dip</item>
		<item name="android:layout_margin">0dp</item>
		<item name="android:padding">0dp</item>
		<item name="android:textSize">10sp</item>
	</style>

	<style name="KeyboardButton" parent="KeyboardKey">
		<item name="android:background">@drawable/keyboard_button_selector</item>
	</style>

	<style name="ListItemIcon">
		<item name="android:layout_marginLeft">@dimen/list_item_left_right_padding</item>
		<item name="android:layout_marginStart" tools:ignore="NewApi">@dimen/list_item_left_right_padding</item>
		<item name="android:layout_centerVertical">true</item>
		<item name="android:layout_alignParentLeft">true</item>
		<item name="android:layout_alignParentStart" tools:ignore="NewApi">true</item>
	</style>

	<style name="ListItemFirstLineText">
		<item name="android:layout_alignParentTop">true</item>
		<item name="android:textColor">?android:textColorPrimary</item>
		<item name="android:textSize">@dimen/list_item_first_line_text_size</item>
		<item name="android:paddingTop">@dimen/list_item_top_bottom_padding</item>
		<item name="android:layout_alignParentLeft">true</item>
	</style>

	<style name="ListItemFirstLineText.WithIcon" parent="ListItemFirstLineText">
		<item name="android:layout_marginLeft">@dimen/list_item_text_margin_left</item>
		<item name="android:layout_marginStart" tools:ignore="NewApi">@dimen/list_item_text_margin_left</item>
	</style>

	<style name="ListItemSecondLineText">
		<item name="android:layout_alignParentBottom">true</item>
		<item name="android:textColor">?android:textColorSecondary</item>
		<item name="android:textSize">@dimen/list_item_second_line_text_size</item>
		<item name="android:paddingBottom">@dimen/list_item_top_bottom_padding</item>
		<item name="android:layout_alignParentLeft">true</item>
	</style>

	<style name="ListItemSecondLineText.WithIcon" parent="ListItemSecondLineText">
		<item name="android:layout_marginLeft">@dimen/list_item_text_margin_left</item>
		<item name="android:layout_marginStart" tools:ignore="NewApi">@dimen/list_item_text_margin_left</item>
	</style>

	<style name="ListItemFirstLineText.Red" parent="ListItemFirstLineText">
		<item name="android:textColor">@color/red</item>
	</style>

	<style name="ListItemSecondLineText.Red" parent="ListItemSecondLineText">
		<item name="android:textColor">@color/red</item>
	</style>

	<style name="ListItemFirstLineText.Green" parent="ListItemFirstLineText">
		<item name="android:textColor">@color/green</item>
	</style>

	<style name="ListItemSecondLineText.Green" parent="ListItemSecondLineText">
		<item name="android:textColor">@color/green</item>
	</style>

	<style name="ListItemFirstLineText.Blue" parent="ListItemFirstLineText">
		<item name="android:textColor">@color/blue</item>
	</style>

	<style name="ListItemSecondLineText.Blue" parent="ListItemSecondLineText">
		<item name="android:textColor">@color/blue</item>
	</style>

	<!-- This value is overridden for v11 and higher, but left empty here. -->
	<style name="SelectableItem"></style>

	<style name="SwitchCompatTheme" parent="Theme.AppCompat">
		<item name="colorAccent">@color/accent</item>
	</style>



</resources>