diff options
author | Tobias Preuss <tobias.preuss@googlemail.com> | 2015-01-25 10:27:46 +0100 |
---|---|---|
committer | Tobias Preuss <tobias.preuss@googlemail.com> | 2015-01-25 10:27:46 +0100 |
commit | ad583e453d6be87b1c0d9a045119114c75faaf23 (patch) | |
tree | ddfe0e2411463a57cfd7a530083892deea110719 /app/src/main/res/layout/feeditemlist_header.xml | |
parent | efcbbfe2b93182dbb8458fdf049816b8710ba8af (diff) | |
download | AntennaPod-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.xml | 18 |
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 |