Merge "Fix 1st suggestion text alignment"
This commit is contained in:
commit
7c83293686
2 changed files with 7 additions and 5 deletions
|
@ -32,14 +32,14 @@
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="@dimen/candidate_strip_height"
|
android:layout_height="wrap_content"
|
||||||
android:background="@drawable/keyboard_suggest_strip_holo"
|
android:background="@drawable/keyboard_suggest_strip_holo"
|
||||||
android:paddingRight="@dimen/candidate_strip_padding"
|
android:paddingRight="@dimen/candidate_strip_padding"
|
||||||
android:paddingLeft="@dimen/candidate_strip_padding"
|
android:paddingLeft="@dimen/candidate_strip_padding"
|
||||||
>
|
>
|
||||||
<HorizontalScrollView
|
<HorizontalScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="wrap_content"
|
||||||
android:fadingEdge="horizontal"
|
android:fadingEdge="horizontal"
|
||||||
android:fadingEdgeLength="@dimen/candidate_strip_fading_edge_length"
|
android:fadingEdgeLength="@dimen/candidate_strip_fading_edge_length"
|
||||||
android:scrollbars="none"
|
android:scrollbars="none"
|
||||||
|
@ -47,7 +47,8 @@
|
||||||
<com.android.inputmethod.latin.CandidateView
|
<com.android.inputmethod.latin.CandidateView
|
||||||
android:id="@+id/candidates"
|
android:id="@+id/candidates"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent" />
|
android:layout_height="@dimen/candidate_strip_height"
|
||||||
|
android:gravity="center_vertical" />
|
||||||
</HorizontalScrollView>
|
</HorizontalScrollView>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
>
|
>
|
||||||
<HorizontalScrollView
|
<HorizontalScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="@dimen/candidate_strip_height"
|
android:layout_height="wrap_content"
|
||||||
android:background="@drawable/keyboard_suggest_strip"
|
android:background="@drawable/keyboard_suggest_strip"
|
||||||
android:fadingEdge="horizontal"
|
android:fadingEdge="horizontal"
|
||||||
android:fadingEdgeLength="@dimen/candidate_strip_fading_edge_length"
|
android:fadingEdgeLength="@dimen/candidate_strip_fading_edge_length"
|
||||||
|
@ -39,6 +39,7 @@
|
||||||
<com.android.inputmethod.latin.CandidateView
|
<com.android.inputmethod.latin.CandidateView
|
||||||
android:id="@+id/candidates"
|
android:id="@+id/candidates"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent" />
|
android:layout_height="@dimen/candidate_strip_height"
|
||||||
|
android:gravity="center_vertical" />
|
||||||
</HorizontalScrollView>
|
</HorizontalScrollView>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
Loading…
Reference in a new issue