aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/layout
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2014-08-19 14:04:35 +0900
committerYohei Yukawa <yukawa@google.com>2014-08-19 14:04:35 +0900
commit907825548b191af02f1746e531f0475d04c28036 (patch)
tree1024a22ba259f178ae07a9b873ccbc104a6b825e /java/res/layout
parent23f41049d69b17402d91506ef1283d7eb48ba430 (diff)
downloadlatinime-907825548b191af02f1746e531f0475d04c28036.tar.gz
latinime-907825548b191af02f1746e531f0475d04c28036.tar.xz
latinime-907825548b191af02f1746e531f0475d04c28036.zip
Use FrameLayout for the backing view
If we render our UI around the composing text in the fullscreen mode, probably we need to have our views under android.R.id.extractArea, which is implemented as FrameLayout. Therefore, using FrameLayout for the backing view makes it easy to simplify the code between normal mode and full screen mode. Change-Id: I69533b22d9d1368ad906dc5ef7be1a1b674d10b8
Diffstat (limited to 'java/res/layout')
-rw-r--r--java/res/layout/input_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/res/layout/input_view.xml b/java/res/layout/input_view.xml
index 7bfda3ae2..a4bcdcc8a 100644
--- a/java/res/layout/input_view.xml
+++ b/java/res/layout/input_view.xml
@@ -25,7 +25,7 @@
android:gravity="bottom|center_horizontal"
android:orientation="vertical" >
<!-- The height of key_preview_backing view will automatically be determined by code. -->
- <RelativeLayout
+ <FrameLayout
android:id="@+id/key_preview_backing"
android:layout_width="match_parent"
android:layout_height="0dp" />