❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀activity_main.xml
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:background="@drawable/bg1"
android:orientation="vertical"
tools:context=".MainActivity" >
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="0.42"
android:background="@drawable/top_bg"
android:gravity="center"
android:text="@string/app_title"
android:textSize="24sp" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1.45"
android:gravity="bottom"
android:orientation="vertical" >
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/lrc_bg"
android:gravity="center" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:textColor="@color/white"
android:textSize="40pt" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0.15"
android:background="@drawable/bottom_bg"
android:orientation="vertical" >
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="vertical" >
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:padding="5dp"
android:text="@string/time" />
android:layout_width="fill_parent"
android:layout_height="4dp"
android:maxHeight="4dp"
android:paddingBottom="0dp"
android:paddingLeft="3dp"
android:paddingRight="3dp"
android:paddingTop="0dp"
android:progressDrawable="@layout/seek_bar"
android:thumb="@layout/thumb" />
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="0.18"
android:gravity="center"
android:orientation="horizontal" >
效果图:
❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀onelist.xml
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="left"
android:padding="10dp" android:layout_weight="10" android:textColor="@color/white"/>
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="right"
android:padding="10dp" android:layout_weight="2" android:textColor="@color/white"/>
❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀seek_bar.xml
android:drawable="@drawable/progressbar_bg"/>
android:drawable="@drawable/process_e_bg"/>
❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀songlist.xml
android:layout_height="fill_parent"
android:background="@drawable/bg1" >
android:layout_width="fill_parent"
android:layout_height="80dp"
android:background="@drawable/top_bg"
android:gravity="center"
android:paddingBottom="8dp"
android:paddingTop="8dp" />
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/totalcount"
android:layout_alignParentLeft="true"
android:gravity="left"
android:padding="5dp"
android:text="@string/music_text" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="@drawable/top_bg"
android:gravity="center"
android:paddingBottom="8dp"
android:paddingTop="8dp" >
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:layout_above="@+id/linearLayout6"
android:layout_below="@+id/totalcount"
android:orientation="vertical" >
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/top_bg"
android:divider="@color/white"
android:fadingEdge="horizontal" >
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/linearLayout3"
android:layout_alignParentRight="true"
android:gravity="right"
android:padding="5dp"
android:text="@string/time_text" />
效果图:
❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀thumb.xml
❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀updatelist.xml
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/bg1"
android:orientation="vertical" >
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:ignore="UselessParent" >
android:layout_width="match_parent"
android:layout_height="104dp"
android:gravity="center" >
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1.68"
android:gravity="center"
android:orientation="vertical"
tools:ignore="InefficientWeight" >
style="?android:attr/progressBarStyleLarge"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:keepScreenOn="false"
android:visibility="invisible" />
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="20sp" />
android:layout_width="match_parent"
android:layout_height="240dp"
android:gravity="center"
android:orientation="vertical" >
❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀