[Galaxy S II General] remuntada78:
Hi to all ,i tried to add the numbers row in the samsung keyboard, i made changes in SansungIME/res/xml/qwerty-it i added the red lines

<?xml version="1.0" encoding="utf-8"?>
<Keyboard android:screenOrientation="portrait" android:keyWidth="@dimen/qwerty_default_key_width" android:keyHeight="@dimen/qwerty_default_key_height" android:horizontalGap="@dimen/qwerty_default_key_horizontal_gap" android:verticalGap="@dimen/qwerty_default_key_vertical_gap"
xmlns:android="http://schemas.android.com/apk/res/android">
<Row android:keyHeight="0.0px" android:verticalGap="@dimen/qwerty_first_line_vertical_gap">
<Key android:keyWidth="100.0%p" android:codes="-257" android:keyLabel="StrEmpty" />
</Row>
[COLOR="Red"] <Row android:keyHeight="@dimen/qwerty_number_key_height" android:rowEdgeFlags="top">
<Key android:horizontalGap="@dimen/qwerty_first_col_horizontal_gap" android:codes="49" android:keyEdgeFlags="left" android:keyLabel="1" />
<Key android:codes="50" android:keyLabel="2" />
<Key android:codes="51" android:keyLabel="3" />
<Key android:codes="52" android:keyLabel="4" />
<Key android:codes="53" android:keyLabel="5" />
<Key android:codes="54" android:keyLabel="6" />
<Key android:codes="55" android:keyLabel="7" />
<Key android:codes="56" android:keyLabel="8" />
<Key android:codes="57" android:keyLabel="9" />
<Key android:codes="48" android:keyEdgeFlags="right" android:keyLabel="0" />
</Row>	[/COLOR]
<Row>
<Key android:horizontalGap="@dimen/qwerty_first_col_horizontal_gap" android:codes="113" android:popupCharacters="@string/default_umlaut_q" android:keyEdgeFlags="left" android:keyLabel="q" />
<Key android:codes="119" android:popupCharacters="@string/default_umlaut_w" android:keyLabel="w" />
<Key android:codes="101" android:popupCharacters="@string/default_umlaut_e" android:keyLabel="e" />
<Key android:codes="114" android:popupCharacters="@string/default_umlaut_r" android:keyLabel="r" />
<Key android:codes="116" android:popupCharacters="@string/default_umlaut_t" android:keyLabel="t" />
<Key android:codes="121" android:popupCharacters="@string/default_umlaut_y" android:keyLabel="y" />
<Key android:codes="117" android:popupCharacters="@string/default_umlaut_u" android:keyLabel="u" />
<Key android:codes="105" android:popupCharacters="@string/default_umlaut_i" android:keyLabel="i" />
<Key android:codes="111" android:popupCharacters="@string/default_umlaut_o" android:keyLabel="o" />
<Key android:codes="112" android:popupCharacters="@string/default_umlaut_p" android:keyEdgeFlags="right" android:keyLabel="p" />
</Row>
<Row>
<Key android:horizontalGap="@dimen/qwerty_first_col_horizontal_gap_second_line" android:codes="97" android:popupCharacters="@string/default_umlaut_a" android:keyEdgeFlags="left" android:keyLabel="a" />
<Key android:codes="115" android:popupCharacters="@string/default_umlaut_s" android:keyLabel="s" />
<Key android:codes="100" android:popupCharacters="@string/default_umlaut_d" android:keyLabel="d" />
<Key android:codes="102" android:popupCharacters="@string/default_umlaut_f" android:keyLabel="f" />
<Key android:codes="103" android:popupCharacters="@string/default_umlaut_g" android:keyLabel="g" />
<Key android:codes="104" android:popupCharacters="@string/default_umlaut_h" android:keyLabel="h" />
<Key android:codes="106" android:popupCharacters="@string/default_umlaut_j" android:keyLabel="j" />
<Key android:codes="107" android:popupCharacters="@string/default_umlaut_k" android:keyLabel="k" />
<Key android:codes="108" android:popupCharacters="@string/default_umlaut_l" android:keyEdgeFlags="right" android:keyLabel="l" />
</Row>
<Row>
<Key android:keyWidth="@dimen/qwerty_l_shift_key_width" android:horizontalGap="@dimen/qwerty_first_col_horizontal_gap" android:codes="-400" android:keyEdgeFlags="left" android:keyLabel="StrEmpty" />
<Key android:horizontalGap="@dimen/qwerty_horizontal_gap_right_of_shift" android:codes="122" android:popupCharacters="@string/default_umlaut_z" android:keyLabel="z" />
<Key android:codes="120" android:popupCharacters="@string/default_umlaut_x" android:keyLabel="x" />
<Key android:codes="99" android:popupCharacters="@string/default_umlaut_c" android:keyLabel="c" />
<Key android:codes="118" android:popupCharacters="@string/default_umlaut_v" android:keyLabel="v" />
<Key android:codes="98" android:popupCharacters="@string/default_umlaut_b" android:keyLabel="b" />
<Key android:codes="110" android:popupCharacters="@string/default_umlaut_n" android:keyLabel="n" />
<Key android:codes="109" android:popupCharacters="@string/default_umlaut_m" android:keyLabel="m" />
<Key android:keyWidth="@dimen/qwerty_backspace_key_width" android:horizontalGap="@dimen/qwerty_horizontal_gap_left_of_backspace" android:codes="-5" android:keyEdgeFlags="right" android:isRepeatable="true" android:keyIcon="@drawable/qwerty_key_icon_backspace_xml" />
</Row>
<Row android:rowEdgeFlags="bottom" android:keyboardMode="@id/mode_normal">
<Key android:keyWidth="@dimen/qwerty_input_mode_key_width_multi_language" android:horizontalGap="@dimen/qwerty_first_col_horizontal_gap" android:codes="-102" android:keyEdgeFlags="left" android:keyLabel="\?123" />
<Key android:codes="-108" android:keyIcon="@drawable/qwerty_key_icon_language_change_xml" />
<Key android:codes="-117" android:popupKeyboard="@xml/popup_multimodal_keyboard" />
<Key android:keyWidth="@dimen/qwerty_space_key_width" android:horizontalGap="@dimen/qwerty_horizontal_gap_left_of_space" android:codes="32" />
<Key android:horizontalGap="@dimen/qwerty_horizontal_gap_right_of_space" android:codes="-122" android:popupKeyboard="@xml/popup_template_keyboard" android:keyLabel="." />
<Key android:keyWidth="@dimen/qwerty_enter_key_width_multi_language" android:codes="10" android:keyEdgeFlags="right" android:keyLabel="StrEmpty" />
</Row>
<Row android:rowEdgeFlags="bottom" android:keyboardMode="@id/mode_single_language">
<Key android:keyWidth="@dimen/qwerty_input_mode_key_width" android:horizontalGap="@dimen/qwerty_first_col_horizontal_gap" android:codes="-102" android:keyEdgeFlags="left" android:keyLabel="\?123" />
<Key android:codes="-117" android:popupKeyboard="@xml/popup_multimodal_keyboard" />
<Key android:keyWidth="@dimen/qwerty_space_key_width_no_voice" android:horizontalGap="@dimen/qwerty_horizontal_gap_left_of_space" android:codes="32" />
<Key android:horizontalGap="@dimen/qwerty_horizontal_gap_right_of_space" android:codes="-122" android:popupKeyboard="@xml/popup_template_keyboard" android:keyLabel="." />
<Key android:keyWidth="@dimen/qwerty_enter_key_width" android:codes="10" android:keyEdgeFlags="right" android:keyLabel="StrEmpty" />
</Row>
<Row android:rowEdgeFlags="bottom" android:keyboardMode="@id/mode_url_single_language">
<Key android:keyWidth="@dimen/qwerty_input_mode_key_width_url" android:horizontalGap="@dimen/qwerty_first_col_horizontal_gap" android:codes="-102" android:keyEdgeFlags="left" android:keyLabel="\?123" />
<Key android:codes="-117" android:popupKeyboard="@xml/popup_multimodal_keyboard" />
<Key android:codes="47" android:keyLabel="/" />
<Key android:keyWidth="@dimen/qwerty_space_key_width_uri" android:horizontalGap="@dimen/qwerty_horizontal_gap_left_of_space" android:codes="32" />
<Key android:horizontalGap="@dimen/qwerty_horizontal_gap_right_of_space" android:codes="-122" android:popupKeyboard="@xml/popup_template_keyboard" android:keyLabel="." />
<Key android:keyWidth="@dimen/qwerty_www_dot_key_width" android:codes="-113" android:keyOutputText="@string/key_label_www_dot" android:keyLabel="@string/key_label_www_dot" />
<Key android:keyWidth="@dimen/qwerty_enter_key_width_url" android:codes="10" android:keyEdgeFlags="right" android:keyLabel="StrEmpty" />
</Row>
<Row android:rowEdgeFlags="bottom" android:keyboardMode="@id/mode_email_single_language">
<Key android:keyWidth="@dimen/qwerty_input_mode_key_width_email" android:horizontalGap="@dimen/qwerty_first_col_horizontal_gap" android:codes="-102" android:keyEdgeFlags="left" android:keyLabel="\?123" />
<Key android:codes="-117" android:popupKeyboard="@xml/popup_multimodal_keyboard" />
<Key android:codes="64" android:keyLabel="\@" />
<Key android:keyWidth="@dimen/qwerty_space_key_width_email" android:horizontalGap="@dimen/qwerty_horizontal_gap_left_of_space" android:codes="32" />
<Key android:horizontalGap="@dimen/qwerty_horizontal_gap_right_of_space" android:codes="-122" android:popupKeyboard="@xml/popup_template_keyboard" android:keyLabel="." />
<Key android:keyWidth="@dimen/qwerty_dot_com_key_width" android:codes="-114" android:popupKeyboard="@xml/popup_domain_keyboard" android:keyOutputText="@string/key_label_dot_com" android:keyLabel="@string/key_label_dot_com" />
<Key android:keyWidth="@dimen/qwerty_enter_key_width_email" android:codes="10" android:keyEdgeFlags="right" android:keyLabel="StrEmpty" />
</Row>
<Row android:rowEdgeFlags="bottom" android:keyboardMode="@id/mode_url">
<Key android:keyWidth="@dimen/qwerty_input_mode_key_width_url_multi_language" android:horizontalGap="@dimen/qwerty_first_col_horizontal_gap" android:codes="-102" android:keyEdgeFlags="left" android:keyLabel="\?123" />
<Key android:codes="-108" android:keyIcon="@drawable/qwerty_key_icon_language_change_xml" />
<Key android:codes="-117" android:popupKeyboard="@xml/popup_multimodal_keyboard" />
<Key android:codes="47" android:keyLabel="/" />
<Key android:keyWidth="@dimen/qwerty_space_key_width_uri_multi_language" android:horizontalGap="@dimen/qwerty_horizontal_gap_left_of_space_uri" android:codes="32" />
<Key android:horizontalGap="@dimen/qwerty_horizontal_gap_right_of_space_uri" android:codes="-122" android:popupKeyboard="@xml/popup_template_keyboard" android:keyLabel="." />
<Key android:keyWidth="@dimen/qwerty_www_dot_key_width_multi_language" android:codes="-113" android:keyOutputText="@string/key_label_www_dot" android:keyLabel="@string/key_label_www_dot" />
<Key android:keyWidth="@dimen/qwerty_enter_key_width_url_multi_language" android:codes="10" android:keyEdgeFlags="right" android:keyLabel="StrEmpty" />
</Row>
<Row android:rowEdgeFlags="bottom" android:keyboardMode="@id/mode_email">
<Key android:keyWidth="@dimen/qwerty_input_mode_key_width_email_multi_language" android:horizontalGap="@dimen/qwerty_first_col_horizontal_gap" android:codes="-102" android:keyEdgeFlags="left" android:keyLabel="\?123" />
<Key android:codes="-108" android:keyIcon="@drawable/qwerty_key_icon_language_change_xml" />
<Key android:codes="-117" android:popupKeyboard="@xml/popup_multimodal_keyboard" />
<Key android:codes="64" android:keyLabel="\@" />
<Key android:keyWidth="@dimen/qwerty_space_key_width_email_multi_language" android:horizontalGap="@dimen/qwerty_horizontal_gap_left_of_space_email" android:codes="32" />
<Key android:horizontalGap="@dimen/qwerty_horizontal_gap_right_of_space_email" android:codes="-122" android:popupKeyboard="@xml/popup_template_keyboard" android:keyLabel="." />
<Key android:keyWidth="@dimen/qwerty_dot_com_key_width_multi_language" android:codes="-114" android:popupKeyboard="@xml/popup_domain_keyboard" android:keyOutputText="@string/key_label_dot_com" android:keyLabel="@string/key_label_dot_com" />
<Key android:keyWidth="@dimen/qwerty_enter_key_width_email_multi_language" android:codes="10" android:keyEdgeFlags="right" android:keyLabel="StrEmpty" />
</Row>
[COLOR="Red"] <Row android:rowEdgeFlags="bottom" android:keyboardMode="@id/mode_comma">
<Key android:keyWidth="@dimen/qwerty_input_mode_key_width_multi_language" android:horizontalGap="@dimen/qwerty_first_col_horizontal_gap" android:codes="-102" android:keyEdgeFlags="left" android:keyLabel="\?123" />
<Key android:codes="-117" android:popupKeyboard="@xml/popup_multimodal_keyboard" />
<Key android:codes="44" android:keyLabel="," />
<Key android:keyWidth="@dimen/qwerty_space_key_width" android:horizontalGap="@dimen/qwerty_horizontal_gap_left_of_space" android:codes="32" />
<Key android:horizontalGap="@dimen/qwerty_horizontal_gap_right_of_space" android:codes="-122" android:popupKeyboard="@xml/popup_template_keyboard" android:keyLabel="." />
<Key android:keyWidth="@dimen/qwerty_enter_key_width_multi_language" android:codes="10" android:keyEdgeFlags="right" android:keyLabel="StrEmpty" />
</Row>	[/COLOR]
<Row android:keyHeight="0.0px" android:horizontalGap="0.0px" android:verticalGap="@dimen/qwerty_last_line_vertical_gap">
<Key android:keyWidth="100.0%p" android:codes="-257" android:keyLabel="StrEmpty" />
</Row>
</Keyboard>

this is what I got :rolleyes:

but when i press on a key i've FC this is the logcat View attachment logcat.zip

i hope someone can help me