android:layout_width="match_parent"
android:layout_height="wrap_content" >
<Button
android:id="@+id/previous_music"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:background="@drawable/previous_music_selector" />
<Button
android:id="@+id/repeat_music"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/previous_music"
android:background="@drawable/repeat_none_selector" />
<Button
android:id="@+id/play_music"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/repeat_music"
android:background="@drawable/play_selector" />
<Button
android:id="@+id/shuffle_music"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/play_music"
android:background="@drawable/shuffle_none_selector" />
<Button
android:id="@+id/next_music"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:background="@drawable/next_music_selector" />
</RelativeLayout>
<ListView
android:id="@+id/music_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/handle_btnlayout"
android:layout_marginBottom="50dp" >
</ListView>
<RelativeLayout
android:id="@+id/singleSong_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true" >
<ImageView
android:id="@+id/music_album"
android:layout_width="wrap_content"
android:layout_height="50dp"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:src="@drawable/ic_launcher" />
<RelativeLayout
android:id="@+id/music_about_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentBottom="true"
android:layout_alignTop="@+id/music_album"
android:layout_toRightOf="@id/music_album" >
<TextView
android:id="@+id/text1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_marginTop="5.0dp"
android:layout_marginLeft="5.0dp"
android:text="@string/siger"/>
<TextView
android:id="@+id/text2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/text1"
android:layout_alignParentLeft="true"
android:layout_marginLeft="5.0dp"
android:layout_marginT
op="8.0dp"
android:text="@string/time"/>"
</RelativeLayout>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:background="@drawable/play_queue_selector" />
【附】相关架构及资料
源码、笔记、视频。高级UI、性能优化、架构师课程、NDK、混合式开发(ReactNative+Weex)微信小程序、Flutter全方面的Android进阶实践技术,和技术大牛一起讨论交流解决问题。