keyboard: add num template for PIN input
Credit for the xml updates:
fordownloads (vnukov.d03@gmail.com)
MrYacha (yacha@orangefox.tech)
Change-Id: Ie776b7de206dbeda122184052d474ebf5fbd7d68
diff --git a/gui/theme/watch_mdpi/ui.xml b/gui/theme/watch_mdpi/ui.xml
index 2af1249..967a475 100644
--- a/gui/theme/watch_mdpi/ui.xml
+++ b/gui/theme/watch_mdpi/ui.xml
@@ -388,5 +388,29 @@
</layout4>
</keyboard>
</template>
+
+ <template name="keyboardnum">
+ <keyboard>
+ <condition var1="tw_hide_kb" var2="0"/>
+ <placement x="0" y="%keyboard_y%" w="320" h="144"/>
+ <keymargin x="2" y="2"/>
+ <background color="#111111"/>
+ <key-alphanumeric color="#111111" font="keylabel" textcolor="#EEEEEE"/>
+ <key-other color="#111111" font="keylabel-small" textcolor="#5b5b5bff"/>
+ <longpress font="keylabel-longpress" textcolor="#5b5b5bff" x="0" y="0"/>
+ <keylabel key="0:c:8" text="Bksp" resource="backspace"/>
+ <keylabel key="0:action" text="Enter" resource="enter"/>
+ <keylabel key=" " text="Space" resource="space"/>
+ <highlight color="%highlight_color%"/>
+ <capshighlight color="%highlight_color%"/>
+ <layout1>
+ <keysize height="35" width="62"/>
+ <row1 key01="67:" key02="1" key03="2" key04="3" key05="67:"/>
+ <row2 key01="67:" key02="4" key03="5" key04="6" key05="67:"/>
+ <row3 key01="67:" key02="7" key03="8" key04="9" key05="67:"/>
+ <row4 key01="67:" key02="62:c:8" key03="0" key04="63:action" key05="67:"/>
+ </layout1>
+ </keyboard>
+ </template>
</templates>
</recovery>