From ad583e453d6be87b1c0d9a045119114c75faaf23 Mon Sep 17 00:00:00 2001 From: Tobias Preuss Date: Sun, 25 Jan 2015 10:27:46 +0100 Subject: Use design time attributes to assist layouting and value preview. + See: http://tools.android.com/tips/layout-designtime-attributes + This commit introduces no functional code changes! --- app/src/main/res/layout/onlinefeedview_header.xml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'app/src/main/res/layout/onlinefeedview_header.xml') diff --git a/app/src/main/res/layout/onlinefeedview_header.xml b/app/src/main/res/layout/onlinefeedview_header.xml index 66d3039e4..491d955fb 100644 --- a/app/src/main/res/layout/onlinefeedview_header.xml +++ b/app/src/main/res/layout/onlinefeedview_header.xml @@ -1,6 +1,7 @@ @@ -13,7 +14,9 @@ android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:layout_marginTop="16dp" - android:contentDescription="@string/cover_label" /> + android:contentDescription="@string/cover_label" + tools:src="@drawable/ic_stat_antenna_default" + tools:background="@android:color/holo_green_dark" /> + android:maxLines="2" + tools:text="Online feed title" + tools:background="@android:color/holo_green_dark" /> + android:textSize="@dimen/text_size_small" + tools:text="Online feed author" + tools:background="@android:color/holo_green_dark" /> + android:textSize="@dimen/text_size_small" + tools:text="@string/design_time_lorem_ipsum" + tools:background="@android:color/holo_green_dark"/> \ No newline at end of file -- cgit v1.2.3