|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<LinearLayout |
| 3 | + xmlns:android="http://schemas.android.com/apk/res/android" |
| 4 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
| 5 | + xmlns:tools="http://schemas.android.com/tools" |
| 6 | + android:layout_width="match_parent" |
| 7 | + android:layout_height="match_parent" |
| 8 | + android:orientation="vertical" |
| 9 | + android:padding="8dp"> |
| 10 | + |
| 11 | + <LinearLayout |
| 12 | + android:layout_width="match_parent" |
| 13 | + android:layout_height="0dp" |
| 14 | + android:layout_weight="1" |
| 15 | + android:orientation="vertical"> |
| 16 | + |
| 17 | + <LinearLayout |
| 18 | + android:id="@+id/sort_sources_holder" |
| 19 | + android:layout_width="match_parent" |
| 20 | + android:layout_height="0dp" |
| 21 | + android:layout_weight="1" |
| 22 | + android:layout_marginBottom="8dp" |
| 23 | + android:orientation="vertical"> |
| 24 | + |
| 25 | + <LinearLayout |
| 26 | + android:id="@+id/profiles_click_settings" |
| 27 | + android:layout_width="match_parent" |
| 28 | + android:layout_height="wrap_content" |
| 29 | + android:gravity="center_vertical" |
| 30 | + android:orientation="horizontal" |
| 31 | + android:padding="10dp"> |
| 32 | + |
| 33 | + <TextView |
| 34 | + android:layout_width="0dp" |
| 35 | + android:layout_height="wrap_content" |
| 36 | + android:layout_weight="1" |
| 37 | + android:text="@string/pick_source" |
| 38 | + android:textColor="?attr/textColor" |
| 39 | + android:textSize="20sp" |
| 40 | + android:textStyle="bold" /> |
| 41 | + |
| 42 | + <TextView |
| 43 | + android:id="@+id/source_settings_btt" |
| 44 | + android:layout_width="wrap_content" |
| 45 | + android:layout_height="wrap_content" |
| 46 | + android:gravity="center" |
| 47 | + android:minWidth="140dp" |
| 48 | + android:paddingHorizontal="10dp" |
| 49 | + android:textColor="?attr/textColor" |
| 50 | + android:textSize="15sp" |
| 51 | + app:drawableEndCompat="@drawable/ic_outline_settings_24" |
| 52 | + tools:text="@string/profile_number" /> |
| 53 | + </LinearLayout> |
| 54 | + |
| 55 | + <ListView |
| 56 | + android:id="@+id/sort_providers" |
| 57 | + android:layout_width="match_parent" |
| 58 | + android:layout_height="0dp" |
| 59 | + android:layout_weight="1" |
| 60 | + android:background="?attr/primaryBlackBackground" |
| 61 | + android:listSelector="@drawable/outline_drawable_forced" |
| 62 | + android:requiresFadingEdge="vertical" |
| 63 | + tools:listitem="@layout/sort_bottom_single_choice" /> |
| 64 | + </LinearLayout> |
| 65 | + |
| 66 | + <LinearLayout |
| 67 | + android:id="@+id/sort_subtitles_holder" |
| 68 | + android:layout_width="match_parent" |
| 69 | + android:layout_height="0dp" |
| 70 | + android:layout_weight="1" |
| 71 | + android:orientation="vertical"> |
| 72 | + |
| 73 | + <LinearLayout |
| 74 | + android:layout_width="match_parent" |
| 75 | + android:layout_height="wrap_content" |
| 76 | + android:orientation="horizontal" |
| 77 | + android:gravity="center_vertical" |
| 78 | + android:padding="10dp"> |
| 79 | + |
| 80 | + <LinearLayout |
| 81 | + android:layout_width="0dp" |
| 82 | + android:layout_height="wrap_content" |
| 83 | + android:layout_weight="1" |
| 84 | + android:orientation="horizontal" |
| 85 | + android:gravity="center_vertical"> |
| 86 | + |
| 87 | + <TextView |
| 88 | + android:id="@+id/subtitles_text" |
| 89 | + android:layout_width="wrap_content" |
| 90 | + android:layout_height="wrap_content" |
| 91 | + android:text="@string/pick_subtitle" |
| 92 | + android:textColor="?attr/textColor" |
| 93 | + android:textSize="20sp" |
| 94 | + android:textStyle="bold" /> |
| 95 | + |
| 96 | + <TextView |
| 97 | + android:id="@+id/subtitles_encoding_format" |
| 98 | + android:layout_width="wrap_content" |
| 99 | + android:layout_height="wrap_content" |
| 100 | + android:layout_marginStart="8dp" |
| 101 | + android:layout_marginTop="3dp" |
| 102 | + android:textColor="?attr/textColor" |
| 103 | + android:textSize="14sp" |
| 104 | + android:ellipsize="end" |
| 105 | + android:singleLine="true" |
| 106 | + tools:text="Thai (TIS 620-2533/ISO 8859-11)" /> |
| 107 | + </LinearLayout> |
| 108 | + |
| 109 | + <ImageView |
| 110 | + android:id="@+id/subtitle_settings_btt" |
| 111 | + android:layout_width="44dp" |
| 112 | + android:layout_height="44dp" |
| 113 | + android:contentDescription="@string/subtitles_settings" |
| 114 | + android:foreground="@drawable/outline_drawable_forced" |
| 115 | + android:padding="10dp" |
| 116 | + android:src="@drawable/ic_outline_settings_24" /> |
| 117 | + </LinearLayout> |
| 118 | + |
| 119 | + <LinearLayout |
| 120 | + android:layout_width="match_parent" |
| 121 | + android:layout_height="0dp" |
| 122 | + android:layout_weight="1" |
| 123 | + android:orientation="horizontal"> |
| 124 | + |
| 125 | + <ListView |
| 126 | + android:id="@+id/sort_subtitles" |
| 127 | + android:layout_width="0dp" |
| 128 | + android:layout_height="match_parent" |
| 129 | + android:layout_weight="1" |
| 130 | + android:background="?attr/primaryBlackBackground" |
| 131 | + android:listSelector="@drawable/outline_drawable_forced" |
| 132 | + android:requiresFadingEdge="vertical" |
| 133 | + tools:listitem="@layout/sort_bottom_single_choice" /> |
| 134 | + |
| 135 | + <ListView |
| 136 | + android:id="@+id/sort_subtitles_options" |
| 137 | + android:layout_width="0dp" |
| 138 | + android:layout_height="match_parent" |
| 139 | + android:layout_weight="1" |
| 140 | + android:background="?attr/primaryBlackBackground" |
| 141 | + android:listSelector="@drawable/outline_drawable_forced" |
| 142 | + android:requiresFadingEdge="vertical" |
| 143 | + tools:listitem="@layout/sort_bottom_single_choice" /> |
| 144 | + </LinearLayout> |
| 145 | + </LinearLayout> |
| 146 | + </LinearLayout> |
| 147 | + |
| 148 | + <LinearLayout |
| 149 | + android:id="@+id/apply_btt_holder" |
| 150 | + android:layout_width="match_parent" |
| 151 | + android:layout_height="wrap_content" |
| 152 | + android:gravity="end|center_vertical" |
| 153 | + android:padding="8dp" |
| 154 | + android:orientation="horizontal"> |
| 155 | + |
| 156 | + <com.google.android.material.button.MaterialButton |
| 157 | + android:id="@+id/apply_btt" |
| 158 | + android:layout_width="0dp" |
| 159 | + android:layout_weight="1" |
| 160 | + android:text="@string/sort_apply" |
| 161 | + style="@style/WhiteButton" /> |
| 162 | + |
| 163 | + <com.google.android.material.button.MaterialButton |
| 164 | + android:id="@+id/cancel_btt" |
| 165 | + android:layout_width="0dp" |
| 166 | + android:layout_weight="1" |
| 167 | + android:text="@string/sort_cancel" |
| 168 | + style="@style/BlackButton" /> |
| 169 | + </LinearLayout> |
| 170 | +</LinearLayout> |
0 commit comments