Loading java/res/layout/more_suggestions.xml 0 → 100644 +37 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- /* ** ** Copyright 2011, The Android Open Source Project ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** distributed under the License is distributed on an "AS IS" BASIS, ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ** See the License for the specific language governing permissions and ** limitations under the License. */ --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="horizontal" style="?attr/miniKeyboardPanelStyle" > <com.android.inputmethod.latin.MoreSuggestionsView xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" android:id="@+id/more_suggestions_view" android:layout_alignParentBottom="true" android:layout_width="wrap_content" android:layout_height="wrap_content" latin:keyLabelSize="@dimen/candidate_text_size" latin:keyHintLetterRatio="@fraction/more_suggestions_info_ratio" latin:keyHintLetterColor="@android:color/white" /> </LinearLayout> java/res/values-land/dimens.xml +2 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,8 @@ <dimen name="key_preview_offset_ics">0.01in</dimen> <dimen name="candidate_strip_height">36dip</dimen> <dimen name="more_suggestions_row_height">36dip</dimen> <dimen name="candidate_strip_minimum_height">160sp</dimen> <dimen name="candidate_strip_fading_edge_length">63dip</dimen> <!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. --> <!-- popup_key_height x 1.2 --> Loading java/res/values-sw600dp/dimens.xml +1 −0 Original line number Diff line number Diff line Loading @@ -67,6 +67,7 @@ <dimen name="key_preview_offset_ics">0.05in</dimen> <dimen name="candidate_strip_height">44dip</dimen> <dimen name="more_suggestions_row_height">44dip</dimen> <dimen name="candidate_strip_padding">15.0mm</dimen> <dimen name="candidate_min_width">0.3in</dimen> <dimen name="candidate_padding">12dip</dimen> Loading java/res/values-sw768dp/dimens.xml +2 −3 Original line number Diff line number Diff line Loading @@ -70,9 +70,8 @@ <dimen name="key_preview_offset_ics">0.05in</dimen> <dimen name="candidate_strip_height">44dip</dimen> <!-- candidate_strip_minimum_height = key_preview_height_holo - key_preview_offset_holo + alpha --> <dimen name="candidate_strip_minimum_height">18mm</dimen> <dimen name="more_suggestions_row_height">44dip</dimen> <dimen name="candidate_strip_minimum_height">200sp</dimen> <dimen name="candidate_strip_padding">15.0mm</dimen> <dimen name="candidate_min_width">46dip</dimen> <dimen name="candidate_padding">8dip</dimen> Loading java/res/values/attrs.xml +1 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ <attr name="miniKeyboardPanelStyle" format="reference" /> <!-- Suggestions strip style --> <attr name="suggestionsStripBackgroundStyle" format="reference" /> <attr name="suggestionsPaneViewStyle" format="reference" /> <attr name="suggestionBackgroundStyle" format="reference" /> <attr name="suggestionPreviewBackgroundStyle" format="reference" /> <attr name="candidateViewStyle" format="reference" /> Loading Loading
java/res/layout/more_suggestions.xml 0 → 100644 +37 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- /* ** ** Copyright 2011, The Android Open Source Project ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** distributed under the License is distributed on an "AS IS" BASIS, ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ** See the License for the specific language governing permissions and ** limitations under the License. */ --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="horizontal" style="?attr/miniKeyboardPanelStyle" > <com.android.inputmethod.latin.MoreSuggestionsView xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" android:id="@+id/more_suggestions_view" android:layout_alignParentBottom="true" android:layout_width="wrap_content" android:layout_height="wrap_content" latin:keyLabelSize="@dimen/candidate_text_size" latin:keyHintLetterRatio="@fraction/more_suggestions_info_ratio" latin:keyHintLetterColor="@android:color/white" /> </LinearLayout>
java/res/values-land/dimens.xml +2 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,8 @@ <dimen name="key_preview_offset_ics">0.01in</dimen> <dimen name="candidate_strip_height">36dip</dimen> <dimen name="more_suggestions_row_height">36dip</dimen> <dimen name="candidate_strip_minimum_height">160sp</dimen> <dimen name="candidate_strip_fading_edge_length">63dip</dimen> <!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. --> <!-- popup_key_height x 1.2 --> Loading
java/res/values-sw600dp/dimens.xml +1 −0 Original line number Diff line number Diff line Loading @@ -67,6 +67,7 @@ <dimen name="key_preview_offset_ics">0.05in</dimen> <dimen name="candidate_strip_height">44dip</dimen> <dimen name="more_suggestions_row_height">44dip</dimen> <dimen name="candidate_strip_padding">15.0mm</dimen> <dimen name="candidate_min_width">0.3in</dimen> <dimen name="candidate_padding">12dip</dimen> Loading
java/res/values-sw768dp/dimens.xml +2 −3 Original line number Diff line number Diff line Loading @@ -70,9 +70,8 @@ <dimen name="key_preview_offset_ics">0.05in</dimen> <dimen name="candidate_strip_height">44dip</dimen> <!-- candidate_strip_minimum_height = key_preview_height_holo - key_preview_offset_holo + alpha --> <dimen name="candidate_strip_minimum_height">18mm</dimen> <dimen name="more_suggestions_row_height">44dip</dimen> <dimen name="candidate_strip_minimum_height">200sp</dimen> <dimen name="candidate_strip_padding">15.0mm</dimen> <dimen name="candidate_min_width">46dip</dimen> <dimen name="candidate_padding">8dip</dimen> Loading
java/res/values/attrs.xml +1 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ <attr name="miniKeyboardPanelStyle" format="reference" /> <!-- Suggestions strip style --> <attr name="suggestionsStripBackgroundStyle" format="reference" /> <attr name="suggestionsPaneViewStyle" format="reference" /> <attr name="suggestionBackgroundStyle" format="reference" /> <attr name="suggestionPreviewBackgroundStyle" format="reference" /> <attr name="candidateViewStyle" format="reference" /> Loading