refactor(ui): adjust TV preference layout structure

This commit is contained in:
2026-03-28 21:30:02 +01:00
parent 4108cf2c7c
commit 453e6e5b71
2 changed files with 15 additions and 1 deletions

View File

@@ -6,7 +6,7 @@
android:orientation="vertical" android:orientation="vertical"
android:padding="8dp"> android:padding="8dp">
<androidx.preference.PreferenceViewHolder <FrameLayout
android:id="@android:id/widget_frame" android:id="@android:id/widget_frame"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/selector_preference_focus"
android:orientation="vertical"
android:padding="8dp">
<FrameLayout
android:id="@android:id/widget_frame"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>