aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/drawable
diff options
context:
space:
mode:
authorAlexandre Del Bigio <alescdb@users.noreply.github.com>2015-09-02 14:41:40 +0200
committerAlexandre Del Bigio <alescdb@users.noreply.github.com>2015-09-02 14:41:40 +0200
commitbe29a2626b892bac82f1309a92111f78a790896e (patch)
tree66f171347e73d08e01ffa67bcf24d36f58a0e0d7 /app/src/main/res/drawable
parentf4ca0e0603b50c7b1de92dc9a9c5b5020bfc25dd (diff)
downloadconnectbot-be29a2626b892bac82f1309a92111f78a790896e.tar.gz
connectbot-be29a2626b892bac82f1309a92111f78a790896e.tar.bz2
connectbot-be29a2626b892bac82f1309a92111f78a790896e.zip
Keyboard separator as layer-list (instead of views)
Diffstat (limited to 'app/src/main/res/drawable')
-rw-r--r--app/src/main/res/drawable/button_keyboard.pngbin1701 -> 0 bytes
-rw-r--r--app/src/main/res/drawable/keyboard_button_border.xml27
-rw-r--r--app/src/main/res/drawable/keyboard_button_selector.xml (renamed from app/src/main/res/drawable/selector_keyboard.xml)2
3 files changed, 28 insertions, 1 deletions
diff --git a/app/src/main/res/drawable/button_keyboard.png b/app/src/main/res/drawable/button_keyboard.png
deleted file mode 100644
index f3094c1..0000000
--- a/app/src/main/res/drawable/button_keyboard.png
+++ /dev/null
Binary files differ
diff --git a/app/src/main/res/drawable/keyboard_button_border.xml b/app/src/main/res/drawable/keyboard_button_border.xml
new file mode 100644
index 0000000..031fe6c
--- /dev/null
+++ b/app/src/main/res/drawable/keyboard_button_border.xml
@@ -0,0 +1,27 @@
+<?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.
+ -->
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+ <item>
+ <shape android:shape="rectangle">
+ <stroke
+ android:width="1dp"
+ android:color="@color/key_separator" />
+ <solid android:color="@color/key_background_normal" />
+ </shape>
+ </item>
+</layer-list> \ No newline at end of file
diff --git a/app/src/main/res/drawable/selector_keyboard.xml b/app/src/main/res/drawable/keyboard_button_selector.xml
index a7c822d..09edcf6 100644
--- a/app/src/main/res/drawable/selector_keyboard.xml
+++ b/app/src/main/res/drawable/keyboard_button_selector.xml
@@ -22,5 +22,5 @@
android:state_selected="true"/>
<item android:drawable="@color/key_background_pressed"
android:state_pressed="true"/>
- <item android:drawable="@color/key_background_normal"/>
+ <item android:drawable="@drawable/keyboard_button_border"/>
</selector>