❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀activity_main.xml

<?xml version="1.0" encoding="utf-8"?>
    xmlns:tools="http://schemas.android.com/tools"
    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:id="@+id/textView1"
        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:id="@+id/linearLayout3"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_weight="1.45"
        android:gravity="bottom"
        android:orientation="vertical" >

                    android:id="@+id/lrc"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:background="@drawable/lrc_bg"
            android:gravity="center" />

                    android:id="@+id/lrc1"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:textColor="@color/white"
            android:textSize="40pt" />
   

            android:id="@+id/linearLayout4"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_weight="0.15"
        android:background="@drawable/bottom_bg"
        android:orientation="vertical" >

                    android:id="@+id/linearLayout2"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
        
            android:gravity="center"
            android:orientation="vertical" >

                            android:id="@+id/textView2"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:gravity="center"
                android:padding="5dp"
                android:text="@string/time" />

                            android:id="@+id/seekBar1"
                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:id="@+id/linearLayout1"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_weight="0.18"
            android:gravity="center"
            android:orientation="horizontal" >

                            android:id="@+id/songlist"
                android:layout_width="42dp"
                android:layout_height="34dp"
                android:layout_marginRight="10dp"
                android:background="@drawable/list_button" />

                            android:id="@+id/pre"
                android:layout_width="41dp"
                android:layout_height="34dp"
                android:layout_gravity="center"
                android:layout_marginRight="10dp"
                android:background="@drawable/pre_button" />

                            android:id="@+id/mplay"
                android:layout_width="42dp"
                android:layout_height="34dp"
                android:layout_marginRight="10dp"
                android:background="@drawable/play_button" />

                            android:id="@+id/next"
                android:layout_width="40dp"
                android:layout_height="35dp"
                android:layout_marginRight="10dp"
                android:background="@drawable/next_button" />

                            android:id="@+id/update"
                android:layout_width="60dp"
                android:layout_height="40dp"
                android:background="@drawable/fresh" />
       
   

效果图:

 

❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀onelist.xml

<?xml version="1.0" encoding="utf-8"?>
            android:id="@+id/linearLayout1"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent" >

                    android:id="@+id/songtitle"
            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:id="@+id/songtime"
            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

<?xml version="1.0" encoding="utf-8"?>

            android:id="@+android:id/background"
        android:drawable="@drawable/progressbar_bg"/>

            android:id="@+android:id/progress"
        android:drawable="@drawable/process_e_bg"/>

❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀songlist.xml

<?xml version="1.0" encoding="utf-8"?>
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="@drawable/bg1" >

            android:id="@+id/totalcount"
        android:layout_width="fill_parent"
        android:layout_height="80dp"
        android:background="@drawable/top_bg"
        android:gravity="center"
        android:paddingBottom="8dp"
        android:paddingTop="8dp" />
              android:id="@+id/songtitle"
        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:id="@+id/linearLayout6"
        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:id="@+id/backmain"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/backmain" />

                    android:id="@+id/updatelist"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/listupdate" />

                    android:id="@+id/mode"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/mode" />
   

            android:id="@+id/linearLayout3"
        android:layout_width="match_parent"
        android:layout_height="fill_parent"
        android:layout_above="@+id/linearLayout6"
        android:layout_below="@+id/totalcount"
        android:orientation="vertical" >

       

                    android:id="@+id/listView1"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:background="@drawable/top_bg"
            android:divider="@color/white"
            android:fadingEdge="horizontal" >
       

   

            android:id="@+id/songtime"
        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

<?xml version="1.0" encoding="UTF-8"?>

       
       
       
       

 

❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀updatelist.xml

<?xml version="1.0" encoding="utf-8"?>
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/bg1"
    android:orientation="vertical" >

            android:id="@+id/linearLayout1"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        tools:ignore="UselessParent" >

                    android:id="@+id/linearLayout2"
            android:layout_width="match_parent"
            android:layout_height="104dp"
            android:gravity="center" >

                            android:id="@+id/button1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/update" />

                            android:id="@+id/button2"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_margin="20dp"
                android:text="@string/backsonglist" />
       

                    android:id="@+id/linearLayout4"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_weight="1.68"
            android:gravity="center"
            android:orientation="vertical"
            tools:ignore="InefficientWeight" >

                            android:id="@+id/progressBar1"
                style="?android:attr/progressBarStyleLarge"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:keepScreenOn="false"
                android:visibility="invisible" />

                            android:id="@+id/textView1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textSize="20sp" />
       

                    android:id="@+id/linearLayout3"
            android:layout_width="match_parent"
            android:layout_height="240dp"
            android:gravity="center"
            android:orientation="vertical" >
       
   

效果图:

❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀❀

 

 

更多相关文章

  1. Android(安卓)Studio简单的登录界面
  2. 浅谈android的selector背景选择器
  3. Android电源管理
  4. android的selector背景选择器
  5. Android(安卓)USB状态监控(解决scheme="file")
  6. 浅谈android的selector,背景选择器
  7. Android中的Selector 背景选择器
  8. 浅谈android的selector背景选择器
  9. Android(安卓)- GridView,自定义开关控件,状态选择器selector,自定

随机推荐

  1. Android 性能测试优质实践汇总
  2. Android推送之APNS 网站调用提供推送技术
  3. shared_ptr 指针释放数组
  4. Android展开/收缩列表 ExpandableListVie
  5. Android键盘事件处理流程
  6. Android: java应用程序进程启动过程的代
  7. Android中button自适应textsize
  8. android TextView 如何动态获取宽度
  9. Android(安卓)插件化分析(2)- 动态代理
  10. android Animation初探一