a_play_list.xml 1.81 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:orientation="vertical"
              android:padding="16sp"
              android:background="@drawable/ic_general_bg"
              android:layout_width="match_parent"
              android:layout_height="match_parent">

    <LinearLayout android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:orientation="horizontal"
                  android:gravity="center|left"
    >


        <TextView android:layout_width="0dp"
                  android:layout_weight="1"
                  android:layout_height="wrap_content"
                  android:layout_marginTop="10dp"
                  android:gravity="center|left"
                  android:drawableLeft="@drawable/ic_arrow"
                  android:layout_marginLeft="40dp"
                  android:id="@+id/type_tv"
                  android:text="@string/play_list"
                  android:textSize="40sp"/>
        <Button android:layout_width="wrap_content"
                android:layout_marginTop="10dp"
                android:background="@drawable/grid_selector"
                android:layout_height="40dp"
                android:onClick="toSetting"
                android:textColor="@color/general_text_color"
                android:textSize="28sp"
                android:text="@string/into_setting"/>
    </LinearLayout>
    <ListView
            android:layout_marginTop="40dp"
            android:scrollbars="none"
            android:layout_marginLeft="40dp"
            android:listSelector="@drawable/grid_selector"
            android:id="@+id/list"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

    </ListView>

</LinearLayout>