summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/feeditemlist_header.xml
diff options
context:
space:
mode:
authorTobias Preuss <tobias.preuss@googlemail.com>2015-01-25 10:27:46 +0100
committerTobias Preuss <tobias.preuss@googlemail.com>2015-01-25 10:27:46 +0100
commitad583e453d6be87b1c0d9a045119114c75faaf23 (patch)
treeddfe0e2411463a57cfd7a530083892deea110719 /app/src/main/res/layout/feeditemlist_header.xml
parentefcbbfe2b93182dbb8458fdf049816b8710ba8af (diff)
downloadAntennaPod-ad583e453d6be87b1c0d9a045119114c75faaf23.zip
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!
Diffstat (limited to 'app/src/main/res/layout/feeditemlist_header.xml')
-rw-r--r--app/src/main/res/layout/feeditemlist_header.xml18
1 files changed, 13 insertions, 5 deletions
diff --git a/app/src/main/res/layout/feeditemlist_header.xml b/app/src/main/res/layout/feeditemlist_header.xml
index e55ef4c3e..4619580e3 100644
--- a/app/src/main/res/layout/feeditemlist_header.xml
+++ b/app/src/main/res/layout/feeditemlist_header.xml
@@ -4,7 +4,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="@dimen/feeditemlist_header_height"
- tools:context="de.danoeh.antennapod.activity.MainActivity">
+ tools:context="de.danoeh.antennapod.activity.MainActivity"
+ tools:background="@android:color/darker_gray">
<ImageView
android:id="@+id/imgvBackground"
@@ -22,7 +23,9 @@
android:layout_marginBottom="16dp"
android:layout_marginLeft="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"/>
<ImageButton
android:id="@+id/butShowInfo"
@@ -35,7 +38,8 @@
android:layout_marginTop="8dp"
android:background="?attr/selectableItemBackground"
android:contentDescription="@string/show_info_label"
- android:src="@drawable/ic_info_white_24dp" />
+ android:src="@drawable/ic_info_white_24dp"
+ tools:background="@android:color/holo_green_dark"/>
<TextView
android:id="@+id/txtvTitle"
@@ -52,7 +56,9 @@
android:maxLines="2"
android:shadowColor="@color/black"
android:shadowRadius="3"
- android:textColor="@color/white" />
+ android:textColor="@color/white"
+ tools:text="Podcast title"
+ tools:background="@android:color/holo_green_dark" />
<TextView
android:id="@+id/txtvAuthor"
@@ -68,7 +74,9 @@
android:shadowColor="@color/black"
android:shadowRadius="3"
android:textColor="@color/white"
- android:textSize="@dimen/text_size_small" />
+ android:textSize="@dimen/text_size_small"
+ tools:text="Podcast author"
+ tools:background="@android:color/holo_green_dark" />
</RelativeLayout> \ No newline at end of file