mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-16 23:12:47 +00:00
replace some dividers with shape drawables, avoids them turning green depending on some display settings
This commit is contained in:
parent
cbfa934721
commit
c2f4b617b3
23 changed files with 21 additions and 6 deletions
|
@ -56,10 +56,6 @@ public class MoreKeysKeyboardView extends KeyboardView implements MoreKeysPanel
|
|||
final TypedArray moreKeysKeyboardViewAttr = context.obtainStyledAttributes(attrs,
|
||||
R.styleable.MoreKeysKeyboardView, defStyle, R.style.MoreKeysKeyboardView);
|
||||
mDivider = moreKeysKeyboardViewAttr.getDrawable(R.styleable.MoreKeysKeyboardView_divider);
|
||||
if (mDivider != null) {
|
||||
// TODO: Drawable itself should have an alpha value.
|
||||
mDivider.setAlpha(128);
|
||||
}
|
||||
moreKeysKeyboardViewAttr.recycle();
|
||||
mKeyDetector = new MoreKeysDetector(getResources().getDimension(
|
||||
R.dimen.config_more_keys_keyboard_slide_allowance));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue