独立开发音乐播放器
来源:互联网 发布:dwg转换成pdf for mac 编辑:程序博客网 时间:2024/05/12 15:24
不懂的自己查找资料 学习坚持每天写一点 各种优化
第一先整体布置好ui布局 开始动手:
先找好素材, 修改了mainActivity 去掉title
第一先整体布置好ui布局 开始动手:
先找好素材, 修改了mainActivity 去掉title
去掉title 方法之前已近写过了就不多说了!
定义main.xml 进入应用程序的布局
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > <ImageView android:id="@+id/mainIco" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:src="@drawable/backg" /> <SeekBar android:id="@+id/seekBar" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="3pt" android:maxHeight="3pt" android:paddingLeft="2pt" android:paddingRight="2pt" android:scrollbars="horizontal" android:thumb="@drawable/bar" android:thumbOffset="1pt" /> <RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" > <TextView android:id="@+id/startTime" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:text="00:20" /> <TextView android:id="@+id/startTime" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" android:layout_alignParentTop="true" android:text="03:20" /> <ImageButton android:id="@+id/play" android:layout_width="10pt" android:layout_height="10pt" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:background="@drawable/image_button" android:src="@drawable/play" android:onClick="mediaPlay" /> <ImageButton android:id="@+id/fast" android:layout_width="10pt" android:layout_height="10pt" android:layout_alignBottom="@id/play" android:layout_toRightOf="@id/play" android:background="@drawable/image_button" android:src="@drawable/fast" /> <ImageButton android:id="@+id/next" android:layout_width="10pt" android:layout_height="10pt" android:layout_alignBottom="@id/fast" android:layout_toRightOf="@id/fast" android:background="@drawable/image_button" android:src="@drawable/next" /> <ImageButton android:id="@+id/slow" android:layout_width="10pt" android:layout_height="10pt" android:layout_alignBottom="@id/play" android:layout_toLeftOf="@id/play" android:background="@drawable/image_button" android:src="@drawable/slow" /> <ImageButton android:id="@+id/last" android:layout_width="10pt" android:layout_height="10pt" android:layout_alignBottom="@id/slow" android:layout_toLeftOf="@id/slow" android:background="@drawable/image_button" android:src="@drawable/last" /> </RelativeLayout> </LinearLayout>
- 独立开发音乐播放器
- 独立开发音乐播放器2
- 独立开发音乐播放器3
- Android开发本地及网络Mp3音乐播放器(六)实现独立音乐播放界面
- 音乐播放器开发
- Android开发音乐播放器-音乐扫描
- Android开发音乐播放器
- Android开发音乐播放器
- Android开发音乐播放器
- 音乐播放器开发记录
- 开发音乐播放器【1】
- iOS开发:音乐播放器
- 音乐播放器 - iOS开发
- 音乐播放器的开发
- 自己动手开发音乐播放器《十一》下载音乐播放器
- android音乐播放器开发 SweetMusicPlayer 播放本地音乐
- OS音频开发之音乐播放器 - 后台播放音乐
- 独立完成项目---音乐播放盒
- Oracle 集合运算
- winform下ComboBox的绑定问题
- poj1416 - Shredding Company
- 第九周任务1(Complex类中的<<和>>运算符的重载)
- Strings
- 独立开发音乐播放器
- C语言数据结构 静态链表
- Windows内存管理
- 驱动程序开发学习-----20120414
- 证券相关法律法规集合
- poj2676 - Sudoku
- 分享一款免费刷相关搜索、联想下拉推荐、网页快照排名的软件
- 【愚人特稿】数学家应该重新设计角度制--(转自果壳网)
- 使用OSGi,SCA,BPEL和Spring增强可管理性