diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2012-11-17 15:23:43 +0100 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2012-11-17 15:23:43 +0100 |
commit | d8098f30404120f93418eda5a8c667138f080e47 (patch) | |
tree | 9ef9bdd388ff62ce30778e5fe95de2a58730333b /res/layout/feedlist_item_grid.xml | |
parent | 8c3c04db7a2483d324f39227daf77a4332e78017 (diff) | |
download | AntennaPod-d8098f30404120f93418eda5a8c667138f080e47.zip |
Added new status indicators to tablet layout
Diffstat (limited to 'res/layout/feedlist_item_grid.xml')
-rw-r--r-- | res/layout/feedlist_item_grid.xml | 78 |
1 files changed, 54 insertions, 24 deletions
diff --git a/res/layout/feedlist_item_grid.xml b/res/layout/feedlist_item_grid.xml index 30e44b098..beda0ffcd 100644 --- a/res/layout/feedlist_item_grid.xml +++ b/res/layout/feedlist_item_grid.xml @@ -15,11 +15,63 @@ android:scaleType="fitXY" /> <LinearLayout + android:id="@+id/lEpisodeCounts" + android:layout_width="wrap_content" + android:layout_height="fill_parent" + android:layout_alignRight="@id/imgvFeedimage" + android:layout_below="@id/imgvFeedimage" + android:layout_centerVertical="true" + android:orientation="vertical" > + + <LinearLayout + android:id="@+id/lNewStatusLabel" + android:layout_width="wrap_content" + android:layout_height="0dip" + android:layout_weight="1" > + + <TextView + android:id="@+id/txtvNewEps" + android:layout_width="wrap_content" + android:layout_height="fill_parent" + android:layout_marginRight="4dip" + android:textSize="20dp" + android:textStyle="bold" /> + + <View + android:layout_width="5dip" + android:layout_height="match_parent" + android:background="@color/status_unread" + android:visibility="visible" /> + </LinearLayout> + + <LinearLayout + android:id="@+id/lProgressStatusLabel" + android:layout_width="wrap_content" + android:layout_height="0dip" + android:layout_weight="1" > + + <TextView + android:id="@+id/txtvProgressEps" + android:layout_width="wrap_content" + android:layout_height="fill_parent" + android:layout_marginRight="4dip" + android:textSize="20dp" + android:textStyle="bold" /> + + <View + android:layout_width="5dip" + android:layout_height="match_parent" + android:background="@color/status_progress" + android:visibility="visible" /> + </LinearLayout> + </LinearLayout> + + <LinearLayout android:layout_width="0dp" android:layout_height="wrap_content" android:layout_alignLeft="@id/imgvFeedimage" - android:layout_alignRight="@id/imgvFeedimage" android:layout_below="@id/imgvFeedimage" + android:layout_toLeftOf="@id/lEpisodeCounts" android:orientation="vertical" > <TextView @@ -27,17 +79,15 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="8dp" - android:layout_marginLeft="8dp" android:layout_marginRight="8dp" - android:gravity="center_horizontal" android:maxLines="2" + android:textSize="18dp" android:textStyle="bold" /> <TextView android:id="@+id/txtvLastUpdate" android:layout_width="match_parent" android:layout_height="wrap_content" - android:gravity="center_horizontal" android:textColor="@color/gray" /> <TextView @@ -45,28 +95,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="8dp" - android:layout_marginLeft="8dp" android:layout_marginRight="8dp" - android:gravity="center_horizontal" android:textColor="@color/gray" /> </LinearLayout> - <LinearLayout - android:layout_width="wrap_content" - android:layout_height="25dp" - android:layout_alignRight="@id/imgvFeedimage" - android:layout_alignTop="@id/imgvFeedimage" > - - <TextView - android:id="@+id/txtvNewEps" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="@drawable/badge" - android:gravity="center" - android:maxLines="1" - android:textColor="@color/white" - android:textStyle="bold" - android:visibility="gone" /> - </LinearLayout> - </RelativeLayout>
\ No newline at end of file |