diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2014-05-06 22:12:35 -0400 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2014-05-06 22:12:35 -0400 |
commit | b5f59b61cbd5d0e1b44d948ca4bd897fdb1fe525 (patch) | |
tree | 7606a363f085b5c6d83856b3f1a9d38ee47617ea /res | |
parent | b14681ff253675b4839d4411903f2180481eb3bb (diff) |
Clean up, make the GestureOverlayView take up the whole area
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/ime.xml | 46 |
1 files changed, 3 insertions, 43 deletions
diff --git a/res/layout/ime.xml b/res/layout/ime.xml index fc9e80d..10cd8b8 100644 --- a/res/layout/ime.xml +++ b/res/layout/ime.xml @@ -3,29 +3,13 @@ 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_width="fill_parent" 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" @@ -35,28 +19,4 @@ 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> |