码迷,mamicode.com
首页 > 其他好文 > 详细

1600802002

时间:2018-12-12 00:25:33      阅读:125      评论:0      收藏:0      [点我收藏+]

标签:star   tco   技术分享   ssd   ndt   图片   music   .net   info   

1.界面截图:

技术分享图片

2.关键代码:

  1 <?xml version="1.0" encoding="utf-8"?>
  2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3     xmlns:tools="http://schemas.android.com/tools"
  4     xmlns:app="http://schemas.android.com/apk/res-auto"
  5     android:layout_width="match_parent"
  6     android:layout_height="match_parent"
  7     tools:context=".MainActivity"
  8     android:background="#696969"
  9     android:orientation="vertical"
 10     >
 11     <LinearLayout
 12         android:id="@+id/music_name"
 13         android:layout_width="match_parent"
 14         android:layout_height="50dp"
 15         android:orientation="vertical">
 16 
 17         <TextView
 18             android:layout_width="match_parent"
 19             android:layout_height="25dp"
 20             android:gravity="center"
 21             android:text="光年之外"
 22             android:textColor="#FFFFFF"
 23             android:textStyle="" />
 24         <TextView
 25             android:layout_width="match_parent"
 26             android:layout_height="25dp"
 27             android:text="--邓紫棋--"
 28             android:textColor="#000000"
 29             android:gravity="center"/>
 30     </LinearLayout>
 31 
 32     <LinearLayout
 33         android:id="@+id/pic_lyric"
 34         android:layout_width="match_parent"
 35         android:layout_height="430dp"
 36         android:orientation="horizontal"
 37         >
 38         <de.hdodenhof.circleimageview.CircleImageView
 39             android:layout_width="match_parent"
 40             android:layout_height="match_parent"
 41             android:src="@drawable/singer_pic"/>
 42     </LinearLayout>
 43 
 44     <LinearLayout
 45         android:id="@+id/progressbar"
 46         android:layout_width="match_parent"
 47         android:layout_height="10dp"
 48         android:orientation="horizontal">
 49 
 50         <SeekBar
 51             style="@android:style/Widget.ProgressBar.Horizontal"
 52             android:layout_width="match_parent"
 53             android:layout_height="wrap_content"
 54             android:progressDrawable="@drawable/layer_list_seekbar" />
 55     </LinearLayout>
 56     <LinearLayout
 57         android:layout_width="match_parent"
 58         android:layout_height="30dp">
 59 
 60     </LinearLayout>
 61     <LinearLayout
 62         android:id="@+id/action"
 63         android:layout_width="match_parent"
 64         android:layout_height="60dp"
 65         android:orientation="horizontal">
 66 
 67         <LinearLayout
 68             android:layout_width="wrap_content"
 69             android:layout_height="match_parent"
 70             android:layout_weight="1">
 71 
 72             <ImageButton
 73                 android:id="@+id/bt_model"
 74                 android:layout_width="wrap_content"
 75                 android:layout_height="wrap_content"
 76                 android:scaleType="fitCenter"
 77                 android:backgroundTint="#FFFFFF"
 78                 android:src="@drawable/model" />
 79         </LinearLayout>
 80         <LinearLayout
 81             android:layout_width="wrap_content"
 82             android:layout_height="match_parent"
 83             android:layout_weight="1">
 84             <ImageButton
 85                 android:id="@+id/bt_last"
 86                 android:layout_width="match_parent"
 87                 android:layout_height="match_parent"
 88                 android:scaleType="fitCenter"
 89                 android:backgroundTint="#FFFFFF"
 90                 android:src="@drawable/last"
 91                 />
 92 
 93         </LinearLayout>
 94         <LinearLayout
 95             android:layout_width="wrap_content"
 96             android:layout_height="match_parent"
 97             android:layout_weight="1">
 98             <ImageButton
 99                 android:id="@+id/bt_start"
100                 android:layout_width="match_parent"
101                 android:layout_height="match_parent"
102                 android:scaleType="fitCenter"
103                 android:backgroundTint="#FFFFFF"
104                 android:src="@drawable/start"/>
105         </LinearLayout>
106         <LinearLayout
107             android:layout_width="wrap_content"
108             android:layout_height="match_parent"
109             android:layout_weight="1">
110             <ImageButton
111                 android:id="@+id/bt_next"
112                 android:layout_width="match_parent"
113                 android:layout_height="match_parent"
114                 android:scaleType="fitCenter"
115                 android:backgroundTint="#FFFFFF"
116                 android:src="@drawable/next"/>
117         </LinearLayout>
118         <LinearLayout
119             android:layout_width="wrap_content"
120             android:layout_height="match_parent"
121             android:layout_weight="1">
122             <ImageButton
123                 android:id="@+id/bt_list"
124                 android:layout_width="match_parent"
125                 android:layout_height="match_parent"
126                 android:scaleType="fitCenter"
127                 android:backgroundTint="#FFFFFF"
128                 android:src="@drawable/music_list"/>
129         </LinearLayout>
130 
131 
132     </LinearLayout>
133 
134 </LinearLayout>

3.代码链接:https://git.coding.net/ck__/Android_finalwork.git

 

1600802002

标签:star   tco   技术分享   ssd   ndt   图片   music   .net   info   

原文地址:https://www.cnblogs.com/ck03/p/10105319.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!