summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/feeditem_fragment_header.xml
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2015-01-26 17:14:27 +0100
committerdaniel oeh <daniel.oeh@gmail.com>2015-01-26 17:14:27 +0100
commit6f8fd4868d69edeec20c3f10cfc6751841e443a3 (patch)
tree3dcd509e5a7bb3a806dd4d6ece63e6722b0701d2 /app/src/main/res/layout/feeditem_fragment_header.xml
parente01b7ca466919bbf19a5e68178b4af81cce726ba (diff)
parentad583e453d6be87b1c0d9a045119114c75faaf23 (diff)
downloadAntennaPod-6f8fd4868d69edeec20c3f10cfc6751841e443a3.zip
Merge branch 'feature/design-time-attributes' of git://github.com/johnjohndoe/AntennaPod into johnjohndoe-feature/design-time-attributes
Diffstat (limited to 'app/src/main/res/layout/feeditem_fragment_header.xml')
-rw-r--r--app/src/main/res/layout/feeditem_fragment_header.xml27
1 files changed, 20 insertions, 7 deletions
diff --git a/app/src/main/res/layout/feeditem_fragment_header.xml b/app/src/main/res/layout/feeditem_fragment_header.xml
index bab089d3b..5956ae062 100644
--- a/app/src/main/res/layout/feeditem_fragment_header.xml
+++ b/app/src/main/res/layout/feeditem_fragment_header.xml
@@ -1,12 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="?attr/colorPrimary"
android:gravity="center_horizontal"
- android:orientation="vertical">
+ android:orientation="vertical"
+ tools:background="@android:color/darker_gray">
<RelativeLayout
@@ -24,7 +26,9 @@
android:layout_marginBottom="8dp"
android:layout_marginTop="16dp"
android:contentDescription="@string/cover_label"
- android:gravity="center_vertical" />
+ android:gravity="center_vertical"
+ tools:src="@drawable/ic_stat_antenna_default"
+ tools:background="@android:color/holo_green_dark" />
<ImageButton
@@ -36,7 +40,9 @@
android:background="?attr/selectableItemBackground"
android:contentDescription="@string/butAction_label"
android:paddingTop="4dp"
- android:src="?attr/ic_action_overflow" />
+ android:src="?attr/ic_action_overflow"
+ tools:src="@drawable/ic_info_white_24dp"
+ tools:background="@android:color/holo_green_dark" />
<TextView
android:id="@+id/txtvTitle"
@@ -50,7 +56,9 @@
android:layout_marginTop="16dp"
android:layout_toLeftOf="@id/butMoreActions"
android:layout_toRightOf="@id/imgvCover"
- android:maxLines="5" />
+ android:maxLines="5"
+ tools:text="Podcast title"
+ tools:background="@android:color/holo_green_dark" />
</RelativeLayout>
<ProgressBar
@@ -67,7 +75,8 @@
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:layout_marginRight="8dp"
- android:orientation="horizontal">
+ android:orientation="horizontal"
+ tools:background="@android:color/holo_blue_bright">
<Button
android:id="@+id/butAction1"
@@ -80,7 +89,9 @@
android:ellipsize="end"
android:paddingTop="4dp"
android:textColor="?android:attr/textColorPrimary"
- android:textSize="@dimen/text_size_small" />
+ android:textSize="@dimen/text_size_small"
+ tools:text="Button 1"
+ tools:background="@android:color/holo_red_light" />
<Button
android:id="@+id/butAction2"
@@ -93,7 +104,9 @@
android:ellipsize="end"
android:paddingTop="4dp"
android:textColor="?android:attr/textColorPrimary"
- android:textSize="@dimen/text_size_small" />
+ android:textSize="@dimen/text_size_small"
+ tools:text="Button 2"
+ tools:background="@android:color/holo_orange_dark" />
</LinearLayout>