diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2013-02-23 13:28:31 +0100 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2013-02-23 13:28:31 +0100 |
commit | 8e9fecb26786f2f69f57fe92ed92dc78c0d321d4 (patch) | |
tree | 20773e6652b567ce8bee10e17a224938e4414778 /res/layout/feedlist_item_grid.xml | |
parent | 970f3f8c740fe2f4e9ae4b44a832efbe163cad05 (diff) | |
download | AntennaPod-8e9fecb26786f2f69f57fe92ed92dc78c0d321d4.zip |
Updated tablet layout
Diffstat (limited to 'res/layout/feedlist_item_grid.xml')
-rw-r--r-- | res/layout/feedlist_item_grid.xml | 71 |
1 files changed, 47 insertions, 24 deletions
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" /> |