mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-04-29 19:18:07 +00:00
adjust clipboard toolbar key background
This commit is contained in:
parent
71ff8bc7aa
commit
f0410fd783
2 changed files with 2 additions and 1 deletions
|
@ -118,7 +118,7 @@ class ClipboardHistoryView @JvmOverloads constructor(
|
||||||
it.setOnTouchListener(this@ClipboardHistoryView)
|
it.setOnTouchListener(this@ClipboardHistoryView)
|
||||||
it.setOnClickListener(this@ClipboardHistoryView)
|
it.setOnClickListener(this@ClipboardHistoryView)
|
||||||
colors.setColor(it, ColorType.TOOL_BAR_KEY)
|
colors.setColor(it, ColorType.TOOL_BAR_KEY)
|
||||||
colors.setBackground(it, ColorType.TOOL_BAR_KEY)
|
colors.setBackground(it, ColorType.BACKGROUND)
|
||||||
}
|
}
|
||||||
colors.setBackground(clipboardStrip, ColorType.BACKGROUND)
|
colors.setBackground(clipboardStrip, ColorType.BACKGROUND)
|
||||||
initialized = true
|
initialized = true
|
||||||
|
|
|
@ -282,6 +282,7 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
|
||||||
public void onVisibilityChanged(@NonNull final View view, final int visibility) {
|
public void onVisibilityChanged(@NonNull final View view, final int visibility) {
|
||||||
super.onVisibilityChanged(view, visibility);
|
super.onVisibilityChanged(view, visibility);
|
||||||
if (view == this)
|
if (view == this)
|
||||||
|
// workaround for a bug with inline suggestions views that just keep showing up otherwise, https://github.com/Helium314/openboard/pull/386
|
||||||
mSuggestionsStrip.setVisibility(visibility);
|
mSuggestionsStrip.setVisibility(visibility);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue