diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2013-10-03 14:48:54 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2013-10-03 14:48:54 +0200 |
commit | 483ddecca69b5353c1c49426fc99f329976d96b7 (patch) | |
tree | f4fb3e29e757d05bf822b917aa2ee14fe498abea /res/layout | |
parent | 088878fcfd69dd07d26cf612ac72125efd252a7b (diff) | |
download | AntennaPod-483ddecca69b5353c1c49426fc99f329976d96b7.zip |
Improved tablet main screen layout.
Reduced thumbnail size so that more items can be displayed at the same time.
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/feedlist_item_grid.xml | 37 |
1 files changed, 22 insertions, 15 deletions
diff --git a/res/layout/feedlist_item_grid.xml b/res/layout/feedlist_item_grid.xml index a08d89948..c761a3a84 100644 --- a/res/layout/feedlist_item_grid.xml +++ b/res/layout/feedlist_item_grid.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="wrap_content" - android:layout_height="wrap_content" > + android:layout_width="wrap_content" + android:layout_height="wrap_content"> <ImageView android:id="@+id/imgvFeedimage" @@ -12,7 +12,7 @@ android:layout_margin="8dp" android:adjustViewBounds="true" android:cropToPadding="true" - android:scaleType="fitXY" /> + android:scaleType="fitXY"/> <LinearLayout android:id="@+id/lEpisodeCounts" @@ -21,7 +21,7 @@ android:layout_alignRight="@id/imgvFeedimage" android:layout_below="@id/imgvFeedimage" android:layout_centerVertical="true" - android:orientation="vertical" > + android:orientation="vertical"> <RelativeLayout android:id="@+id/lNewStatusLabel" @@ -30,7 +30,7 @@ android:layout_marginBottom="8dp" android:layout_marginTop="4dp" android:layout_weight="1" - android:background="@color/status_unread" > + android:background="@color/status_unread"> <ImageView android:layout_width="wrap_content" @@ -38,7 +38,7 @@ android:layout_alignParentRight="true" android:layout_centerVertical="true" android:layout_marginRight="4dp" - android:src="@drawable/white_circle" /> + android:src="@drawable/white_circle"/> <TextView android:id="@+id/txtvNewEps" @@ -52,7 +52,7 @@ android:minEms="2" android:textColor="@color/white" android:textSize="@dimen/text_size_micro" - android:textStyle="bold" /> + android:textStyle="bold"/> </RelativeLayout> <RelativeLayout @@ -61,7 +61,7 @@ android:layout_height="0dip" android:layout_marginBottom="8dp" android:layout_weight="1" - android:background="@color/ics_gray" > + android:background="@color/ics_gray"> <TextView android:id="@+id/txtvProgressEps" @@ -75,7 +75,7 @@ android:paddingLeft="4dp" android:textColor="@color/white" android:textSize="@dimen/text_size_micro" - android:textStyle="bold" /> + android:textStyle="bold"/> <ImageView android:layout_width="10dp" @@ -84,7 +84,7 @@ android:layout_centerVertical="true" android:layout_marginLeft="2dp" android:layout_marginRight="2dp" - android:src="@drawable/av_play_dark" /> + android:src="@drawable/av_play_dark"/> </RelativeLayout> </LinearLayout> @@ -94,7 +94,7 @@ android:layout_alignLeft="@id/imgvFeedimage" android:layout_below="@id/imgvFeedimage" android:layout_toLeftOf="@id/lEpisodeCounts" - android:orientation="vertical" > + android:orientation="vertical"> <TextView android:id="@+id/txtvFeedname" @@ -104,22 +104,29 @@ android:layout_marginRight="8dp" android:ellipsize="end" android:lines="1" - android:textSize="@dimen/text_size_medium" - android:textStyle="bold" /> + android:textSize="@dimen/text_size_small" + android:textColor="?android:attr/textColorPrimary" + android:textStyle="bold"/> <TextView android:id="@+id/txtvLastUpdate" + android:lines="2" + android:ellipsize="end" android:layout_width="match_parent" android:layout_height="wrap_content" - android:textColor="?android:attr/textColorSecondary" /> + android:textSize="@dimen/text_size_micro" + android:textColor="?android:attr/textColorTertiary"/> <TextView android:id="@+id/txtvNumEpisodes" + android:lines="1" + android:ellipsize="end" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="8dp" android:layout_marginRight="8dp" - android:textColor="?android:attr/textColorSecondary" /> + android:textSize="@dimen/text_size_micro" + android:textColor="?android:attr/textColorTertiary"/> </LinearLayout> </RelativeLayout>
\ No newline at end of file |