Update Search UI

pull/102/head
FongMi 4 years ago
parent c4d4f71d61
commit 658c91887e
  1. 2
      app/src/leanback/res/layout/activity_search.xml
  2. 6
      app/src/leanback/res/layout/adapter_keyboard_icon.xml
  3. 5
      app/src/leanback/res/layout/adapter_keyboard_text.xml

@ -59,7 +59,7 @@
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/keyboard"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clipChildren="false"
android:clipToPadding="false"

@ -2,10 +2,10 @@
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/icon"
android:layout_width="44dp"
android:layout_height="44dp"
android:layout_width="match_parent"
android:layout_height="40dp"
android:background="@drawable/selector_keyboard"
android:focusable="true"
android:scaleType="center"
android:focusableInTouchMode="true"
android:padding="6dp"
tools:src="@drawable/ic_keyboard_back" />

@ -2,13 +2,12 @@
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/text"
android:layout_width="44dp"
android:layout_height="44dp"
android:layout_width="match_parent"
android:layout_height="40dp"
android:background="@drawable/selector_keyboard"
android:focusable="true"
android:focusableInTouchMode="true"
android:gravity="center"
android:padding="6dp"
android:textColor="@color/white"
android:textSize="16sp"
tools:text="0" />

Loading…
Cancel
Save