aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/values
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2015-09-05 10:39:06 -0700
committerKenny Root <kenny@the-b.org>2015-09-05 10:41:23 -0700
commitac1b8a07373ab015395171abad434b8b3fb862a9 (patch)
treec45e90e099c69238d5d938a66d37441e0926ccd2 /app/src/main/res/values
parentb2748860ef6d9ea6d99ebb98def5eb23d2b29120 (diff)
downloadconnectbot-ac1b8a07373ab015395171abad434b8b3fb862a9.tar.gz
connectbot-ac1b8a07373ab015395171abad434b8b3fb862a9.tar.bz2
connectbot-ac1b8a07373ab015395171abad434b8b3fb862a9.zip
Fix host list for API 10 and before
There is some kind of problem with inheriting TextAppearance.AppCompat on API 10 and before that causes a crash. Instead only inherit it on API 11 (Honeycomb) and later. This doesn't make any visual difference with Gingerbread and before.
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r--app/src/main/res/values/styles.xml35
1 files changed, 17 insertions, 18 deletions
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 593af85..a850d38 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -1,20 +1,19 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
+<?xml version="1.0" encoding="utf-8"?><!--
/*
- * ConnectBot: simple, powerful, open-source SSH client for Android
- * Copyright 2007 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.
+ ~ 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>
@@ -31,12 +30,12 @@
<item name="android:background">@drawable/keyboard_button_selector</item>
</style>
- <style name="ListItemFirstLineText" parent="TextAppearance.AppCompat">
+ <style name="ListItemFirstLineText">
<item name="android:textColor">?android:textColorPrimary</item>
<item name="android:textSize">16sp</item>
</style>
- <style name="ListItemSecondLineText" parent="TextAppearance.AppCompat">
+ <style name="ListItemSecondLineText">
<item name="android:textColor">?android:textColorSecondary</item>
<item name="android:textSize">14sp</item>
</style>