diff options
author | 2011-04-08 17:58:35 +0900 | |
---|---|---|
committer | 2011-04-08 20:03:57 +0900 | |
commit | a8c163f262c0876c3b05d091633395389ad583af (patch) | |
tree | ded3b1294659ceaf6f15c7c246986dc514281d99 /java/res/layout | |
parent | 82730b0e09a33b449d390c43bac8a88fa9af73ca (diff) | |
download | latinime-a8c163f262c0876c3b05d091633395389ad583af.tar.gz latinime-a8c163f262c0876c3b05d091633395389ad583af.tar.xz latinime-a8c163f262c0876c3b05d091633395389ad583af.zip |
Fix suggestion strip layout
This change also removes unused drawable and xml resources.
Bug: 4181825
Change-Id: Ia723376bc5d40900a513df62e89cdfe35b2c859f
Diffstat (limited to 'java/res/layout')
-rw-r--r-- | java/res/layout/candidate.xml | 15 | ||||
-rw-r--r-- | java/res/layout/candidates.xml | 4 |
2 files changed, 9 insertions, 10 deletions
diff --git a/java/res/layout/candidate.xml b/java/res/layout/candidate.xml index f2c4126b3..78d2750eb 100644 --- a/java/res/layout/candidate.xml +++ b/java/res/layout/candidate.xml @@ -20,24 +20,24 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="@dimen/candidate_strip_height" + android:layout_width="wrap_content" + android:layout_height="match_parent" android:orientation="horizontal" android:paddingRight="@dimen/candidate_padding" > <ImageView android:id="@+id/candidate_divider" android:layout_width="wrap_content" - android:layout_height="@dimen/candidate_strip_height" + android:layout_height="match_parent" + android:src="@drawable/keyboard_suggest_strip_divider" android:visibility="gone" android:focusable="false" android:clickable="false" - android:src="@drawable/keyboard_suggest_strip_divider" android:gravity="center_vertical|center_horizontal" /> <Button android:id="@+id/candidate_word" android:layout_width="wrap_content" - android:layout_height="@dimen/candidate_strip_height" + android:layout_height="match_parent" android:minWidth="@dimen/candidate_min_width" android:textSize="@dimen/candidate_text_size" android:textColor="@color/candidate_normal" @@ -49,12 +49,11 @@ <TextView android:id="@+id/candidate_debug_info" android:layout_width="wrap_content" - android:layout_height="wrap_content" + android:layout_height="match_parent" android:visibility="gone" android:textSize="10dip" android:textColor="#ff808080" android:focusable="false" android:clickable="false" - android:gravity="bottom" - android:paddingLeft="4dip" /> + android:gravity="bottom" /> </LinearLayout> diff --git a/java/res/layout/candidates.xml b/java/res/layout/candidates.xml index 1b8d04183..794c4ed42 100644 --- a/java/res/layout/candidates.xml +++ b/java/res/layout/candidates.xml @@ -22,7 +22,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width="match_parent" - android:layout_height="@dimen/candidate_strip_height" + android:layout_height="wrap_content" android:background="@drawable/keyboard_suggest_strip" android:paddingRight="@dimen/candidate_strip_padding" android:paddingLeft="@dimen/candidate_strip_padding" @@ -30,7 +30,7 @@ <HorizontalScrollView android:id="@+id/candidates_scroll_view" android:layout_width="wrap_content" - android:layout_height="@dimen/candidate_strip_height" + android:layout_height="wrap_content" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/candidate_strip_fading_edge_length" android:scrollbars="none" |