에서 아래 찾아보세요 예를 들어 바닥
에서 목록보기를 통해 표시 할 수 있습니다 힘을 써, 루크. RelativeLayout의 힘 :
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ListView
android:id="@+id/playlist"
android:layout_above="@+id/notification"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<RelativeLayout
android:id="@+id/notification"
android:layout_alignParentBottom="true"
android:layout_height="wrap_content"
android:layout_width="match_parent">
<ImageView
android:id="@+id/imgview_album_art"
android:src="image"
android:layout_centerVertical="true"
android:layout_alignParentLeft="true"
android:layout_width="48dp"
android:layout_height="48dp"/>
<LinearLayout
android:orientation="vertical"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_centerVertical="true"
android:layout_toLeftOf="@+id/btn_play_pause"
android:layout_toRightOf="@+id/imgview_album_art">
<TextView
android:text="Paradise"
android:id="@+id/textview_song_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView
android:text="Coldplay - Mylo Xyloto"
android:id="@+id/textview_artist_album"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
<ImageButton
android:id="@+id/btn_play_pause"
android:padding="8dp"
android:background="@android:color/transparent"
android:src="@android:drawable/ic_media_pause"
android:layout_centerVertical="true"
android:layout_alignParentRight="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</RelativeLayout>
</RelativeLayout>