aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/values/styles.xml
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2015-08-23 22:07:48 -0700
committerKenny Root <kenny@the-b.org>2015-08-23 22:18:31 -0700
commit7e2c347ad188740612478df51e12e7b7c87980a6 (patch)
tree847273359f7830b332fdefef81ded72aeab642a9 /app/src/main/res/values/styles.xml
parent2656c48899c6c2abc9ed51f9694968351673a040 (diff)
downloadconnectbot-7e2c347ad188740612478df51e12e7b7c87980a6.tar.gz
connectbot-7e2c347ad188740612478df51e12e7b7c87980a6.tar.bz2
connectbot-7e2c347ad188740612478df51e12e7b7c87980a6.zip
Move keyboard buttons to styles.xml
This will make it easier to merge to hscroll change from @alescdb
Diffstat (limited to 'app/src/main/res/values/styles.xml')
-rw-r--r--app/src/main/res/values/styles.xml41
1 files changed, 41 insertions, 0 deletions
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
new file mode 100644
index 0000000..3ad5fc0
--- /dev/null
+++ b/app/src/main/res/values/styles.xml
@@ -0,0 +1,41 @@
+<?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.
+ */
+-->
+<resources>
+
+ <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">#55f0f0f0</item>
+ </style>
+
+
+ <style name="KeyboardSeparator">
+ <item name="android:layout_width">1dip</item>
+ <item name="android:layout_height">match_parent</item>
+ <item name="android:background">#90000000</item>
+ </style>
+</resources>