Enter -> Alpha keyboard switcher in Emoji palette view
Bug: 11103091 Change-Id: I0c5384e9f148566d1ac1d178a8227eb913d59908main
parent
32cf6f85a2
commit
4746217247
|
@ -101,10 +101,10 @@
|
||||||
android:layout_weight="0.70"
|
android:layout_weight="0.70"
|
||||||
android:layout_height="match_parent" />
|
android:layout_height="match_parent" />
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/emoji_keyboard_send"
|
android:id="@+id/emoji_keyboard_alphabet2"
|
||||||
android:layout_width="0dip"
|
android:layout_width="0dip"
|
||||||
android:layout_weight="0.15"
|
android:layout_weight="0.15"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:src="@drawable/sym_keyboard_return_holo_dark" />
|
android:src="@drawable/ic_ime_switcher_dark" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</com.android.inputmethod.keyboard.EmojiPalettesView>
|
</com.android.inputmethod.keyboard.EmojiPalettesView>
|
||||||
|
|
|
@ -484,10 +484,10 @@ public final class EmojiPalettesView extends LinearLayout implements OnTabChange
|
||||||
spaceKey.setTag(Constants.CODE_SPACE);
|
spaceKey.setTag(Constants.CODE_SPACE);
|
||||||
spaceKey.setOnClickListener(this);
|
spaceKey.setOnClickListener(this);
|
||||||
emojiLp.setKeyProperties(spaceKey);
|
emojiLp.setKeyProperties(spaceKey);
|
||||||
final ImageView sendKey = (ImageView)findViewById(R.id.emoji_keyboard_send);
|
final ImageView alphabetKey2 = (ImageView)findViewById(R.id.emoji_keyboard_alphabet2);
|
||||||
sendKey.setBackgroundResource(mEmojiFunctionalKeyBackgroundId);
|
alphabetKey2.setBackgroundResource(mEmojiFunctionalKeyBackgroundId);
|
||||||
sendKey.setTag(Constants.CODE_ENTER);
|
alphabetKey2.setTag(Constants.CODE_SWITCH_ALPHA_SYMBOL);
|
||||||
sendKey.setOnClickListener(this);
|
alphabetKey2.setOnClickListener(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue