summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2013-02-23 13:28:31 +0100
committerdaniel oeh <daniel.oeh@gmail.com>2013-02-23 13:28:31 +0100
commit8e9fecb26786f2f69f57fe92ed92dc78c0d321d4 (patch)
tree20773e6652b567ce8bee10e17a224938e4414778 /res/layout
parent970f3f8c740fe2f4e9ae4b44a832efbe163cad05 (diff)
downloadAntennaPod-8e9fecb26786f2f69f57fe92ed92dc78c0d321d4.zip
Updated tablet layout
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/external_itemlist_item.xml4
-rw-r--r--res/layout/feeditemlist_header.xml5
-rw-r--r--res/layout/feedlist_item_grid.xml71
-rw-r--r--res/layout/mediaplayer_activity.xml6
-rw-r--r--res/layout/organize_queue_listitem.xml4
5 files changed, 56 insertions, 34 deletions
diff --git a/res/layout/external_itemlist_item.xml b/res/layout/external_itemlist_item.xml
index 4367b5d9f..570ccd433 100644
--- a/res/layout/external_itemlist_item.xml
+++ b/res/layout/external_itemlist_item.xml
@@ -5,8 +5,8 @@
<ImageView
android:id="@+id/imgvFeedimage"
- android:layout_width="@dimen/thumbnail_length"
- android:layout_height="@dimen/thumbnail_length"
+ android:layout_width="@dimen/thumbnail_length_itemlist"
+ android:layout_height="@dimen/thumbnail_length_itemlist"
android:layout_alignParentLeft="true"
android:scaleType="centerCrop" />
diff --git a/res/layout/feeditemlist_header.xml b/res/layout/feeditemlist_header.xml
index f6ee9afe4..4dbeae28b 100644
--- a/res/layout/feeditemlist_header.xml
+++ b/res/layout/feeditemlist_header.xml
@@ -8,16 +8,17 @@
android:id="@+id/txtvHeaderTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginBottom="24dp"
- android:layout_marginLeft="@dimen/thumbnail_length"
+ android:layout_marginLeft="@dimen/thumbnail_length_itemlist"
android:layout_marginRight="16dp"
android:layout_marginTop="24dp"
android:paddingLeft="8dp"
android:textColor="@color/dark_blue"
android:textSize="@dimen/text_size_large"
android:textStyle="bold" />
-
+
<ImageButton
android:id="@+id/butAction"
android:layout_width="48dp"
diff --git a/res/layout/feedlist_item_grid.xml b/res/layout/feedlist_item_grid.xml
index 75e820a43..a08d89948 100644
--- a/res/layout/feedlist_item_grid.xml
+++ b/res/layout/feedlist_item_grid.xml
@@ -23,47 +23,69 @@
android:layout_centerVertical="true"
android:orientation="vertical" >
- <LinearLayout
+ <RelativeLayout
android:id="@+id/lNewStatusLabel"
- android:layout_width="wrap_content"
+ android:layout_width="@dimen/status_indicator_width"
android:layout_height="0dip"
- android:layout_weight="1" >
+ android:layout_marginBottom="8dp"
+ android:layout_marginTop="4dp"
+ android:layout_weight="1"
+ android:background="@color/status_unread" >
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:layout_marginRight="4dp"
+ android:src="@drawable/white_circle" />
<TextView
android:id="@+id/txtvNewEps"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
- android:layout_marginRight="4dip"
- android:textSize="@dimen/text_size_large"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="4dp"
+ android:layout_marginRight="8dp"
+ android:maxLines="1"
+ android:minEms="2"
+ android:textColor="@color/white"
+ android:textSize="@dimen/text_size_micro"
android:textStyle="bold" />
+ </RelativeLayout>
- <View
- android:layout_width="5dip"
- android:layout_height="match_parent"
- android:background="@color/status_unread"
- android:visibility="visible" />
- </LinearLayout>
-
- <LinearLayout
+ <RelativeLayout
android:id="@+id/lProgressStatusLabel"
- android:layout_width="wrap_content"
+ android:layout_width="@dimen/status_indicator_width"
android:layout_height="0dip"
- android:layout_weight="1" >
+ android:layout_marginBottom="8dp"
+ android:layout_weight="1"
+ android:background="@color/ics_gray" >
<TextView
android:id="@+id/txtvProgressEps"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
- android:layout_marginRight="4dip"
- android:textSize="@dimen/text_size_large"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:background="@color/status_progress"
+ android:maxLines="1"
+ android:minEms="2"
+ android:paddingLeft="4dp"
+ android:textColor="@color/white"
+ android:textSize="@dimen/text_size_micro"
android:textStyle="bold" />
- <View
- android:layout_width="5dip"
- android:layout_height="match_parent"
- android:background="@color/status_progress"
- android:visibility="visible" />
- </LinearLayout>
+ <ImageView
+ android:layout_width="10dp"
+ android:layout_height="8dp"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="2dp"
+ android:layout_marginRight="2dp"
+ android:src="@drawable/av_play_dark" />
+ </RelativeLayout>
</LinearLayout>
<LinearLayout
@@ -80,7 +102,8 @@
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginRight="8dp"
- android:maxLines="2"
+ android:ellipsize="end"
+ android:lines="1"
android:textSize="@dimen/text_size_medium"
android:textStyle="bold" />
diff --git a/res/layout/mediaplayer_activity.xml b/res/layout/mediaplayer_activity.xml
index 34788216b..73a0e0be6 100644
--- a/res/layout/mediaplayer_activity.xml
+++ b/res/layout/mediaplayer_activity.xml
@@ -17,8 +17,7 @@
android:layout_height="match_parent"
android:layout_alignParentLeft="true"
android:background="?attr/borderless_button"
- android:padding="4dp"
- android:src="?attr/default_cover" />
+ android:padding="4dp" />
<ImageButton
android:id="@+id/butNavRight"
@@ -26,8 +25,7 @@
android:layout_height="match_parent"
android:layout_alignParentRight="true"
android:background="?attr/borderless_button"
- android:padding="4dp"
- android:src="?attr/default_cover" />
+ android:padding="4dp" />
<TextView
android:id="@+id/txtvTitle"
diff --git a/res/layout/organize_queue_listitem.xml b/res/layout/organize_queue_listitem.xml
index a109b5784..5cac6e85b 100644
--- a/res/layout/organize_queue_listitem.xml
+++ b/res/layout/organize_queue_listitem.xml
@@ -5,8 +5,8 @@
<ImageView
android:id="@+id/imgvFeedimage"
- android:layout_width="@dimen/thumbnail_length"
- android:layout_height="@dimen/thumbnail_length"
+ android:layout_width="@dimen/thumbnail_length_itemlist"
+ android:layout_height="@dimen/thumbnail_length_itemlist"
android:layout_alignParentLeft="true"
android:scaleType="centerCrop" />