aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/layout/input_view.xml
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2011-09-01 14:54:28 +0900
committerTadashi G. Takaoka <takaoka@google.com>2011-09-01 15:41:34 +0900
commit913e2aeef26f172d500a4ebfc644b5f47778841a (patch)
treec70db4369aa761942fa9656d9e1aee15c557f3bf /java/res/layout/input_view.xml
parentb17300e2f03d2712bc3aae4a6bf548eb836a27ae (diff)
downloadlatinime-913e2aeef26f172d500a4ebfc644b5f47778841a.tar.gz
latinime-913e2aeef26f172d500a4ebfc644b5f47778841a.tar.xz
latinime-913e2aeef26f172d500a4ebfc644b5f47778841a.zip
Rename CandidateView to SuggestionsView
Change-Id: I6480cdf025f065130e1969899b259a243e7a11be
Diffstat (limited to 'java/res/layout/input_view.xml')
-rw-r--r--java/res/layout/input_view.xml47
1 files changed, 13 insertions, 34 deletions
diff --git a/java/res/layout/input_view.xml b/java/res/layout/input_view.xml
index 821082f91..328469517 100644
--- a/java/res/layout/input_view.xml
+++ b/java/res/layout/input_view.xml
@@ -25,55 +25,34 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
- <!-- On tablets, the candidate strip is centered with horizontal paddings on both sides because
- width of the landscape mode is too long for the candidate strip. This LinearLayout is
- required to hold the paddings. -->
+ <!-- On tablets, the suggestions strip is centered with horizontal paddings on both sides
+ because width of the landscape mode is too long for the suggestions strip. This
+ LinearLayout is required to hold the paddings. -->
<LinearLayout
- android:id="@+id/candidates_container"
+ android:id="@+id/suggestions_container"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:minHeight="@dimen/candidate_strip_minimum_height"
+ android:minHeight="@dimen/suggestions_strip_minimum_height"
android:gravity="bottom"
>
<View
- android:layout_width="@dimen/candidate_strip_padding"
- android:layout_height="@dimen/candidate_strip_height"
+ android:layout_width="@dimen/suggestions_strip_padding"
+ android:layout_height="@dimen/suggestions_strip_height"
style="?attr/suggestionsStripBackgroundStyle" />
- <com.android.inputmethod.latin.CandidateView
- android:id="@+id/candidates"
+ <com.android.inputmethod.latin.SuggestionsView
+ android:id="@+id/suggestions_view"
android:layout_weight="1.0"
android:layout_width="0dp"
- android:layout_height="@dimen/candidate_strip_height"
+ android:layout_height="@dimen/suggestions_strip_height"
android:gravity="center_vertical"
- style="?attr/candidateViewStyle" />
+ style="?attr/suggestionsViewStyle" />
<View
- android:layout_width="@dimen/candidate_strip_padding"
- android:layout_height="@dimen/candidate_strip_height"
+ android:layout_width="@dimen/suggestions_strip_padding"
+ android:layout_height="@dimen/suggestions_strip_height"
style="?attr/suggestionsStripBackgroundStyle" />
</LinearLayout>
- <LinearLayout
- android:id="@+id/candidates_pane_container"
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:visibility="gone"
- style="?attr/suggestionsStripBackgroundStyle"
- >
- <View
- android:layout_width="@dimen/candidate_strip_padding"
- android:layout_height="@dimen/candidate_strip_height" />
- <FrameLayout
- android:id="@+id/candidates_pane"
- android:layout_weight="1.0"
- android:layout_width="0dp"
- android:layout_height="match_parent" />
- <View
- android:layout_width="@dimen/candidate_strip_padding"
- android:layout_height="@dimen/candidate_strip_height" />
- </LinearLayout>
-
<com.android.inputmethod.keyboard.LatinKeyboardView
android:id="@+id/keyboard_view"
android:layout_alignParentBottom="true"