Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:playpauseview="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="@color/md_blue_grey_100"
android:elevation="4dp"
android:gravity="center"
android:orientation="horizontal">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:layout_toLeftOf="@+id/rel_bottombar_moreicon"
android:elevation="4dp">
<ImageView
android:id="@+id/img_bottom_albArt"
android:layout_width="?attr/actionBarSize"
android:layout_height="?attr/actionBarSize"
android:scaleType="centerCrop"
android:src="@drawable/bg_default_album_art">
</ImageView>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical"
android:paddingLeft="5dp"
android:paddingRight="5dp">
<TextView
android:id="@+id/txt_bottom_SongName"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="false"
android:freezesText="true"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:singleLine="true"
android:text=""
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@color/md_blue_grey_700"
android:textStyle="bold" />
<TextView
android:id="@+id/txt_bottom_SongAlb"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:singleLine="true"
android:text=""
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@color/md_blue_grey_700"
android:textStyle="normal" />
</LinearLayout>
<in.androidhunt.musicDEmo.view.LineProgress
android:id="@+id/lineProgress"
android:layout_width="match_parent"
android:layout_height="3dp"
android:layout_alignParentTop="true" />
</RelativeLayout>
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginLeft="5dp"
android:layout_marginRight="10dp"
android:gravity="center">
<TextView
android:id="@+id/slidepanel_time_progress_bottom"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:paddingLeft="2dp"
android:paddingRight="2dp"
android:singleLine="true"
android:text="00.00"
android:textColor="@color/md_blue_grey_700"
android:textSize="14sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="2dp"
android:paddingRight="2dp"
android:text="/"
android:textColor="@color/md_blue_grey_700"
android:textSize="14sp" />
<TextView
android:id="@+id/slidepanel_time_total_bottom"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:paddingLeft="2dp"
android:paddingRight="2dp"
android:singleLine="true"
android:text="00.00"
android:textColor="@color/md_blue_grey_700"
android:textSize="20sp"
android:textStyle="bold" />
</LinearLayout>
<RelativeLayout
android:id="@+id/rel_bottombar_moreicon"
android:layout_width="96dp"
android:layout_height="48dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginLeft="5dp"
android:visibility="gone">
<ImageView
android:id="@+id/bottombar_img_Favorite"
android:layout_width="48dp"
android:layout_height="match_parent"
android:layout_centerVertical="true"
android:layout_toLeftOf="@+id/bottombar_moreicon"
android:background="@drawable/bar_selector_white"
android:clickable="true"
android:scaleType="centerInside" />
<ImageView
android:id="@+id/bottombar_moreicon"
android:layout_width="48dp"
android:layout_height="match_parent"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:background="@drawable/bar_selector_white"
android:clickable="true"
android:scaleType="centerInside" />
</RelativeLayout>
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment