mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-06-28 08:03:20 +00:00
490b250db6
-Fixed local playlist header margins.
56 lines
2.1 KiB
XML
56 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="6dp"
|
|
android:background="?attr/contrast_background_color">
|
|
|
|
<TextView
|
|
android:id="@+id/playlist_title_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="6dp"
|
|
android:layout_marginRight="6dp"
|
|
android:padding="6dp"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentTop="true"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:ellipsize="marquee"
|
|
android:fadingEdge="horizontal"
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
android:scrollHorizontally="true"
|
|
android:singleLine="true"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
android:textSize="@dimen/playlist_detail_title_text_size"
|
|
tools:text="Mix musics #23 title Lorem ipsum dolor sit amet, consectetur..."/>
|
|
|
|
<TextView
|
|
android:id="@+id/playlist_stream_count"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/playlist_title_view"
|
|
android:layout_alignParentLeft="true"
|
|
android:paddingLeft="12dp"
|
|
android:paddingRight="12dp"
|
|
android:ellipsize="end"
|
|
android:gravity="right|center_vertical"
|
|
android:maxLines="1"
|
|
android:textSize="@dimen/playlist_detail_subtext_size"
|
|
tools:ignore="RtlHardcoded"
|
|
tools:text="234 videos"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/playlist_stream_count">
|
|
|
|
<include layout="@layout/playlist_control"/>
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout> |