aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/act_console.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/act_console.xml')
-rw-r--r--app/src/main/res/layout/act_console.xml162
1 files changed, 43 insertions, 119 deletions
diff --git a/app/src/main/res/layout/act_console.xml b/app/src/main/res/layout/act_console.xml
index 8787265..0edae8c 100644
--- a/app/src/main/res/layout/act_console.xml
+++ b/app/src/main/res/layout/act_console.xml
@@ -129,138 +129,62 @@
android:padding="0dip"
android:visibility="gone">
- <Button
- android:id="@+id/button_ctrl"
- android:layout_width="0px"
- android:layout_height="30dip"
- android:layout_margin="0dp"
- android:layout_weight="1"
- android:background="#55f0f0f0"
- android:contentDescription="@string/image_description_toggle_control_character"
- android:padding="0dp"
- android:text="@string/button_key_ctrl"
- android:textSize="10dip"
- />
+ <Button
+ android:id="@+id/button_ctrl"
+ style="@style/KeyboardButton"
+ android:contentDescription="@string/image_description_toggle_control_character"
+ android:text="@string/button_key_ctrl"/>
- <View
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:background="#90000000"
- />
+ <View style="@style/KeyboardSeparator"/>
- <Button
- android:id="@+id/button_esc"
- android:layout_width="0px"
- android:layout_height="30dip"
- android:layout_margin="0dp"
- android:layout_weight="1"
- android:background="#55f0f0f0"
- android:contentDescription="@string/image_description_send_escape_character"
- android:padding="0dp"
- android:text="@string/button_key_esc"
- android:textSize="10dip"
- />
+ <Button
+ android:id="@+id/button_esc"
+ style="@style/KeyboardButton"
+ android:contentDescription="@string/image_description_send_escape_character"
+ android:text="@string/button_key_esc"/>
- <View
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:background="#90000000"
- />
+ <View style="@style/KeyboardSeparator"/>
- <Button
- android:id="@+id/button_tab"
- android:layout_width="0px"
- android:layout_height="30dip"
- android:layout_margin="0dp"
- android:layout_weight="1"
- android:background="#55f0f0f0"
- android:contentDescription="@string/image_description_send_tab_character"
- android:padding="0dp"
- android:text="@string/button_key_tab"
- android:textSize="10dip"
- />
+ <Button
+ android:id="@+id/button_tab"
+ style="@style/KeyboardButton"
+ android:contentDescription="@string/image_description_send_tab_character"
+ android:text="@string/button_key_tab"/>
- <View
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:background="#90000000"
- />
+ <View style="@style/KeyboardSeparator"/>
- <Button
- android:id="@+id/button_up"
- android:layout_width="0px"
- android:layout_height="30dip"
- android:layout_margin="0dp"
- android:layout_weight="1"
- android:background="#55f0f0f0"
- android:contentDescription="@string/image_description_up"
- android:padding="0dp"
- android:text="@string/button_key_up"
- android:textSize="10dip"
- />
+ <Button
+ android:id="@+id/button_up"
+ style="@style/KeyboardButton"
+ android:contentDescription="@string/image_description_up"
+ android:text="@string/button_key_up"/>
- <View
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:background="#90000000"
- />
+ <View style="@style/KeyboardSeparator"/>
- <Button
- android:id="@+id/button_down"
- android:layout_width="0px"
- android:layout_height="30dip"
- android:layout_margin="0dp"
- android:layout_weight="1"
- android:background="#55f0f0f0"
- android:contentDescription="@string/image_description_down"
- android:padding="0dp"
- android:text="@string/button_key_down"
- android:textSize="10dip"
- />
+ <Button
+ android:id="@+id/button_down"
+ style="@style/KeyboardButton"
+ android:contentDescription="@string/image_description_down"
+ android:text="@string/button_key_down"/>
- <View
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:background="#90000000"
- />
+ <View style="@style/KeyboardSeparator"/>
- <Button
- android:id="@+id/button_left"
- android:layout_width="0px"
- android:layout_height="30dip"
- android:layout_margin="0dp"
- android:layout_weight="1"
- android:background="#55f0f0f0"
- android:contentDescription="@string/image_description_left"
- android:padding="0dp"
- android:text="@string/button_key_left"
- android:textSize="10dip"
- />
+ <Button
+ android:id="@+id/button_left"
+ style="@style/KeyboardButton"
+ android:contentDescription="@string/image_description_left"
+ android:text="@string/button_key_left"/>
- <View
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:background="#90000000"
- />
+ <View style="@style/KeyboardSeparator"/>
- <Button
- android:id="@+id/button_right"
- android:layout_width="0px"
- android:layout_height="30dip"
- android:layout_margin="0dp"
- android:layout_weight="1"
- android:background="#55f0f0f0"
- android:contentDescription="@string/image_description_right"
- android:padding="0dp"
- android:text="@string/button_key_right"
- android:textSize="10dip"
- />
- <View
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:background="#90000000"
- />
+ <Button
+ android:id="@+id/button_right"
+ style="@style/KeyboardButton"
+ android:contentDescription="@string/image_description_right"
+ android:text="@string/button_key_right"/>
+
+ <View style="@style/KeyboardSeparator"/>
<ImageView
android:id="@+id/button_keyboard"