pull/280/head
FongMi 2 years ago
parent 3f1c8995ce
commit c7b2c2abac
  1. 8
      app/src/leanback/res/layout/activity_home.xml
  2. 2
      app/src/leanback/res/layout/activity_setting.xml
  3. 13
      app/src/leanback/res/layout/activity_setting_custom.xml
  4. 6
      app/src/leanback/res/layout/activity_setting_danmu.xml

@ -17,18 +17,18 @@
android:paddingBottom="8dp">
<LinearLayout
android:layout_gravity="start"
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
android:layout_gravity="start"
android:orientation="horizontal">
<com.fongmi.android.tv.ui.custom.CustomTitleView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:layout_marginRight="6dp"
android:focusable="false"
android:singleLine="true"
android:text="@string/app_name"
android:textColor="@color/white"
android:textSize="24dp" />

@ -271,8 +271,8 @@
android:id="@+id/custom"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginEnd="16dp"
android:layout_weight="1"
android:background="@drawable/selector_item"
android:focusable="true"
android:focusableInTouchMode="true"

@ -16,15 +16,14 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:orientation="horizontal">
<LinearLayout
android:id="@+id/quality"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginEnd="16dp"
android:layout_weight="1"
android:background="@drawable/selector_item"
android:focusable="true"
android:focusableInTouchMode="true"
@ -90,8 +89,8 @@
android:id="@+id/episode"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginEnd="16dp"
android:layout_weight="1"
android:background="@drawable/selector_item"
android:focusable="true"
android:focusableInTouchMode="true"
@ -157,8 +156,8 @@
android:id="@+id/displayTime"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginEnd="16dp"
android:layout_weight="1"
android:background="@drawable/selector_item"
android:focusable="true"
android:focusableInTouchMode="true"
@ -224,8 +223,8 @@
android:id="@+id/displayDuration"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginEnd="16dp"
android:layout_weight="1"
android:background="@drawable/selector_item"
android:focusable="true"
android:focusableInTouchMode="true"
@ -291,8 +290,8 @@
android:id="@+id/fullscreenMenuKey"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginEnd="16dp"
android:layout_weight="1"
android:background="@drawable/selector_item"
android:focusable="true"
android:focusableInTouchMode="true"
@ -345,8 +344,6 @@
tools:text="開啟" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</androidx.core.widget.NestedScrollView>

@ -17,7 +17,6 @@
android:id="@+id/danmuLoad"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:background="@drawable/selector_item"
android:focusable="true"
android:focusableInTouchMode="true"
@ -184,10 +183,5 @@
android:textSize="18sp" />
</LinearLayout>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
Loading…
Cancel
Save