summaryrefslogtreecommitdiffstats
path: root/gui/devices/portrait
diff options
context:
space:
mode:
authorz31s1g <z31s1g@googlemail.com>2016-01-13 19:12:40 +0100
committerDees Troy <dees_troy@teamw.in>2016-01-13 22:38:54 +0100
commit5618952043062a5f8d8c6d62a447cf2a94cc60f3 (patch)
tree7f3db9b570d8b4f10db3204890a561dcf5b50e42 /gui/devices/portrait
parentgui: reap terminal child process to avoid zombies (diff)
downloadandroid_bootable_recovery-5618952043062a5f8d8c6d62a447cf2a94cc60f3.tar
android_bootable_recovery-5618952043062a5f8d8c6d62a447cf2a94cc60f3.tar.gz
android_bootable_recovery-5618952043062a5f8d8c6d62a447cf2a94cc60f3.tar.bz2
android_bootable_recovery-5618952043062a5f8d8c6d62a447cf2a94cc60f3.tar.lz
android_bootable_recovery-5618952043062a5f8d8c6d62a447cf2a94cc60f3.tar.xz
android_bootable_recovery-5618952043062a5f8d8c6d62a447cf2a94cc60f3.tar.zst
android_bootable_recovery-5618952043062a5f8d8c6d62a447cf2a94cc60f3.zip
Diffstat (limited to 'gui/devices/portrait')
-rw-r--r--gui/devices/portrait/res/portrait.xml41
1 files changed, 32 insertions, 9 deletions
diff --git a/gui/devices/portrait/res/portrait.xml b/gui/devices/portrait/res/portrait.xml
index b7e79e9e9..8d21777db 100644
--- a/gui/devices/portrait/res/portrait.xml
+++ b/gui/devices/portrait/res/portrait.xml
@@ -2653,8 +2653,8 @@
<object type="button">
<placement x="%col1_x%" y="%row3_y%" />
- <text>Terminal Command</text>
- <action function="page">terminalfolder</action>
+ <text>Terminal Emulator</text>
+ <action function="page">terminalcommand</action>
</object>
<object type="button">
@@ -3450,7 +3450,7 @@
</actions>
</object>
</page>
-
+<!--
<page name="terminalfolder">
<object type="template" name="header" />
@@ -3490,14 +3490,15 @@
<object type="template" name="footer" />
</page>
-
+-->
<page name="terminalcommand">
<object type="template" name="header" />
- <object type="console">
- <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
+ <object type="terminal" style="console">
+ <font resource="fixed" spacing="3" color="%text_color%" />
+ <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
</object>
-
+<!--
<object type="text">
<placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
<text>Starting Path: %tw_terminal_location%</text>
@@ -3512,16 +3513,38 @@
<restrict minlen="1" />
<action function="terminalcommand">%tw_terminal_command%</action>
</object>
-
<object type="button" style="mediumbutton">
<condition var1="tw_terminal_state" var2="1" />
<placement x="%filemanager_select_x%" y="%terminal_button_y%" />
<text>KILL</text>
<action function="killterminal"></action>
</object>
+-->
<object type="template" name="keyboardtemplate" />
+ <object type="keyboard">
+ <placement x="120" y="1840" w="840" h="80" />
+ <keymargin x="6" y="6"/>
+ <background color="#202020"/>
+ <key-alphanumeric color="#282828" font="keylabel" textcolor="#ffffff"/>
+ <key-other color="#242424" font="keylabel-small" textcolor="#c0c0c0"/>
+ <longpress font="keylabel-longpress" textcolor="#808080"/>
+ <keylabel key="0:k:29" text="Ctrl"/>
+ <keylabel key="0:c:27" text="Esc"/>
+ <keylabel key="0:c:9" text="Tab"/>
+ <keylabel key="0:k:105" text="&lt;"/>
+ <keylabel key="0:k:108" text="v"/>
+ <keylabel key="0:k:103" text="^"/>
+ <keylabel key="0:k:106" text="&gt;"/>
+ <highlight color="%highlight_color%" />
+ <ctrlhighlight color="#E5333380" />
+ <layout1>
+ <keysize height="80" width="120" />
+ <row1 key01="120:k:29" key02="120:c:27" long02=":c:3" key03="120:c:9" key04="120:k:105" key05="120:k:108" key06="120:k:103" key07="120:k:106"/>
+ </layout1>
+ </object>
+
<object type="action">
<touch key="home" />
<action function="page">main</action>
@@ -3529,7 +3552,7 @@
<object type="action">
<touch key="back" />
- <action function="page">terminalfolder</action>
+ <action function="page">advanced</action>
</object>
</page>