mirror of https://github.com/FongMi/TV.git
parent
7edf94581c
commit
91849986a8
@ -0,0 +1,14 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:tools="http://schemas.android.com/tools" |
||||
android:id="@+id/text" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
android:background="@drawable/shape_text" |
||||
android:ellipsize="marquee" |
||||
android:focusable="true" |
||||
android:focusableInTouchMode="true" |
||||
android:singleLine="true" |
||||
android:textColor="@color/text" |
||||
android:textSize="14sp" |
||||
tools:text="中文、哥斯拉.srt" /> |
||||
@ -1,50 +1,9 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
<com.fongmi.android.tv.ui.custom.CustomRecyclerView xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||
android:id="@+id/recycler" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
android:orientation="vertical"> |
||||
|
||||
<androidx.viewpager.widget.ViewPager |
||||
android:id="@+id/track_selection_dialog_view_pager" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="200dp"> |
||||
|
||||
<com.google.android.material.tabs.TabLayout |
||||
android:id="@+id/track_selection_dialog_tab_layout" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
app:tabGravity="fill" |
||||
app:tabMode="fixed" /> |
||||
|
||||
</androidx.viewpager.widget.ViewPager> |
||||
|
||||
<LinearLayout |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
android:layout_margin="16dp" |
||||
android:orientation="horizontal"> |
||||
|
||||
<TextView |
||||
android:id="@+id/track_selection_dialog_ok_button" |
||||
android:layout_width="0dp" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginEnd="16dp" |
||||
android:layout_weight="1" |
||||
android:background="@drawable/shape_text" |
||||
android:gravity="center" |
||||
android:text="@android:string/ok" |
||||
android:textColor="@color/white" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/track_selection_dialog_cancel_button" |
||||
android:layout_width="0dp" |
||||
android:layout_height="wrap_content" |
||||
android:layout_weight="1" |
||||
android:background="@drawable/shape_text" |
||||
android:gravity="center" |
||||
android:text="@android:string/cancel" |
||||
android:textColor="@color/white" /> |
||||
|
||||
</LinearLayout> |
||||
</LinearLayout> |
||||
android:padding="16dp" |
||||
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" |
||||
app:maxHeight="228dp" /> |
||||
Loading…
Reference in new issue