Improved tablet main screen layout.
Reduced thumbnail size so that more items can be displayed at the same time.
This commit is contained in:
parent
088878fcfd
commit
483ddecca6
@ -10,8 +10,12 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:numColumns="auto_fit"
|
|
||||||
android:stretchMode="columnWidth"
|
android:stretchMode="columnWidth"
|
||||||
|
android:numColumns="auto_fit"
|
||||||
|
android:verticalSpacing="4dp"
|
||||||
|
android:horizontalSpacing="4dp"
|
||||||
|
android:gravity="center"
|
||||||
|
android:columnWidth="@dimen/thumbnail_length"
|
||||||
tools:listitem="@layout/feedlist_item_grid" />
|
tools:listitem="@layout/feedlist_item_grid" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content" >
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/imgvFeedimage"
|
android:id="@+id/imgvFeedimage"
|
||||||
@ -12,7 +12,7 @@
|
|||||||
android:layout_margin="8dp"
|
android:layout_margin="8dp"
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:cropToPadding="true"
|
android:cropToPadding="true"
|
||||||
android:scaleType="fitXY" />
|
android:scaleType="fitXY"/>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/lEpisodeCounts"
|
android:id="@+id/lEpisodeCounts"
|
||||||
@ -21,7 +21,7 @@
|
|||||||
android:layout_alignRight="@id/imgvFeedimage"
|
android:layout_alignRight="@id/imgvFeedimage"
|
||||||
android:layout_below="@id/imgvFeedimage"
|
android:layout_below="@id/imgvFeedimage"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical">
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:id="@+id/lNewStatusLabel"
|
android:id="@+id/lNewStatusLabel"
|
||||||
@ -30,7 +30,7 @@
|
|||||||
android:layout_marginBottom="8dp"
|
android:layout_marginBottom="8dp"
|
||||||
android:layout_marginTop="4dp"
|
android:layout_marginTop="4dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:background="@color/status_unread" >
|
android:background="@color/status_unread">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -38,7 +38,7 @@
|
|||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_marginRight="4dp"
|
android:layout_marginRight="4dp"
|
||||||
android:src="@drawable/white_circle" />
|
android:src="@drawable/white_circle"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/txtvNewEps"
|
android:id="@+id/txtvNewEps"
|
||||||
@ -52,7 +52,7 @@
|
|||||||
android:minEms="2"
|
android:minEms="2"
|
||||||
android:textColor="@color/white"
|
android:textColor="@color/white"
|
||||||
android:textSize="@dimen/text_size_micro"
|
android:textSize="@dimen/text_size_micro"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold"/>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
@ -61,7 +61,7 @@
|
|||||||
android:layout_height="0dip"
|
android:layout_height="0dip"
|
||||||
android:layout_marginBottom="8dp"
|
android:layout_marginBottom="8dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:background="@color/ics_gray" >
|
android:background="@color/ics_gray">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/txtvProgressEps"
|
android:id="@+id/txtvProgressEps"
|
||||||
@ -75,7 +75,7 @@
|
|||||||
android:paddingLeft="4dp"
|
android:paddingLeft="4dp"
|
||||||
android:textColor="@color/white"
|
android:textColor="@color/white"
|
||||||
android:textSize="@dimen/text_size_micro"
|
android:textSize="@dimen/text_size_micro"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold"/>
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="10dp"
|
android:layout_width="10dp"
|
||||||
@ -84,7 +84,7 @@
|
|||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_marginLeft="2dp"
|
android:layout_marginLeft="2dp"
|
||||||
android:layout_marginRight="2dp"
|
android:layout_marginRight="2dp"
|
||||||
android:src="@drawable/av_play_dark" />
|
android:src="@drawable/av_play_dark"/>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@ -94,7 +94,7 @@
|
|||||||
android:layout_alignLeft="@id/imgvFeedimage"
|
android:layout_alignLeft="@id/imgvFeedimage"
|
||||||
android:layout_below="@id/imgvFeedimage"
|
android:layout_below="@id/imgvFeedimage"
|
||||||
android:layout_toLeftOf="@id/lEpisodeCounts"
|
android:layout_toLeftOf="@id/lEpisodeCounts"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/txtvFeedname"
|
android:id="@+id/txtvFeedname"
|
||||||
@ -104,22 +104,29 @@
|
|||||||
android:layout_marginRight="8dp"
|
android:layout_marginRight="8dp"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:lines="1"
|
android:lines="1"
|
||||||
android:textSize="@dimen/text_size_medium"
|
android:textSize="@dimen/text_size_small"
|
||||||
android:textStyle="bold" />
|
android:textColor="?android:attr/textColorPrimary"
|
||||||
|
android:textStyle="bold"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/txtvLastUpdate"
|
android:id="@+id/txtvLastUpdate"
|
||||||
|
android:lines="2"
|
||||||
|
android:ellipsize="end"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textColor="?android:attr/textColorSecondary" />
|
android:textSize="@dimen/text_size_micro"
|
||||||
|
android:textColor="?android:attr/textColorTertiary"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/txtvNumEpisodes"
|
android:id="@+id/txtvNumEpisodes"
|
||||||
|
android:lines="1"
|
||||||
|
android:ellipsize="end"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="8dp"
|
android:layout_marginBottom="8dp"
|
||||||
android:layout_marginRight="8dp"
|
android:layout_marginRight="8dp"
|
||||||
android:textColor="?android:attr/textColorSecondary" />
|
android:textSize="@dimen/text_size_micro"
|
||||||
|
android:textColor="?android:attr/textColorTertiary"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<dimen name="thumbnail_length">260dp</dimen>
|
<dimen name="thumbnail_length">170dp</dimen>
|
||||||
<dimen name="thumbnail_length_itemlist">70dp</dimen>
|
<dimen name="thumbnail_length_itemlist">70dp</dimen>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
Loading…
x
Reference in New Issue
Block a user