aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/values-v11
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-v11
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-v11')
-rw-r--r--app/src/main/res/values-v11/styles.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/app/src/main/res/values-v11/styles.xml b/app/src/main/res/values-v11/styles.xml
new file mode 100644
index 0000000..9f8d6a0
--- /dev/null
+++ b/app/src/main/res/values-v11/styles.xml
@@ -0,0 +1,22 @@
+<?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>
+ <style name="ListItemFirstLineText" parent="TextAppearance.AppCompat" />
+ <style name="ListItemSecondLineText" parent="TextAppearance.AppCompat" />
+</resources>