diff options
| author | Jules Aguillon | 2021-12-19 19:44:27 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2021-12-19 19:44:27 +0100 |
| commit | 1cfecbdf48edb65cc0be8b017c8f389f91212a32 (patch) | |
| tree | c15f27b20e63aaf959cbf7d91701b3cfff01b098 /srcs/juloo.keyboard2/EmojiKeyButton.java | |
| parent | 988d8db7e8a6f539a8e6f40c66df7b87571a88e9 (diff) | |
| download | unexpected-keyboard-1cfecbdf48edb65cc0be8b017c8f389f91212a32.tar.gz unexpected-keyboard-1cfecbdf48edb65cc0be8b017c8f389f91212a32.zip | |
Auto-format Java and XML files
Use xmllint.
Re-indent Java files using spaces.
Diffstat (limited to 'srcs/juloo.keyboard2/EmojiKeyButton.java')
| -rw-r--r-- | srcs/juloo.keyboard2/EmojiKeyButton.java | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/srcs/juloo.keyboard2/EmojiKeyButton.java b/srcs/juloo.keyboard2/EmojiKeyButton.java index de9f206..3f86b1b 100644 --- a/srcs/juloo.keyboard2/EmojiKeyButton.java +++ b/srcs/juloo.keyboard2/EmojiKeyButton.java @@ -6,24 +6,24 @@ import android.view.View; import android.widget.Button; public class EmojiKeyButton extends Button - implements View.OnClickListener + implements View.OnClickListener { - KeyValue _key; + KeyValue _key; - public EmojiKeyButton(Context context, AttributeSet attrs) - { - super(context, attrs); - setOnClickListener(this); - _key = KeyValue.getKeyByName(attrs.getAttributeValue(null, "key")); - setText(_key.symbol); - if ((_key.flags & KeyValue.FLAG_KEY_FONT) != 0) - setTypeface(((Keyboard2)context).getSpecialKeyFont()); - } + public EmojiKeyButton(Context context, AttributeSet attrs) + { + super(context, attrs); + setOnClickListener(this); + _key = KeyValue.getKeyByName(attrs.getAttributeValue(null, "key")); + setText(_key.symbol); + if ((_key.flags & KeyValue.FLAG_KEY_FONT) != 0) + setTypeface(((Keyboard2)context).getSpecialKeyFont()); + } - public void onClick(View v) - { - Keyboard2 main = (Keyboard2)getContext(); + public void onClick(View v) + { + Keyboard2 main = (Keyboard2)getContext(); - main.handleKeyUp(_key, 0); - } + main.handleKeyUp(_key, 0); + } } |
