summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/layout/ime.xml46
-rw-r--r--res/layout/symbols.xml17
2 files changed, 63 insertions, 0 deletions
diff --git a/res/layout/ime.xml b/res/layout/ime.xml
index 7ef50a1..ddabd0c 100644
--- a/res/layout/ime.xml
+++ b/res/layout/ime.xml
@@ -3,11 +3,35 @@
android:layout_width="match_parent"
android:layout_height="match_parent" >
+ <LinearLayout
+ android:id="@+id/left_panel"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:orientation="vertical" >
+
+ <Button
+ android:id="@+id/symbols_btn"
+ android:layout_width="85dp"
+ android:layout_height="85dp"
+ android:layout_marginBottom="5dp"
+ android:layout_marginTop="10dp" />
+
+ <Button
+ android:id="@+id/shift_btn"
+ android:layout_width="85dp"
+ android:layout_height="85dp"
+ android:layout_marginBottom="10dp"
+ android:layout_marginTop="5dp" />
+ </LinearLayout>
+
<us.minak.IMEGestureOverlayView
android:id="@+id/drawing_space"
android:layout_width="wrap_content"
android:layout_height="200dp"
android:layout_centerInParent="true"
+ android:layout_toLeftOf="@+id/right_panel"
+ android:layout_toRightOf="@+id/left_panel"
android:fadeDuration="300"
android:fadeEnabled="true"
android:fadeOffset="200"
@@ -17,4 +41,26 @@
android:gestureStrokeSquarenessThreshold="0.0"
android:gestureStrokeType="multiple" />
+ <LinearLayout
+ android:id="@+id/right_panel"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:orientation="vertical" >
+
+ <Button
+ android:id="@+id/backspace_btn"
+ android:layout_width="85dp"
+ android:layout_height="85dp"
+ android:layout_marginBottom="5dp"
+ android:layout_marginTop="10dp" />
+
+ <Button
+ android:id="@+id/space_btn"
+ android:layout_width="85dp"
+ android:layout_height="85dp"
+ android:layout_marginBottom="10dp"
+ android:layout_marginTop="5dp" />
+ </LinearLayout>
+
</us.minak.IMEView>
diff --git a/res/layout/symbols.xml b/res/layout/symbols.xml
new file mode 100644
index 0000000..2fa1a71
--- /dev/null
+++ b/res/layout/symbols.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="400dp"
+ android:background="@android:color/transparent"
+ android:orientation="horizontal" >
+
+ <GridView
+ android:id="@+id/symbols_gridview"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:columnWidth="40dp"
+ android:gravity="center"
+ android:numColumns="auto_fit"
+ android:stretchMode="columnWidth" />
+
+</LinearLayout>