bashgid/android/res/layout/journal_element.xml

41 lines
1.3 KiB
XML
Raw Normal View History

2015-06-11 06:17:27 +00:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/LinearLayout2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="4dp"
android:background="@color/light_grey_1"
android:orientation="horizontal"
android:showDividers="middle" >
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2015-06-25 19:00:11 +00:00
android:layout_weight="1"
2015-06-11 06:17:27 +00:00
android:orientation="vertical" >
<TextView
android:id="@+id/titleTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TextView"
android:textSize="20sp"
android:textStyle="bold" />
<TextView
android:id="@+id/dateTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TextView" />
</LinearLayout>
<ImageView
android:id="@+id/imageView"
android:layout_width="80dp"
2015-06-25 19:00:11 +00:00
android:layout_height="80dp"
android:layout_gravity="right"
android:layout_weight="0"
android:scaleType="centerInside" />
2015-06-11 06:17:27 +00:00
</LinearLayout>