diff options
Diffstat (limited to 'java/res')
-rw-r--r-- | java/res/layout/research_feedback_fragment_layout.xml | 188 | ||||
-rw-r--r-- | java/res/values/attrs.xml | 46 | ||||
-rw-r--r-- | java/res/values/dimens.xml | 3 | ||||
-rw-r--r-- | java/res/values/strings.xml | 16 | ||||
-rw-r--r-- | java/res/values/styles.xml | 30 | ||||
-rw-r--r-- | java/res/xml-land/kbd_number.xml | 3 | ||||
-rw-r--r-- | java/res/xml-land/kbd_phone.xml | 3 | ||||
-rw-r--r-- | java/res/xml-land/kbd_phone_symbols.xml | 3 | ||||
-rw-r--r-- | java/res/xml-sw600dp-land/kbd_number.xml | 3 | ||||
-rw-r--r-- | java/res/xml-sw600dp-land/kbd_phone.xml | 3 | ||||
-rw-r--r-- | java/res/xml-sw600dp-land/kbd_phone_symbols.xml | 3 | ||||
-rw-r--r-- | java/res/xml-sw768dp-land/kbd_number.xml | 3 | ||||
-rw-r--r-- | java/res/xml-sw768dp-land/kbd_phone.xml | 3 | ||||
-rw-r--r-- | java/res/xml-sw768dp-land/kbd_phone_symbols.xml | 3 | ||||
-rw-r--r-- | java/res/xml/prefs.xml | 1 |
15 files changed, 165 insertions, 146 deletions
diff --git a/java/res/layout/research_feedback_fragment_layout.xml b/java/res/layout/research_feedback_fragment_layout.xml index 2a90ba2a0..2725e7f49 100644 --- a/java/res/layout/research_feedback_fragment_layout.xml +++ b/java/res/layout/research_feedback_fragment_layout.xml @@ -14,107 +14,111 @@ limitations under the License. --> -<LinearLayout - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:orientation="vertical" -> - - <!-- Mimic a dialog title. Necessary since the dialog is actually an activity, so the normal - dialog title construction code is not available. --> +<!-- Adapted from frameworks/base/core/res/res/layout/alert_dialog_holo.xml. We + want a dialog, but it must be its own activity so we can launch the soft + keyboard on it. A regular dialog will not work since it would be launched from + the IME. --> +<ScrollView> <LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="vertical" - > - <com.android.internal.widget.DialogTitle - style="?android:attr/windowTitleStyle" - android:singleLine="true" - android:ellipsize="end" + android:layout_height="match_parent" + android:layout_marginStart="8dip" + android:layout_marginEnd="8dip" + android:orientation="vertical"> + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical"> + <View android:layout_width="match_parent" + android:layout_height="2dip" + android:visibility="gone" + android:background="@android:color/holo_blue_light" /> + <TextView + style="?android:attr/windowTitleStyle" + android:singleLine="true" + android:ellipsize="end" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:minHeight="64dip" + android:layout_marginLeft="16dip" + android:layout_marginRight="16dip" + android:gravity="center_vertical|left" + android:text="@string/research_feedback_dialog_title" /> + <View + android:layout_width="match_parent" + android:layout_height="2dip" + android:background="@android:color/holo_blue_light" /> + </LinearLayout> + + <EditText + android:id="@+id/research_feedback_contents" + android:layout_height="wrap_content" + android:layout_width="match_parent" + android:layout_gravity="fill_horizontal|center_vertical" + android:layout_marginLeft="8dip" + android:layout_marginRight="8dip" + android:layout_marginBottom="8dip" + android:layout_marginTop="8dip" + android:minLines="2" + android:scrollbars="vertical" + android:hint="@string/research_feedback_hint" + android:inputType="textMultiLine"> + <requestFocus /> + </EditText> + <CheckBox + android:id="@+id/research_feedback_include_account_name" + android:layout_height="wrap_content" android:layout_width="match_parent" - android:layout_height="64dip" android:layout_marginLeft="16dip" android:layout_marginRight="16dip" - android:gravity="center_vertical|left" - android:text="@string/research_feedback_dialog_title" /> - <View + android:layout_marginBottom="8dip" + android:checked="false" + android:text="@string/research_feedback_include_account_name_label" /> + <CheckBox + android:id="@+id/research_feedback_include_recording_checkbox" + android:layout_height="wrap_content" android:layout_width="match_parent" - android:layout_height="2dip" - android:background="@android:color/holo_blue_light" /> - </LinearLayout> - - <EditText - android:id="@+id/research_feedback_contents" - android:layout_height="wrap_content" - android:layout_width="match_parent" - android:layout_gravity="fill_horizontal|center_vertical" - android:layout_marginLeft="8dip" - android:layout_marginRight="8dip" - android:layout_marginBottom="8dip" - android:layout_marginTop="8dip" - android:lines="2" - android:hint="@string/research_feedback_hint" - android:inputType="textMultiLine" - android:imeOptions="flagNoFullscreen" - > - <requestFocus /> - </EditText> - - <CheckBox - android:id="@+id/research_feedback_include_history" - android:layout_height="wrap_content" - android:layout_width="match_parent" - android:layout_marginBottom="8dip" - android:checked="true" - android:text="@string/research_feedback_include_history_label" - /> - - <CheckBox - android:id="@+id/research_feedback_include_account_name" - android:layout_height="wrap_content" - android:layout_width="match_parent" - android:layout_marginBottom="8dip" - android:checked="false" - android:text="@string/research_feedback_include_account_name_label" - /> - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="vertical" - android:divider="?android:attr/dividerHorizontal" - android:showDividers="beginning" - android:dividerPadding="0dip" - > + android:layout_marginLeft="16dip" + android:layout_marginRight="16dip" + android:layout_marginBottom="8dip" + android:checked="false" + android:text="@string/research_feedback_include_recording_label" /> <LinearLayout - style="?android:attr/buttonBarStyle" android:layout_width="match_parent" android:layout_height="wrap_content" - android:orientation="horizontal" - android:measureWithLargestChild="true" - > - <Button - android:id="@+id/research_feedback_cancel_button" - android:layout_width="0dip" - android:layout_gravity="left" - android:layout_weight="1" - android:maxLines="2" - style="?android:attr/buttonBarButtonStyle" - android:textSize="14sp" - android:text="@string/research_feedback_cancel" - android:layout_height="wrap_content" - /> - <Button - android:id="@+id/research_feedback_send_button" - android:layout_width="0dip" - android:layout_gravity="right" - android:layout_weight="1" - android:maxLines="2" - style="?android:attr/buttonBarButtonStyle" - android:textSize="14sp" - android:text="@string/research_feedback_send" + android:orientation="vertical" + android:divider="?android:attr/dividerHorizontal" + android:showDividers="beginning" + android:dividerPadding="0dip"> + <LinearLayout + style="?android:attr/buttonBarStyle" + android:layout_width="match_parent" android:layout_height="wrap_content" - /> + android:orientation="horizontal" + android:layoutDirection="locale" + android:measureWithLargestChild="true"> + <Button + android:id="@+id/research_feedback_cancel_button" + android:layout_width="wrap_content" + android:layout_gravity="left" + android:layout_weight="1" + android:maxLines="2" + style="?android:attr/buttonBarButtonStyle" + android:textSize="14sp" + android:text="@string/research_feedback_cancel" + android:layout_height="wrap_content" /> + <Button + android:id="@+id/research_feedback_send_button" + android:layout_width="wrap_content" + android:layout_gravity="right" + android:layout_weight="1" + android:maxLines="2" + style="?android:attr/buttonBarButtonStyle" + android:textSize="14sp" + android:text="@string/research_feedback_send" + android:layout_height="wrap_content" /> + </LinearLayout> </LinearLayout> </LinearLayout> -</LinearLayout> +</ScrollView> diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml index 51a0758e6..3a7b39e3a 100644 --- a/java/res/values/attrs.xml +++ b/java/res/values/attrs.xml @@ -173,25 +173,18 @@ <attr name="themeId" format="integer" /> <!-- Touch position correction --> <attr name="touchPositionCorrectionData" format="reference" /> - <!-- Default keyboard height --> - <attr name="keyboardHeight" format="dimension|fraction" /> - <!-- Maximum keyboard height, in pixels or percentage of display height --> - <attr name="maxKeyboardHeight" format="dimension|fraction" /> - <!-- Minimum keyboard height represented in pixels, percentage of display height if fraction - is positive, or percentage of display width if fraction is negative. --> - <attr name="minKeyboardHeight" format="dimension|fraction" /> - <!-- Keyboard top, bottom, both horizontal edges paddings. --> - <attr name="keyboardTopPadding" format="dimension|fraction" /> - <attr name="keyboardBottomPadding" format="dimension|fraction" /> - <attr name="keyboardHorizontalEdgesPadding" format="dimension|fraction" /> - <!-- Default height of a row (key height + vertical gap), in pixels or percentage of + <!-- Keyboard top, bottom, left, right edges paddings, in propotion of keyboard height. --> + <attr name="keyboardTopPadding" format="fraction" /> + <attr name="keyboardBottomPadding" format="fraction" /> + <attr name="keyboardLeftPadding" format="fraction" /> + <attr name="keyboardRightPadding" format="fraction" /> + <!-- Default height of a row (key height + vertical gap), in pixels or in the proportion of keyboard height. --> <attr name="rowHeight" format="dimension|fraction" /> - <!-- Default horizontal gap between keys, in pixels or percentage of keyboard width. --> - <attr name="horizontalGap" format="dimension|fraction" /> - <!-- Default vertical gap between rows of keys, in pixels or percentage of keyboard - height. --> - <attr name="verticalGap" format="dimension|fraction" /> + <!-- Default horizontal gap between keys, in the proportion of keyboard width. --> + <attr name="horizontalGap" format="fraction" /> + <!-- Default vertical gap between rows of keys, in the proportion of keyboard height. --> + <attr name="verticalGap" format="fraction" /> <!-- More keys keyboard layout template --> <attr name="moreKeysTemplate" format="reference" /> <!-- Icon set for key top and key preview. @@ -295,19 +288,20 @@ <attr name="keyIconPreview" format="string" /> <!-- The key style to specify a set of key attributes defined by <key_style/> --> <attr name="keyStyle" format="string" /> - <!-- Visual insets --> - <attr name="visualInsetsLeft" format="dimension|fraction" /> - <attr name="visualInsetsRight" format="dimension|fraction" /> - <!-- Width of the key, in pixels or percentage of display width. - If the value is fillRight, the actual key width will be determined to fill out the area - up to the right edge of the keyboard. --> + <!-- Visual insets, in the proportion of keyboard width. --> + <attr name="visualInsetsLeft" format="fraction" /> + <attr name="visualInsetsRight" format="fraction" /> + <!-- Width of the key, in the proportion of keyboard width. + If the value is fillRight, the actual key width will be determined to fill out the + area up to the right edge of the keyboard. --> <!-- This should be aligned with KeyboardBuilder.Row.KEYWIDTH_* --> - <attr name="keyWidth" format="dimension|fraction|enum"> + <attr name="keyWidth" format="fraction|enum"> <enum name="fillRight" value="-1" /> </attr> - <!-- The X-coordinate of upper right corner of this key including horizontal gap. + <!-- The X-coordinate of upper right corner of this key including horizontal gap, in the + proportion of keyboard width. If the value is negative, the origin is the right edge of the keyboard. --> - <attr name="keyXPos" format="dimension|fraction" /> + <attr name="keyXPos" format="fraction" /> <!-- Key top visual attributes --> <attr name="keyTypeface" format="enum"> diff --git a/java/res/values/dimens.xml b/java/res/values/dimens.xml index eb0934c63..dd42acf3c 100644 --- a/java/res/values/dimens.xml +++ b/java/res/values/dimens.xml @@ -31,7 +31,8 @@ <fraction name="keyboard_top_padding">1.556%p</fraction> <fraction name="keyboard_bottom_padding">4.669%p</fraction> - <fraction name="keyboard_horizontal_edges_padding">0%p</fraction> + <fraction name="keyboard_left_padding">0%p</fraction> + <fraction name="keyboard_right_padding">0%p</fraction> <fraction name="key_bottom_gap">6.250%p</fraction> <fraction name="key_horizontal_gap">1.352%p</fraction> diff --git a/java/res/values/strings.xml b/java/res/values/strings.xml index 1b518a189..8822e8d18 100644 --- a/java/res/values/strings.xml +++ b/java/res/values/strings.xml @@ -69,8 +69,10 @@ <!-- Option summary for showing language switch key [CHAR LIMIT=65] --> <string name="show_language_switch_key_summary">Show when multiple input languages are enabled</string> - <!-- Option to enable sliding key input preview. The user can see a rubber band during sliding key input. [CHAR LIMIT=30]--> - <string name="sliding_key_input_preview">Sliding key input preview</string> + <!-- Option to enable sliding key input indicator. The user can see a rubber band-like effect during sliding key input. [CHAR LIMIT=30]--> + <string name="sliding_key_input_preview">Show slide indicator</string> + <!-- Option summary to enable sliding key input indicator. The user can see a rubber band-like effect during sliding key input. [CHAR LIMIT=65]--> + <string name="sliding_key_input_preview_summary">Display visual cue while sliding from Shift or Symbol keys</string> <!-- Option for the dismiss delay of the key popup [CHAR LIMIT=25] --> <string name="key_preview_popup_dismiss_delay">Key popup dismiss delay</string> @@ -276,6 +278,9 @@ <!-- Text for checkbox option to include user account name in feedback for research purposes [CHAR LIMIT=50] --> <!-- TODO: remove translatable=false attribute once text is stable --> <string name="research_feedback_include_account_name_label" translatable="false">Include account name</string> + <!-- Text for checkbox option to include a recording in feedback for research purposes [CHAR LIMIT=50] --> + <!-- TODO: remove translatable=false attribute once text is stable --> + <string name="research_feedback_include_recording_label" translatable="false">Include recorded demonstration</string> <!-- Hint to user about the text entry field where they should enter research feedback [CHAR LIMIT=40] --> <!-- TODO: remove translatable=false attribute once text is stable --> <string name="research_feedback_hint" translatable="false">Enter your feedback here.</string> @@ -285,6 +290,13 @@ <!-- Dialog button choice to cancel sending research feedback [CHAR LIMIT=35] --> <!-- TODO: remove translatable=false attribute once text is stable --> <string name="research_feedback_cancel" translatable="false">Cancel</string> + <!-- Temporary notification to provide user with instructions about stopping a recording + - operation[CHAR LIMIT=100] --> + <!-- TODO: remove translatable=false attribute once text is stable --> + <string name="research_feedback_demonstration_instructions" translatable="false">Please demonstrate the issue you are writing about.\n\nWhen finished, select the \"Bug?\" button again."</string> + <!-- Temporary notification of recording failure [CHAR LIMIT=100] --> + <!-- TODO: remove translatable=false attribute once text is stable --> + <string name="research_feedback_recording_failure" translatable="false">Recording cancelled due to timeout</string> <!-- Toast notification to ask user to quit the research feedback dialog to perform this operation [CHAR LIMIT=100] --> <!-- TODO: remove translatable=false attribute once text is stable --> <string name="research_please_exit_feedback_form" translatable="false">Please exit the feedback dialog to access the research log menu</string> diff --git a/java/res/values/styles.xml b/java/res/values/styles.xml index f07f2d352..fb59c745f 100644 --- a/java/res/values/styles.xml +++ b/java/res/values/styles.xml @@ -21,13 +21,11 @@ <item name="themeId">0</item> <item name="touchPositionCorrectionData">@array/touch_position_correction_data_default</item> <item name="rowHeight">25%p</item> - <item name="keyboardHeight">@dimen/keyboardHeight</item> - <item name="maxKeyboardHeight">@fraction/maxKeyboardHeight</item> - <item name="minKeyboardHeight">@fraction/minKeyboardHeight</item> <item name="moreKeysTemplate">@xml/kbd_more_keys_keyboard_template</item> <item name="keyboardTopPadding">@fraction/keyboard_top_padding</item> <item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding</item> - <item name="keyboardHorizontalEdgesPadding">@fraction/keyboard_horizontal_edges_padding</item> + <item name="keyboardLeftPadding">@fraction/keyboard_left_padding</item> + <item name="keyboardRightPadding">@fraction/keyboard_right_padding</item> <item name="horizontalGap">@fraction/key_horizontal_gap</item> <item name="verticalGap">@fraction/key_bottom_gap</item> <item name="maxMoreKeysColumn">@integer/config_max_more_keys_column</item> @@ -122,9 +120,9 @@ name="MoreKeysKeyboard" parent="Keyboard" > - <item name="keyboardTopPadding">0dp</item> - <item name="keyboardBottomPadding">0dp</item> - <item name="horizontalGap">0dp</item> + <item name="keyboardTopPadding">0%p</item> + <item name="keyboardBottomPadding">0%p</item> + <item name="horizontalGap">0%p</item> <item name="touchPositionCorrectionData">@null</item> </style> <style @@ -227,9 +225,9 @@ name="MoreKeysKeyboard.Stone" parent="Keyboard.Stone" > - <item name="keyboardTopPadding">0dp</item> - <item name="keyboardBottomPadding">0dp</item> - <item name="horizontalGap">0dp</item> + <item name="keyboardTopPadding">0%p</item> + <item name="keyboardBottomPadding">0%p</item> + <item name="horizontalGap">0%p</item> <item name="touchPositionCorrectionData">@null</item> </style> <style @@ -297,9 +295,9 @@ name="MoreKeysKeyboard.Gingerbread" parent="Keyboard.Gingerbread" > - <item name="keyboardTopPadding">0dp</item> - <item name="keyboardBottomPadding">0dp</item> - <item name="horizontalGap">0dp</item> + <item name="keyboardTopPadding">0%p</item> + <item name="keyboardBottomPadding">0%p</item> + <item name="horizontalGap">0%p</item> <item name="touchPositionCorrectionData">@null</item> </style> <style @@ -356,9 +354,9 @@ name="MoreKeysKeyboard.IceCreamSandwich" parent="Keyboard.IceCreamSandwich" > - <item name="keyboardTopPadding">0dp</item> - <item name="keyboardBottomPadding">0dp</item> - <item name="horizontalGap">0dp</item> + <item name="keyboardTopPadding">0%p</item> + <item name="keyboardBottomPadding">0%p</item> + <item name="horizontalGap">0%p</item> <item name="touchPositionCorrectionData">@null</item> </style> <style diff --git a/java/res/xml-land/kbd_number.xml b/java/res/xml-land/kbd_number.xml index 8d31df1f8..0dced28ac 100644 --- a/java/res/xml-land/kbd_number.xml +++ b/java/res/xml-land/kbd_number.xml @@ -20,7 +20,8 @@ <Keyboard xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" - latin:keyboardHorizontalEdgesPadding="10%p" + latin:keyboardLeftPadding="10%p" + latin:keyboardRightPadding="10%p" latin:keyWidth="26.67%p" latin:touchPositionCorrectionData="@array/touch_position_correction_data_default" > diff --git a/java/res/xml-land/kbd_phone.xml b/java/res/xml-land/kbd_phone.xml index 2f8fc3560..e5d7b443f 100644 --- a/java/res/xml-land/kbd_phone.xml +++ b/java/res/xml-land/kbd_phone.xml @@ -20,7 +20,8 @@ <Keyboard xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" - latin:keyboardHorizontalEdgesPadding="10%p" + latin:keyboardLeftPadding="10%p" + latin:keyboardRightPadding="10%p" latin:keyWidth="26.67%p" latin:touchPositionCorrectionData="@array/touch_position_correction_data_default" > diff --git a/java/res/xml-land/kbd_phone_symbols.xml b/java/res/xml-land/kbd_phone_symbols.xml index 0e6bcdd6a..b881e6234 100644 --- a/java/res/xml-land/kbd_phone_symbols.xml +++ b/java/res/xml-land/kbd_phone_symbols.xml @@ -20,7 +20,8 @@ <Keyboard xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" - latin:keyboardHorizontalEdgesPadding="10%p" + latin:keyboardLeftPadding="10%p" + latin:keyboardRightPadding="10%p" latin:keyWidth="26.67%p" latin:touchPositionCorrectionData="@array/touch_position_correction_data_default" > diff --git a/java/res/xml-sw600dp-land/kbd_number.xml b/java/res/xml-sw600dp-land/kbd_number.xml index 63dfc90d0..a9e812171 100644 --- a/java/res/xml-sw600dp-land/kbd_number.xml +++ b/java/res/xml-sw600dp-land/kbd_number.xml @@ -20,7 +20,8 @@ <Keyboard xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" - latin:keyboardHorizontalEdgesPadding="10%p" + latin:keyboardLeftPadding="10%p" + latin:keyboardRightPadding="10%p" latin:keyWidth="18%p" latin:touchPositionCorrectionData="@array/touch_position_correction_data_default" > diff --git a/java/res/xml-sw600dp-land/kbd_phone.xml b/java/res/xml-sw600dp-land/kbd_phone.xml index b6161111b..4cabdeb5a 100644 --- a/java/res/xml-sw600dp-land/kbd_phone.xml +++ b/java/res/xml-sw600dp-land/kbd_phone.xml @@ -20,7 +20,8 @@ <Keyboard xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" - latin:keyboardHorizontalEdgesPadding="10%p" + latin:keyboardLeftPadding="10%p" + latin:keyboardRightPadding="10%p" latin:keyWidth="18%p" latin:touchPositionCorrectionData="@array/touch_position_correction_data_default" > diff --git a/java/res/xml-sw600dp-land/kbd_phone_symbols.xml b/java/res/xml-sw600dp-land/kbd_phone_symbols.xml index 9b0bee026..9c3e8259e 100644 --- a/java/res/xml-sw600dp-land/kbd_phone_symbols.xml +++ b/java/res/xml-sw600dp-land/kbd_phone_symbols.xml @@ -20,7 +20,8 @@ <Keyboard xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" - latin:keyboardHorizontalEdgesPadding="10%p" + latin:keyboardLeftPadding="10%p" + latin:keyboardRightPadding="10%p" latin:keyWidth="18%p" latin:touchPositionCorrectionData="@array/touch_position_correction_data_default" > diff --git a/java/res/xml-sw768dp-land/kbd_number.xml b/java/res/xml-sw768dp-land/kbd_number.xml index de8d55904..1cb775ef7 100644 --- a/java/res/xml-sw768dp-land/kbd_number.xml +++ b/java/res/xml-sw768dp-land/kbd_number.xml @@ -20,7 +20,8 @@ <Keyboard xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" - latin:keyboardHorizontalEdgesPadding="10%p" + latin:keyboardLeftPadding="10%p" + latin:keyboardRightPadding="10%p" latin:keyWidth="13.250%p" latin:touchPositionCorrectionData="@array/touch_position_correction_data_default" > diff --git a/java/res/xml-sw768dp-land/kbd_phone.xml b/java/res/xml-sw768dp-land/kbd_phone.xml index f88a076f6..890518210 100644 --- a/java/res/xml-sw768dp-land/kbd_phone.xml +++ b/java/res/xml-sw768dp-land/kbd_phone.xml @@ -20,7 +20,8 @@ <Keyboard xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" - latin:keyboardHorizontalEdgesPadding="10%p" + latin:keyboardLeftPadding="10%p" + latin:keyboardRightPadding="10%p" latin:keyWidth="13.250%p" latin:touchPositionCorrectionData="@array/touch_position_correction_data_default" > diff --git a/java/res/xml-sw768dp-land/kbd_phone_symbols.xml b/java/res/xml-sw768dp-land/kbd_phone_symbols.xml index eaa413e7d..6038b1f1e 100644 --- a/java/res/xml-sw768dp-land/kbd_phone_symbols.xml +++ b/java/res/xml-sw768dp-land/kbd_phone_symbols.xml @@ -20,7 +20,8 @@ <Keyboard xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" - latin:keyboardHorizontalEdgesPadding="10%p" + latin:keyboardLeftPadding="10%p" + latin:keyboardRightPadding="10%p" latin:keyWidth="13.250%p" latin:touchPositionCorrectionData="@array/touch_position_correction_data_default" > diff --git a/java/res/xml/prefs.xml b/java/res/xml/prefs.xml index da6e60107..5ed0bb029 100644 --- a/java/res/xml/prefs.xml +++ b/java/res/xml/prefs.xml @@ -145,6 +145,7 @@ <CheckBoxPreference android:key="pref_sliding_key_input_preview" android:title="@string/sliding_key_input_preview" + android:summary="@string/sliding_key_input_preview_summary" android:persistent="true" android:defaultValue="true" /> <ListPreference |