mihon/app/src/main/res/layout/item_library.xml

41 lines
1.3 KiB
XML
Raw Normal View History

2015-09-25 06:44:11 -04:00
<?xml version="1.0" encoding="utf-8"?>
2015-09-25 13:43:23 -04:00
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
2015-09-25 06:44:11 -04:00
2015-09-25 13:43:23 -04:00
<ImageView
2015-09-25 06:44:11 -04:00
android:layout_width="match_parent"
2015-09-25 13:43:23 -04:00
android:layout_height="144dp"
android:id="@+id/thumbnailImageView"
tools:src="@mipmap/ic_launcher"
tools:background="@color/md_red_100"/>
2015-09-25 06:44:11 -04:00
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
2015-09-25 13:43:23 -04:00
android:layout_height="42dp"
android:id="@+id/footerLinearLayout"
android:background="@color/md_blue_100">
2015-09-25 06:44:11 -04:00
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:ellipsize="middle"
android:maxLines="2"
2015-09-25 13:43:23 -04:00
android:textColor="@color/black_87pc"
2015-09-25 06:44:11 -04:00
android:textStyle="bold"
2015-09-25 13:43:23 -04:00
android:textSize="12sp"
android:id="@+id/nameTextView"
android:paddingRight="8dp"
android:paddingLeft="8dp"
tools:text="Sample name"/>
2015-09-25 06:44:11 -04:00
</LinearLayout>
</LinearLayout>