bashgid/android/res/layout/simple_hview_list_element.xml

39 lines
1.4 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"
android:layout_height="@dimen/horizontal_list_element_image_height"
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="@dimen/horizontal_list_element_image_height"
android:padding="@dimen/horizontal_list_element_padding"
2015-02-18 03:23:07 +00:00
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="@dimen/horizontal_list_element_padding"
2014-11-05 05:00:15 +00:00
android:text="TextView"
android:textSize="@dimen/large_text_size"
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="@dimen/small_text_size" />
2014-11-05 05:00:15 +00:00
</LinearLayout>