blob: fc9e80d6fee75c006bdfa0009d8d448a3a889a5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
<?xml version="1.0" encoding="utf-8"?>
<us.minak.IMEView xmlns:android="http://schemas.android.com/apk/res/android"
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/shift_btn"
android:text="@string/button_shift"
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"
android:gestureColor="#000"
android:gestureStrokeAngleThreshold="0.0"
android:gestureStrokeLengthThreshold="0.0"
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:text="@string/button_backspace"
android:layout_width="85dp"
android:layout_height="85dp"
android:layout_marginBottom="5dp"
android:layout_marginTop="10dp" />
<Button
android:id="@+id/space_btn"
android:text="@string/button_space"
android:layout_width="85dp"
android:layout_height="85dp"
android:layout_marginBottom="10dp"
android:layout_marginTop="5dp" />
</LinearLayout>
</us.minak.IMEView>
|