bashgid/android/res/layout/simple_hview_list_element.xml

39 lines
1.3 KiB
XML
Raw Normal View History

2014-11-05 05:00:15 +00:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="4dp"
android:orientation="vertical"
android:padding="8dp"
android:showDividers="middle" >
<ImageButton
android:id="@+id/imageButton"
android:layout_width="wrap_content"
2015-02-18 03:23:07 +00:00
android:layout_height="180dp"
2014-11-05 05:00:15 +00:00
android:layout_gravity="center_horizontal"
2015-02-18 03:23:07 +00:00
android:adjustViewBounds="true"
android:maxHeight="180dp"
android:padding="2dp"
android:scaleType="centerCrop" />
2014-11-05 05:00:15 +00:00
<TextView
2015-06-11 06:17:27 +00:00
android:id="@+id/dateTextView"
2014-11-05 05:00:15 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:padding="2dp"
android:text="TextView"
2015-07-02 08:36:51 +00:00
android:textSize="24sp"
2014-11-05 05:00:15 +00:00
android:textStyle="bold" />
<TextView
android:id="@+id/subTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
2015-07-02 08:36:51 +00:00
android:text="TextView"
android:textSize="18sp" />
2014-11-05 05:00:15 +00:00
</LinearLayout>