Android应用开发--MP3音乐播放器界面设计(1)
Android应用开发--MP3音乐播放器界面设计(1)
第一步:搭建界面
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:id="@+id/RelativeLayout1"android:layout_width="match_parent"android:layout_height="match_parent"android:background="@drawable/bg_playback"android:orientation="vertical" ><RelativeLayoutandroid:id="@+id/handle_btnlayout"android:layout_width="match_parent"android:layout_height="wrap_content" ><Buttonandroid:id="@+id/previous_music"android:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_alignParentLeft="true"android:background="@drawable/previous_music_selector" /><Buttonandroid: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" /><Buttonandroid: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" /><Buttonandroid: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" /><Buttonandroid: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><ListViewandroid: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><RelativeLayoutandroid:id="@+id/singleSong_layout"android:layout_width="match_parent"android:layout_height="wrap_content"android:layout_alignParentBottom="true" ><ImageViewandroid: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" /><RelativeLayoutandroid: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" ><TextViewandroid: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"/><TextViewandroid: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_marginTop="8.0dp"android:text="@string/time"/>"</RelativeLayout><Buttonandroid:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_alignParentBottom="true"android:layout_alignParentRight="true"android:background="@drawable/play_queue_selector" /></RelativeLayout></RelativeLayout>
Android应用开发--MP3音乐播放器界面设计(1)相关推荐
- Android应用开发--MP3音乐播放器界面设计(2)
Android应用开发--MP3音乐播放器界面设计(2) 2013年5月25日 简.美音乐播放器开发 真得很无奈,原本打算很快结束这个实战项目的,但因为各种满课.学科.杂事给耽误了进度,现在小巫的这个 ...
- 音乐应用开发Android应用开发--MP3音乐播放器界面设计(2)
在写这篇文章之前,xxx已写过了几篇关于改音乐应用开发主题的文章,想要了解的朋友可以去翻一下之前的文章 Android应用开发--MP3音乐播放器界面计划(2) 2013年5月25日 简.美音乐播放器 ...
- Android应用开发--MP3音乐播放器滚动歌词实现
Android应用开发--MP3音乐播放器滚动歌词实现 2013年6月2日 简.美音乐播放器开发记录 -----前话 有网友给我博客评论说,让我借鉴好的Android代码,代码贴出来的时候最好整体先 ...
- Android应用开发--MP3音乐播放器Service实现
Android应用开发--MP3音乐播放器Service实现 2013年5月29日简.美音乐播放器开发记录 让网友们久等啦,关于简.美音乐播放器的开发,最重要的Service类总算是要发博了.关于An ...
- Android应用开发 MP3音乐播放器滚动歌词实现
分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow 也欢迎大家转载本篇文章.分享知识,造福人民,实现我们中华民族伟大复兴! Andr ...
- Android应用开发--MP3音乐播放器代码实现(一)
Android应用开发--MP3音乐播放器代码实现(一) 需求1:将内存卡中的MP3音乐读取出来并显示到列表当中 1. 从数据库中查询所有音乐数据,保存到List集合当中,List当中存放的是Mp3I ...
- 基于JavaSwing开发MP3音乐播放器 课程设计 大作业源码 毕业设计
基于JavaSwing开发MP3音乐播放器: (大作业) 开发环境: Windows操作系统 开发工具: MyEclipse+Jdk 运行效果图: 基于JavaSwing开发MP3音乐播放器: ...
- Android应用开发--MP3音乐播放器代码实现(二)
2013年5月25日 简.美音乐播放器开发 小巫在这里罗列这个播放器已经实现的功能: 1. 自动显示音乐列表 2. 点击列表播放音乐 3. 长按列表弹出对话框 4. 暂停音乐 5. ...
- Android应用开发--MP3音乐播放器代码实现(二,android开发实例大全
} switch (repeatState) { case isCurrentRepeat: // 单曲循环 repeatBtn .setBackgroundResource(R.drawable.r ...
最新文章
- python封装方法有几种_python之--------封装
- ios 网络请求后 Crash
- 关于vue搭建项目运行出行的错误问题,简直是大坑啊
- Visual Studio + C# + Xamarin = iOS/Android/Windows Apps
- 我所知道的几种display:table-cell的应用
- Spring注解大全(更新中)
- 目录:所以文章的目录
- 罗技G304鼠标的按键宏定义
- Excel复制到word,清除格式后行间距过大
- 仿苹果手机_安卓党福音?安卓手机也能拥有iOS控制中心,十分炫酷
- php验证qq,正则表达式验证qq号码是否输入正确
- Java中的即时编译器
- Android使用自带的文件管理器选择文件并读取内容
- C++中使用辅助函数寻找最大/最小值:min()、max()、minmax()
- 如何用photoshop来做流体渐变
- 效率神器 SCons 构建工具
- mysql启动不了的原因_mysql启动不了是什么原因
- 2015年7月30日工作总结
- VC 控件背景透明、文字背景透明
- 键位修改工具RemapKey