Implement a PoC of the recycler view
parent
35c4937632
commit
cda69227eb
@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<!-- I am going to assume that the match_parent width respects the two-column layout. -->
|
||||
<!-- The CardView just adds some beauty -->
|
||||
<android.support.v7.widget.CardView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:cardElevation="4dp"
|
||||
app:cardUseCompatPadding="true"
|
||||
app:cardCornerRadius="5dp"
|
||||
>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center"
|
||||
android:text="Song Name"
|
||||
android:id="@+id/songName"
|
||||
/>
|
||||
</android.support.v7.widget.CardView>
|
||||
|
||||
</FrameLayout>
|
Loading…
Reference in New Issue