the command keys now execute commands only when pressed, not when held
This commit is contained in:
parent
d66a0c3f21
commit
2bfabd2ec8
1 changed files with 2 additions and 1 deletions
|
|
@ -12,12 +12,13 @@ public class SoftCommandKey extends SoftNumberKey {
|
|||
public SoftCommandKey(Context context, AttributeSet attrs) { super(context, attrs);}
|
||||
public SoftCommandKey(Context context, AttributeSet attrs, int defStyleAttr) { super(context, attrs, defStyleAttr);}
|
||||
|
||||
@Override protected void handleHold() {}
|
||||
|
||||
@Override
|
||||
protected String getTitle() {
|
||||
return getNumber(getId()) + "";
|
||||
}
|
||||
|
||||
|
||||
private String getTextSubTitle(int resId) {
|
||||
setTextSize(SettingsStore.SOFT_KEY_TITLE_SIZE);
|
||||
return getContext().getString(resId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue