diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2012-09-13 11:39:31 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2012-09-13 11:39:31 +0200 |
commit | c97c21990af582c5f315d767db5c4914c07bbf11 (patch) | |
tree | 0e1eb8b71d132b8aecb7f39f80c40596794fd63d /res | |
parent | 2c9bbe9e873d08ea2904b337ff07660844e11455 (diff) | |
download | AntennaPod-c97c21990af582c5f315d767db5c4914c07bbf11.zip |
layout adjustments
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/feeditemlist_item.xml | 28 | ||||
-rw-r--r-- | res/values/dimens.xml | 1 |
2 files changed, 16 insertions, 13 deletions
diff --git a/res/layout/feeditemlist_item.xml b/res/layout/feeditemlist_item.xml index 87f7ec621..725891071 100644 --- a/res/layout/feeditemlist_item.xml +++ b/res/layout/feeditemlist_item.xml @@ -54,46 +54,48 @@ android:layout_width="match_parent" android:layout_height="wrap_content" > - <TextView - android:id="@+id/txtvLenSize" - android:layout_width="wrap_content" - android:layout_height="match_parent" - android:layout_alignParentLeft="true" /> - <LinearLayout + android:id="@+id/enc_icons" android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_alignBottom="@id/txtvLenSize" + android:layout_height="@dimen/enc_icons_size" android:layout_alignParentRight="true" - android:layout_alignTop="@id/txtvLenSize" + android:layout_centerVertical="true" android:orientation="horizontal" > <ImageView android:id="@+id/imgvType" - android:layout_width="wrap_content" + android:layout_width="@dimen/enc_icons_size" android:layout_height="match_parent" /> <ImageView android:id="@+id/imgvInPlaylist" - android:layout_width="wrap_content" + android:layout_width="@dimen/enc_icons_size" android:layout_height="match_parent" android:src="@drawable/stat_playlist" android:visibility="gone" /> <ImageView android:id="@+id/imgvDownloaded" - android:layout_width="wrap_content" + android:layout_width="@dimen/enc_icons_size" android:layout_height="match_parent" android:src="@drawable/av_download" android:visibility="gone" /> <ImageView android:id="@+id/imgvDownloading" - android:layout_width="wrap_content" + android:layout_width="@dimen/enc_icons_size" android:layout_height="match_parent" android:src="@drawable/navigation_refresh" android:visibility="gone" /> </LinearLayout> + + <TextView + android:id="@+id/txtvLenSize" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_alignParentLeft="true" + android:layout_toLeftOf="@id/enc_icons" + android:maxLines="2" /> </RelativeLayout> </LinearLayout> diff --git a/res/values/dimens.xml b/res/values/dimens.xml index da3732752..8f918e603 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -3,5 +3,6 @@ <dimen name="widget_margin">8dp</dimen> <dimen name="thumbnail_length">55dp</dimen> <dimen name="external_player_height">55dp</dimen> + <dimen name="enc_icons_size">20dp</dimen> </resources>
\ No newline at end of file |