The Android source code for beginners music player design and source code Show musicplayer2.xml Source code
Return
Download The Android source code for beginners music player design and source code:
download musicplayer2.xml Source code
- Download The Android source code for beginners music player design and source code Source code - Type:.xml
- <?xml version="1.0" encoding="utf-8"?>
- <FrameLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:background="@drawable/back0">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/albumPic"
- android:src="@drawable/item"
- android:layout_gravity="center"
- />
- <LinearLayout
- android:background="@drawable/button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:layout_gravity="top|center_horizontal"
- android:gravity="center"
- android:layout_marginTop="5dip">
- <TextView
- android:id="@+id/musicname"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="笨蛋"
- android:textStyle="bold"
- android:textSize="18dip"
- android:textColor="#ffffff"
- />
- <TextView
- android:id="@+id/artist"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="金莎"
- android:layout_marginTop="5dip"
- android:textColor="#ffffff"
- />
- <RelativeLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- >
- <ImageButton
- android:background="@drawable/loop_none"
- android:id="@+id/loop"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_centerVertical="true"
- />
- <ImageButton
- android:background="@drawable/random"
- android:id="@+id/random"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:layout_centerVertical="true"
- />
- <SeekBar
- android:id="@+id/volum"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_toRightOf="@id/loop"
- android:layout_toLeftOf="@id/random"
- android:layout_centerVertical="true"
- android:paddingLeft="5dip"
- android:paddingRight="5dip"
- android:progressDrawable="@drawable/seekbar_img"
- android:thumb="@drawable/media_player_progress_button"
- />
- </RelativeLayout>
- </LinearLayout>
- <RelativeLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal|bottom"
- android:gravity="center"
- >
- <TextView
- android:id="@+id/lrc"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="暂无歌词文件..."
- android:textColor="#ffffff"
- android:layout_centerHorizontal="true"
- android:gravity="center"
- />
- <LinearLayout
- android:background="@drawable/button"
- android:orientation="vertical"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:layout_gravity="center"
- android:layout_centerHorizontal="true"
- >
- <RelativeLayout
- android:id="@+id/playstatus"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_below="@id/lrc"
- >
- <TextView
- android:id="@+id/playtime"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_centerVertical="true"
- android:text="00:00"
- />
- <TextView
- android:id="@+id/duration"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:layout_centerVertical="true"
- android:text="04:53"
- />
- <SeekBar
- android:id="@+id/seekbar"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_toRightOf="@id/playtime"
- android:layout_toLeftOf="@id/duration"
- android:layout_centerVertical="true"
- android:paddingLeft="5dip"
- android:paddingRight="5dip"
- android:progressDrawable="@drawable/seekbar_img"
- android:thumb="@drawable/media_player_progress_button"
- />
- </RelativeLayout>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:layout_gravity="center"
- android:layout_centerHorizontal="true"
- android:layout_below="@id/playstatus"
- android:layout_marginTop="20dip"
- >
- <ImageButton
- android:id="@+id/lastOne"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:scaleType="fitCenter"
- android:layout_marginRight="30dip"
- android:background="@drawable/latest_selecor"
- />
- <ImageButton
- android:id="@+id/rewindBtn"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:scaleType="fitCenter"
- android:layout_marginRight="30dip"
- android:background="@drawable/rewind_selecor"
- />
- <ImageButton
- android:id="@+id/playBtn"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:scaleType="fitCenter"
- android:background="@drawable/play_selecor"
- />
- <ImageButton
- android:id="@+id/forwardBtn"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:scaleType="fitCenter"
- android:layout_marginLeft="30dip"
- android:background="@drawable/forward_selecor"
- />
- <ImageButton
- android:id="@+id/nextOne"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:scaleType="fitCenter"
- android:layout_marginLeft="30dip"
- android:background="@drawable/next_selecor"
- />
- </LinearLayout>
- </LinearLayout>
- </RelativeLayout>
- </FrameLayout>
downloadmusicplayer2.xml Source code
- Download The Android source code for beginners music player design and source code Source code
Related Source Codes/Software:
The Android source code to use baidu weather love weather program source code - What's the weather like in this project is an andr... 2016-12-31
Textview perfect display HTML code - Textview perfect display HTML code, including cust... 2016-12-31
Eliminate to bring Android game source code list diamond little game - This project is a based on android AndEngine open ... 2016-12-31
Fast sliding Android example source code letters index and prompt contact list - A simple fast sliding contact list and initials pr... 2016-12-31
The Android source Jane. Beautiful music player development program source code - This project is an open source music player progra... 2016-12-31
skeuocard - Skeuocard progressively enhances credit card input... 2016-12-31
hubot-scripts - DEPRECATED, see https://github.com/github/hubot-sc... 2016-12-31
Jcrop - Jcrop (official) - Image Cropping Plugin for jQuer... 2016-12-31
volt - A Ruby web framework where your Ruby runs on both ... 2016-12-31
touchstonejs - Mobile App Framework powered by React
... 2016-12-31
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets
https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps
... 2017-06-10
angular-starter - 2017-06-10