Get layout to work with my IDs

This commit is contained in:
misaochan 2016-08-29 19:22:12 +12:00
parent bd19b8ceff
commit ee0ee3f0f9

View file

@ -2,7 +2,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:foreground="?attr/selectableItemBackground"
android:layout_height="@dimen/image_size">
android:layout_height="@dimen/icon_size">
<RelativeLayout
android:layout_width="match_parent"
@ -38,20 +38,20 @@
android:maxLines="1"
android:ellipsize="end"
style="?android:textAppearanceMedium"
tools:text="Title 1" />
tools:text="Name" />
<TextView
android:id="@+id/tvDesc"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toEndOf="@android:id/icon"
android:layout_below="@android:id/text1"
android:layout_toRightOf="@android:id/icon"
android:layout_below="@+id/tvName"
android:padding="@dimen/small_margin"
android:ellipsize="end"
android:maxLines="4"
style="?android:textAppearanceSmall"
tools:text="Description goes here" />
tools:text="Description" />
</RelativeLayout>
</FrameLayout>