Skip to content

Instantly share code, notes, and snippets.

@hanleyhansen
Created June 21, 2013 22:26
Show Gist options
  • Save hanleyhansen/23db5012b65e53f4a37a to your computer and use it in GitHub Desktop.
Save hanleyhansen/23db5012b65e53f4a37a to your computer and use it in GitHub Desktop.
Cover Art XML
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/fragment_song"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<FrameLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/channel_name"
style="@style/STPlayer.ChannelHeader"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</FrameLayout>
<ImageView
android:id="@+id/album_cover"
android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:contentDescription="@string/app_name"
android:scaleType="centerInside"
android:src="@drawable/logo_loading" />
<ImageView
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:paddingBottom="@dimen/padding_large"
android:paddingRight="@dimen/padding_large"
android:src="@drawable/logo_seven_digital" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment