Android仿网易云音乐播放界面-创新互联

现在很多的播放器的播放界面都是采用光盘的转动,下面是我仿造网易的播放界面。先上两张图:

10年积累的成都做网站、网站制作经验,可以快速应对客户对网站的新想法和需求。提供各种问题对应的解决方案。让选择我们的客户得到更好、更有力的网络服务。我虽然不认识你,你也不认识我。但先网站设计后付款的网站建设流程,更有市北免费网站建设让你可以放心的选择与我们合作。

第一张为播放前的界面,第二张为点击播放按钮的图片。布局文件如下:


<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 
  android:layout_width="match_parent" 
  android:layout_height="match_parent" 
  android:background="#ffffff" > 
 
  <LinearLayout 
    android:layout_width="match_parent" 
    android:layout_height="match_parent" 
    android:orientation="vertical" > 
 
    <RelativeLayout 
      android:layout_width="fill_parent" 
      android:layout_height="48dp" 
      android:background="#222222" > 
 
      <ImageView 
        android:id="@+id/back_main_activity" 
        android:layout_width="40dp" 
        android:layout_height="40dp" 
        android:layout_centerVertical="true" 
        android:layout_marginLeft="5dp" 
        android:background="@drawable/back_main_view" /> 
 
      <TextView 
        android:id="@+id/play_music_name" 
        android:layout_width="wrap_content" 
        android:layout_height="40dp" 
        android:layout_centerInParent="true" 
        android:layout_marginLeft="10dp" 
        android:layout_toRightOf="@+id/back_main_activity" 
        android:paddingTop="5dp" 
        android:text="music" 
        android:textColor="#ffffff" 
        android:textSize="20dp" /> 
    </RelativeLayout> 
 
    <RelativeLayout 
      android:id="@+id/play_disc" 
      android:layout_width="fill_parent" 
      android:layout_height="wrap_content" 
      android:gravity="center|center_vertical" > 
    </RelativeLayout> 
  </LinearLayout> 
 
  <LinearLayout 
    android:layout_width="fill_parent" 
    android:layout_height="80dp" 
    android:layout_below="@+id/seekbarLayout" 
    android:background="#222222" 
    android:gravity="center_horizontal" 
    android:orientation="horizontal" 
    android:layout_alignParentBottom="true" > 
 
    <ImageView 
      android:id="@+id/music_paly_pause" 
      android:layout_width="80dp" 
      android:layout_height="fill_parent" 
      android:background="@drawable/play_btn_play" /> 
  </LinearLayout> 
 
</RelativeLayout> 

网站标题:Android仿网易云音乐播放界面-创新互联
转载源于:https://www.cdcxhl.com/article16/ecggg.html

成都网站建设公司_创新互联,为您提供网站设计品牌网站制作商城网站网站维护App设计网站排名

广告

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联

成都定制网站网页设计