mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-19 08:20:15 +00:00
Add paste icon
This commit is contained in:
parent
972a77ef3a
commit
de924ce3a5
11 changed files with 20 additions and 2 deletions
|
@ -52,6 +52,7 @@ public final class KeyboardIconsSet {
|
|||
public static final String NAME_PREVIOUS_KEY = "previous_key";
|
||||
public static final String NAME_TAB_KEY = "tab_key";
|
||||
public static final String NAME_SHORTCUT_KEY = "shortcut_key";
|
||||
public static final String NAME_PASTE_KEY = "paste_key";
|
||||
public static final String NAME_INCOGNITO_KEY = "incognito_key";
|
||||
public static final String NAME_SHORTCUT_KEY_DISABLED = "shortcut_key_disabled";
|
||||
public static final String NAME_LANGUAGE_SWITCH_KEY = "language_switch_key";
|
||||
|
@ -80,6 +81,7 @@ public final class KeyboardIconsSet {
|
|||
NAME_PREVIOUS_KEY, R.styleable.Keyboard_iconPreviousKey,
|
||||
NAME_TAB_KEY, R.styleable.Keyboard_iconTabKey,
|
||||
NAME_SHORTCUT_KEY, R.styleable.Keyboard_iconShortcutKey,
|
||||
NAME_PASTE_KEY, R.styleable.Keyboard_iconPasteKey,
|
||||
NAME_INCOGNITO_KEY, R.styleable.Keyboard_iconIncognitoKey,
|
||||
NAME_SPACE_KEY_FOR_NUMBER_LAYOUT, R.styleable.Keyboard_iconSpaceKeyForNumberLayout,
|
||||
NAME_SHIFT_KEY_SHIFTED, R.styleable.Keyboard_iconShiftKeyShifted,
|
||||
|
|
|
@ -166,8 +166,7 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
|
|||
R.styleable.Keyboard, defStyle, R.style.SuggestionStripView);
|
||||
final Drawable iconVoice = keyboardAttr.getDrawable(R.styleable.Keyboard_iconShortcutKey);
|
||||
final Drawable iconIncognito = keyboardAttr.getDrawable(R.styleable.Keyboard_iconIncognitoKey);
|
||||
//TODO: create and set a different icon for this
|
||||
final Drawable iconPaste = keyboardAttr.getDrawable(R.styleable.Keyboard_iconSendKey);
|
||||
final Drawable iconPaste = keyboardAttr.getDrawable(R.styleable.Keyboard_iconPasteKey);
|
||||
keyboardAttr.recycle();
|
||||
mVoiceKey.setImageDrawable(iconVoice);
|
||||
mVoiceKey.setOnClickListener(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue