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/landscape_hdpi/ui.xml b/gui/theme/landscape_hdpi/ui.xml
index 1727887..4e39d4c 100755
--- a/gui/theme/landscape_hdpi/ui.xml
+++ b/gui/theme/landscape_hdpi/ui.xml
@@ -719,5 +719,28 @@
</layout4>
</keyboard>
</template>
+
+ <template name="keyboardnum">
+ <keyboard>
+ <placement x="0" y="%keyboard_y%" w="1920" h="512"/>
+ <keymargin x="6" y="6"/>
+ <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="40" y="4"/>
+ <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="127" width="376"/>
+ <row1 key01="396:" key02="1" key03="2" key04="3" key05="396:"/>
+ <row2 key01="396:" key02="4" key03="5" key04="6" key05="396:"/>
+ <row3 key01="396:" key02="7" key03="8" key04="9" key05="396:"/>
+ <row4 key01="396:" key02="376:c:8" key03="0" key04="378:action" key05="396:"/>
+ </layout1>
+ </keyboard>
+ </template>
</templates>
</recovery>