abouttreesummaryrefslogcommitdiff
diff options
context:
space:
mode:
-rw-r--r--res/xml/pin.xml4
-rw-r--r--srcs/juloo.keyboard2/Keyboard2.java2
2 files changed, 2 insertions, 4 deletions
diff --git a/res/xml/pin.xml b/res/xml/pin.xml
index bd14f19..db04fd5 100644
--- a/res/xml/pin.xml
+++ b/res/xml/pin.xml
@@ -10,13 +10,13 @@
<key shift="1.0" key0="4" indication="GHI"/>
<key key0="5" indication="JKL"/>
<key key0="6" indication="MNO"/>
- <key key0="(" key3=":"/>
+ <key key0="(" key3=":" key4="-"/>
</row>
<row>
<key shift="1.0" key0="7" indication="PQRS"/>
<key key0="8" indication="TUV"/>
<key key0="9" indication="WXYZ"/>
- <key key0=")" key3="/"/>
+ <key key0=")" key2="," key3="/" key4="."/>
</row>
<row>
<key shift="1.0" key0="*" key1="switch_text" key3="switch_numeric"/>
diff --git a/srcs/juloo.keyboard2/Keyboard2.java b/srcs/juloo.keyboard2/Keyboard2.java
index 972f266..192e54d 100644
--- a/srcs/juloo.keyboard2/Keyboard2.java
+++ b/srcs/juloo.keyboard2/Keyboard2.java
@@ -230,8 +230,6 @@ public class Keyboard2 extends InputMethodService
switch (info.inputType & InputType.TYPE_MASK_CLASS)
{
case InputType.TYPE_CLASS_NUMBER:
- if ((info.inputType & (InputType.TYPE_NUMBER_FLAG_DECIMAL | InputType.TYPE_NUMBER_FLAG_SIGNED)) != 0)
- return R.xml.numeric;
return R.xml.pin;
case InputType.TYPE_CLASS_PHONE:
case InputType.TYPE_CLASS_DATETIME: