AntennaPod/res/layout/feeditemlist_item.xml

102 lines
3.8 KiB
XML
Raw Normal View History

2012-04-12 15:26:41 +02:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2012-07-05 11:16:53 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="8dp" >
2012-06-23 12:36:04 +02:00
<ImageButton
android:id="@+id/butAction"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:background="@drawable/borderless_button"
android:clickable="false"
android:focusable="false"
android:focusableInTouchMode="false"
android:padding="8dp"
android:scaleType="fitXY"
android:src="@drawable/navigation_expand" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentLeft="true"
2012-07-05 11:16:53 +02:00
android:layout_marginBottom="4dp"
android:layout_marginLeft="8dp"
android:layout_marginTop="4dp"
android:layout_toLeftOf="@id/butAction"
2012-06-23 12:36:04 +02:00
android:orientation="vertical" >
<TextView
android:id="@+id/txtvItemname"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
2012-07-17 13:25:11 +02:00
android:layout_marginBottom="4dp"
2012-06-23 12:36:04 +02:00
android:textSize="16dp" />
<TextView
android:id="@+id/txtvFeedname"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2012-07-17 13:25:11 +02:00
android:layout_marginBottom="4dp"
android:visibility="gone" />
2012-06-23 12:36:04 +02:00
<TextView
android:id="@+id/txtvPublished"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
2012-07-17 13:25:11 +02:00
android:layout_marginBottom="4dp"
2012-06-23 12:36:04 +02:00
android:textColor="@color/gray" />
<RelativeLayout
android:id="@+id/enc_info"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<LinearLayout
2012-09-13 11:39:31 +02:00
android:id="@+id/enc_icons"
2012-06-23 12:36:04 +02:00
android:layout_width="wrap_content"
2012-09-13 11:39:31 +02:00
android:layout_height="@dimen/enc_icons_size"
2012-06-23 12:36:04 +02:00
android:layout_alignParentRight="true"
2012-09-13 11:39:31 +02:00
android:layout_centerVertical="true"
2012-06-23 12:36:04 +02:00
android:orientation="horizontal" >
<ImageView
android:id="@+id/imgvType"
2012-09-13 11:39:31 +02:00
android:layout_width="@dimen/enc_icons_size"
2012-06-23 12:36:04 +02:00
android:layout_height="match_parent" />
<ImageView
android:id="@+id/imgvInPlaylist"
2012-09-13 11:39:31 +02:00
android:layout_width="@dimen/enc_icons_size"
android:layout_height="match_parent"
android:src="@drawable/stat_playlist"
android:visibility="gone" />
2012-06-23 12:36:04 +02:00
<ImageView
android:id="@+id/imgvDownloaded"
2012-09-13 11:39:31 +02:00
android:layout_width="@dimen/enc_icons_size"
2012-06-23 12:36:04 +02:00
android:layout_height="match_parent"
android:src="@drawable/av_download"
android:visibility="gone" />
2012-06-24 22:57:29 +02:00
<ImageView
android:id="@+id/imgvDownloading"
2012-09-13 11:39:31 +02:00
android:layout_width="@dimen/enc_icons_size"
2012-06-24 22:57:29 +02:00
android:layout_height="match_parent"
android:src="@drawable/navigation_refresh"
android:visibility="gone" />
2012-06-23 12:36:04 +02:00
</LinearLayout>
2012-09-13 11:39:31 +02:00
<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" />
2012-06-23 12:36:04 +02:00
</RelativeLayout>
</LinearLayout>
</RelativeLayout>