aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorJeremy Klein <jlklein@google.com>2015-08-14 15:32:54 -0700
committerJeremy Klein <jlklein@google.com>2015-08-20 14:02:15 -0700
commit3b32e1b8e9ddbda0ff1cd4d389cf080ccd27e7f5 (patch)
tree9e47787ac19ca2f9e9a4c4ce6a62bb2e5bb87c4c /app/src/main/res/layout
parentc7218b987cf1cc2b803bc926b8a57750da1f2dd2 (diff)
downloadconnectbot-3b32e1b8e9ddbda0ff1cd4d389cf080ccd27e7f5.tar.gz
connectbot-3b32e1b8e9ddbda0ff1cd4d389cf080ccd27e7f5.tar.bz2
connectbot-3b32e1b8e9ddbda0ff1cd4d389cf080ccd27e7f5.zip
Add a keyboard shortucts dialog to help.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/dia_keyboard_shortcuts.xml81
1 files changed, 81 insertions, 0 deletions
diff --git a/app/src/main/res/layout/dia_keyboard_shortcuts.xml b/app/src/main/res/layout/dia_keyboard_shortcuts.xml
new file mode 100644
index 0000000..095fa2a
--- /dev/null
+++ b/app/src/main/res/layout/dia_keyboard_shortcuts.xml
@@ -0,0 +1,81 @@
+<?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.
+ -->
+
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+ <ScrollView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1">
+
+ <TableLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="24dip"
+ android:stretchColumns="1">
+ <TableRow>
+ <TextView
+ android:text="Ctrl-Shift-V"
+ android:padding="3dip"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ />
+ <TextView
+ android:text="@string/console_menu_paste"
+ android:padding="3dip"
+ android:gravity="right"
+ android:layout_weight="1"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ />
+ </TableRow>
+
+ <TableRow>
+ <TextView
+ android:text="Ctrl and +"
+ android:padding="3dip"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ />
+ <TextView
+ android:text="@string/increase_font_size"
+ android:padding="3dip"
+ android:layout_weight="1"
+ android:gravity="right"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ />
+ </TableRow>
+
+ <TableRow>
+ <TextView
+ android:text="Ctrl and -"
+ android:padding="3dip"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ />
+ <TextView
+ android:text="@string/decrease_font_size"
+ android:padding="3dip"
+ android:gravity="right"
+ android:layout_weight="1"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ />
+ </TableRow>
+
+ </TableLayout>
+
+ </ScrollView>
+</RelativeLayout> \ No newline at end of file