abouttreesummaryrefslogcommitdiff
diff options
context:
space:
mode:
authorjuloo2015-08-04 17:55:48 +0200
committerjuloo2015-08-04 17:55:48 +0200
commit40885f5760f59cb2511d1d2b829507f483354282 (patch)
tree2f5e108a0db534af133b541415d5ddf4ac7762cb
parent1be1ec7a4b848607a1652d95bdf5ee96c0a9ecfb (diff)
downloadunexpected-keyboard-40885f5760f59cb2511d1d2b829507f483354282.tar.gz
unexpected-keyboard-40885f5760f59cb2511d1d2b829507f483354282.zip
Add icons + Nothing
-rw-r--r--AndroidManifest.xml3
-rw-r--r--res/drawable-hdpi/ic_launcher.pngbin9397 -> 2282 bytes
-rw-r--r--res/drawable-ldpi/ic_launcher.pngbin2729 -> 0 bytes
-rw-r--r--res/drawable-mdpi/ic_launcher.pngbin5237 -> 1465 bytes
-rw-r--r--res/drawable-xhdpi/ic_launcher.pngbin14383 -> 3217 bytes
-rw-r--r--res/drawable-xxhdpi/ic_launcher.pngbin0 -> 5226 bytes
-rw-r--r--res/drawable-xxxhdpi/ic_launcher.pngbin0 -> 7837 bytes
-rw-r--r--res/values/strings.xml1
-rw-r--r--res/xml/method.xml6
-rw-r--r--srcs/juloo.keyboard2/KeyValue.java4
-rw-r--r--tmp/xxxhdpi.pngbin0 -> 6067 bytes
11 files changed, 5 insertions, 9 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index c1397f4..f3462fb 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -4,6 +4,9 @@
android:versionCode="1"
android:versionName="1.0">
+ <uses-sdk android:minSdkVersion="1"
+ android:targetSdkVersion="22" />
+
<application android:label="@string/app_name"
android:icon="@drawable/ic_launcher">
diff --git a/res/drawable-hdpi/ic_launcher.png b/res/drawable-hdpi/ic_launcher.png
index 96a442e..20e436f 100644
--- a/res/drawable-hdpi/ic_launcher.png
+++ b/res/drawable-hdpi/ic_launcher.png
Binary files differ
diff --git a/res/drawable-ldpi/ic_launcher.png b/res/drawable-ldpi/ic_launcher.png
deleted file mode 100644
index 9923872..0000000
--- a/res/drawable-ldpi/ic_launcher.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-mdpi/ic_launcher.png b/res/drawable-mdpi/ic_launcher.png
index 359047d..d9687eb 100644
--- a/res/drawable-mdpi/ic_launcher.png
+++ b/res/drawable-mdpi/ic_launcher.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_launcher.png b/res/drawable-xhdpi/ic_launcher.png
index 71c6d76..89d7003 100644
--- a/res/drawable-xhdpi/ic_launcher.png
+++ b/res/drawable-xhdpi/ic_launcher.png
Binary files differ
diff --git a/res/drawable-xxhdpi/ic_launcher.png b/res/drawable-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000..53cd696
--- /dev/null
+++ b/res/drawable-xxhdpi/ic_launcher.png
Binary files differ
diff --git a/res/drawable-xxxhdpi/ic_launcher.png b/res/drawable-xxxhdpi/ic_launcher.png
new file mode 100644
index 0000000..c55db5a
--- /dev/null
+++ b/res/drawable-xxxhdpi/ic_launcher.png
Binary files differ
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 1ebc280..9397c8b 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Keyboard 2.0</string>
- <string name="lol">lol</string>
</resources>
diff --git a/res/xml/method.xml b/res/xml/method.xml
index fdf120f..7b523f9 100644
--- a/res/xml/method.xml
+++ b/res/xml/method.xml
@@ -1,10 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<input-method xmlns:android="http://schemas.android.com/apk/res/android"
android:supportsSwitchingToNextInputMethod="true">
- <subtype
- android:label="@string/lol"
- android:icon="@drawable/ic_launcher"
- android:imeSubtypeLocale="en_US"
- android:imeSubtypeMode="keyboard"
- />
</input-method>
diff --git a/srcs/juloo.keyboard2/KeyValue.java b/srcs/juloo.keyboard2/KeyValue.java
index aa687ff..c1349da 100644
--- a/srcs/juloo.keyboard2/KeyValue.java
+++ b/srcs/juloo.keyboard2/KeyValue.java
@@ -136,7 +136,7 @@ class KeyValue
new KeyValue("delete", "⌦", CHAR_NONE, KeyEvent.KEYCODE_FORWARD_DEL, 0);
new KeyValue("insert", "Ins", CHAR_NONE, KeyEvent.KEYCODE_INSERT, 0);
- new KeyValue("tab", "↹", '\t', EVENT_NONE, 0);
- new KeyValue("space", " ", ' ', EVENT_NONE, 0);
+ new KeyValue("tab", "↹", '\t', KeyEvent.KEYCODE_TAB, 0);
+ new KeyValue("space", " ", ' ', KeyEvent.KEYCODE_SPACE, 0);
}
}
diff --git a/tmp/xxxhdpi.png b/tmp/xxxhdpi.png
new file mode 100644
index 0000000..f680143
--- /dev/null
+++ b/tmp/xxxhdpi.png
Binary files differ