aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2015-07-15 10:25:50 -0700
committerKenny Root <kenny@the-b.org>2015-07-15 10:25:50 -0700
commit3627d32b8fb41647a9bce7edbd2579a3e1ad1448 (patch)
tree1c772cb5451b498168c7f17d74c949d9c70d6c98 /res
parentd8d9a5f3d5df044c6c7e5c87d6805f702eed1a36 (diff)
parent802476a777f9f646f40d6128d3476d32ffc4a901 (diff)
downloadconnectbot-3627d32b8fb41647a9bce7edbd2579a3e1ad1448.tar.gz
connectbot-3627d32b8fb41647a9bce7edbd2579a3e1ad1448.tar.bz2
connectbot-3627d32b8fb41647a9bce7edbd2579a3e1ad1448.zip
Merge pull request #95 from jklein24/master
Add a tab button to the emulated keys above the soft keyboard.
Diffstat (limited to 'res')
-rw-r--r--res/drawable/button_tab.pngbin0 -> 3535 bytes
-rw-r--r--res/layout/act_console.xml11
-rw-r--r--res/values/strings.xml4
3 files changed, 15 insertions, 0 deletions
diff --git a/res/drawable/button_tab.png b/res/drawable/button_tab.png
new file mode 100644
index 0000000..4443118
--- /dev/null
+++ b/res/drawable/button_tab.png
Binary files differ
diff --git a/res/layout/act_console.xml b/res/layout/act_console.xml
index f7db787..46dedfb 100644
--- a/res/layout/act_console.xml
+++ b/res/layout/act_console.xml
@@ -158,6 +158,17 @@
android:src="@+drawable/button_esc"
android:contentDescription="@string/image_description_send_escape_character"
/>
+
+ <ImageView
+ android:id="@+id/button_tab"
+ android:paddingRight="15dip"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_toRightOf="@+id/button_esc"
+ android:layout_alignParentBottom="true"
+ android:src="@+drawable/button_tab"
+ android:contentDescription="@string/image_description_send_tab_character"
+ />
</RelativeLayout>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index d8e3bb5..cbc275c 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -505,6 +505,10 @@
<!-- Describes the icon of the "send escape character" button in the terminal view for
accessibility purposes. -->
<string name="image_description_send_escape_character">Send escape character.</string>
+
+ <!-- Describes the icon of the "send tab character" button in the terminal view for
+ accessibility purposes. -->
+ <string name="image_description_send_tab_character">Send TAB character.</string>
<!-- Describes the icon of the "show keyboard" button in the terminal view for accessibility
purposes. -->