Android应用开发--MP3音乐播放器界面设计(1)



                                         


近期突然想自己开发一款MP3播放器,所以就有了上面的界面,小巫不才,为了记录自己的开发过程,写成博客,个人开发可能有很多地方不规范,但学习嘛,总会有个过程的,不能连爬都不会就想跑吧。
简单介绍一下这个播放器
作者:wwj
名称:简、美音乐播放器(注:自己取的名字,能不能做到字面上的效果还不一定,勿喷啊!)
项目成立时间:2013年5月7日
预期结束时间:2013年5月20日

第一步:搭建界面

实现代码:
<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)相关推荐

  1. Android应用开发--MP3音乐播放器界面设计(2)

    Android应用开发--MP3音乐播放器界面设计(2) 2013年5月25日 简.美音乐播放器开发 真得很无奈,原本打算很快结束这个实战项目的,但因为各种满课.学科.杂事给耽误了进度,现在小巫的这个 ...

  2. 音乐应用开发Android应用开发--MP3音乐播放器界面设计(2)

    在写这篇文章之前,xxx已写过了几篇关于改音乐应用开发主题的文章,想要了解的朋友可以去翻一下之前的文章 Android应用开发--MP3音乐播放器界面计划(2) 2013年5月25日 简.美音乐播放器 ...

  3. Android应用开发--MP3音乐播放器滚动歌词实现

    Android应用开发--MP3音乐播放器滚动歌词实现 2013年6月2日  简.美音乐播放器开发记录 -----前话 有网友给我博客评论说,让我借鉴好的Android代码,代码贴出来的时候最好整体先 ...

  4. Android应用开发--MP3音乐播放器Service实现

    Android应用开发--MP3音乐播放器Service实现 2013年5月29日简.美音乐播放器开发记录 让网友们久等啦,关于简.美音乐播放器的开发,最重要的Service类总算是要发博了.关于An ...

  5. Android应用开发 MP3音乐播放器滚动歌词实现

    分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow 也欢迎大家转载本篇文章.分享知识,造福人民,实现我们中华民族伟大复兴! Andr ...

  6. Android应用开发--MP3音乐播放器代码实现(一)

    Android应用开发--MP3音乐播放器代码实现(一) 需求1:将内存卡中的MP3音乐读取出来并显示到列表当中 1. 从数据库中查询所有音乐数据,保存到List集合当中,List当中存放的是Mp3I ...

  7. 基于JavaSwing开发MP3音乐播放器 课程设计 大作业源码 毕业设计

    基于JavaSwing开发MP3音乐播放器:   (大作业) 开发环境: Windows操作系统 开发工具: MyEclipse+Jdk 运行效果图:  基于JavaSwing开发MP3音乐播放器:  ...

  8. Android应用开发--MP3音乐播放器代码实现(二)

    2013年5月25日 简.美音乐播放器开发 小巫在这里罗列这个播放器已经实现的功能: 1.   自动显示音乐列表 2.   点击列表播放音乐 3.   长按列表弹出对话框 4.   暂停音乐 5.   ...

  9. Android应用开发--MP3音乐播放器代码实现(二,android开发实例大全

    } switch (repeatState) { case isCurrentRepeat: // 单曲循环 repeatBtn .setBackgroundResource(R.drawable.r ...

最新文章

  1. python封装方法有几种_python之--------封装
  2. ios 网络请求后 Crash
  3. 关于vue搭建项目运行出行的错误问题,简直是大坑啊
  4. Visual Studio + C# + Xamarin = iOS/Android/Windows Apps
  5. 我所知道的几种display:table-cell的应用
  6. Spring注解大全(更新中)
  7. 目录:所以文章的目录
  8. 罗技G304鼠标的按键宏定义
  9. Excel复制到word,清除格式后行间距过大
  10. 仿苹果手机_安卓党福音?安卓手机也能拥有iOS控制中心,十分炫酷
  11. php验证qq,正则表达式验证qq号码是否输入正确
  12. Java中的即时编译器
  13. Android使用自带的文件管理器选择文件并读取内容
  14. C++中使用辅助函数寻找最大/最小值:min()、max()、minmax()
  15. 如何用photoshop来做流体渐变
  16. 效率神器 SCons 构建工具
  17. mysql启动不了的原因_mysql启动不了是什么原因
  18. 2015年7月30日工作总结
  19. VC 控件背景透明、文字背景透明
  20. 键位修改工具RemapKey

热门文章

  1. 大棚养殖茄子如何“避坑”?资产监控技术提出保障!
  2. 电子工程师必备的调试神器—H7-TOOL
  3. JAVA基础查缺补漏
  4. esp32 参考引脚图
  5. 通过源码理解 vue beforecreated 周期与 created 周期之间发生了什么
  6. pycharm如何恢复工具的主菜单
  7. 如何看待程序员的薪资倒挂现象
  8. 在Ubuntu 16.04中安装Google拼音
  9. 【Docker】docker日常工作总结(涉及基础命令、基础名词概念、镜像、容器、网络、数据卷)
  10. iPhont X适配