explicitly disabled the focus of the Status Bar and the Suggestion Bar to prevent unwanted highlighting on some devices
This commit is contained in:
parent
399f7a414c
commit
908796c4f3
2 changed files with 16 additions and 1 deletions
|
|
@ -2,12 +2,18 @@
|
|||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:defaultFocusHighlightEnabled="false"
|
||||
android:focusable="false"
|
||||
android:focusableInTouchMode="false"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/suggestion_list_item"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:defaultFocusHighlightEnabled="false"
|
||||
android:focusable="false"
|
||||
android:focusableInTouchMode="false"
|
||||
android:gravity="center"
|
||||
android:paddingHorizontal="@dimen/candidate_padding_horizontal"
|
||||
android:textSize="@dimen/candidate_font_size" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue