summaryrefslogtreecommitdiffstats
path: root/res/layout/list_item_normal.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/list_item_normal.xml')
-rw-r--r--res/layout/list_item_normal.xml41
1 files changed, 3 insertions, 38 deletions
diff --git a/res/layout/list_item_normal.xml b/res/layout/list_item_normal.xml
index a8acdff..4a2af51 100644
--- a/res/layout/list_item_normal.xml
+++ b/res/layout/list_item_normal.xml
@@ -22,45 +22,10 @@
android:minHeight="@dimen/item_normal_height"
android:paddingTop="@dimen/list_item_padding_top"
android:paddingBottom="@dimen/list_item_padding_bottom"
+ android:paddingLeft="@dimen/list_preferred_item_padding"
+ android:paddingRight="@dimen/list_preferred_item_padding"
tools:ignore="ContentDescription" >
- <com.cyngn.eleven.widgets.SquareImageView
- android:id="@+id/image"
- android:layout_width="@dimen/list_item_image_width"
- android:layout_height="@dimen/list_item_image_height"
- android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true"
- android:scaleType="centerCrop" />
-
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/list_item_image_height"
- android:layout_toRightOf="@+id/image"
- android:layout_toLeftOf="@+id/line_one_right"
- android:gravity="center_vertical"
- android:minHeight="@dimen/item_normal_height"
- android:paddingLeft="@dimen/list_preferred_item_padding" >
-
- <TextView
- android:id="@+id/line_one"
- style="@style/ListItemMainText.Single"
- android:layout_width="match_parent"
- android:layout_height="wrap_content" />
-
- <TextView
- android:id="@+id/line_two"
- style="@style/ListItemSecondaryText.Single"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/line_one" />
- </RelativeLayout>
-
- <TextView
- android:id="@+id/line_one_right"
- style="@style/ListItemSecondaryText.Single"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:layout_centerVertical="true" />
+ <include layout="@layout/list_item_common" />
</RelativeLayout> \ No newline at end of file