2014-10-16 20:06:56 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-07-10 16:34:21 +00:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2014-10-24 09:43:16 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2014-10-16 20:06:56 +00:00
|
|
|
android:id="@+id/headlines_row"
|
2015-07-10 20:09:02 +00:00
|
|
|
android:layout_width="wrap_content"
|
2017-06-01 14:03:11 +00:00
|
|
|
android:layout_height="wrap_content"
|
2015-02-12 18:09:53 +00:00
|
|
|
android:background="?headlineUnreadBackground"
|
2015-07-10 16:34:21 +00:00
|
|
|
tools:ignore="HardcodedText">
|
2014-10-16 20:06:56 +00:00
|
|
|
|
2014-10-24 21:27:26 +00:00
|
|
|
<TableLayout
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:baselineAligned="false"
|
|
|
|
android:shrinkColumns="0,1"
|
|
|
|
android:stretchColumns="0,1">
|
|
|
|
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2014-10-16 20:06:56 +00:00
|
|
|
|
2014-10-24 21:27:26 +00:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/flavorImageHolder"
|
2014-10-16 20:06:56 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2014-10-24 21:27:26 +00:00
|
|
|
android:layout_span="2">
|
|
|
|
|
2015-07-10 16:34:21 +00:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
2015-07-10 20:09:02 +00:00
|
|
|
android:layout_height="wrap_content">
|
2015-07-10 16:34:21 +00:00
|
|
|
|
2015-07-10 20:59:49 +00:00
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/flavorImageLoadingBar"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:visibility="visible"
|
|
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
|
|
android:layout_alignParentTop="false"
|
|
|
|
android:layout_alignParentRight="false"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:max="100"
|
2017-06-01 06:38:44 +00:00
|
|
|
android:indeterminate="false"
|
|
|
|
android:layout_toRightOf="@+id/flavor_video"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentStart="true" />
|
2015-07-10 20:59:49 +00:00
|
|
|
|
2017-05-31 18:20:23 +00:00
|
|
|
<ImageView
|
2015-07-10 19:48:28 +00:00
|
|
|
android:id="@+id/flavor_image"
|
2015-12-05 21:05:04 +00:00
|
|
|
android:foreground="@drawable/ripple"
|
2015-07-10 16:34:21 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-07-10 20:09:02 +00:00
|
|
|
android:layout_centerHorizontal="true"
|
2015-07-10 19:48:28 +00:00
|
|
|
android:layout_gravity="center"
|
|
|
|
android:adjustViewBounds="true"
|
2015-07-10 20:09:02 +00:00
|
|
|
android:background="@android:color/transparent"
|
2015-07-10 19:48:28 +00:00
|
|
|
android:cropToPadding="true"
|
|
|
|
android:scaleType="fitCenter"
|
2015-07-10 20:09:02 +00:00
|
|
|
android:visibility="visible" />
|
2015-07-10 19:48:28 +00:00
|
|
|
|
2017-06-02 11:46:01 +00:00
|
|
|
<TextureView
|
2017-05-31 19:51:23 +00:00
|
|
|
android:id="@+id/flavor_video"
|
|
|
|
android:foreground="@drawable/ripple"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
android:background="@android:color/transparent"
|
|
|
|
android:cropToPadding="true"
|
|
|
|
android:src="@drawable/drawer_header"
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:layout_alignBottom="@+id/flavor_image"
|
|
|
|
android:layout_alignTop="@+id/flavor_image" />
|
|
|
|
|
2015-07-10 19:48:28 +00:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/headline_header"
|
2015-12-05 20:57:23 +00:00
|
|
|
android:clickable="true"
|
2015-07-10 16:34:21 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-07-10 19:57:33 +00:00
|
|
|
android:background="?headlineHeaderBackground"
|
2015-07-10 19:48:28 +00:00
|
|
|
android:padding="16dp">
|
2015-07-10 16:34:21 +00:00
|
|
|
|
|
|
|
<TextView
|
2015-07-10 19:48:28 +00:00
|
|
|
android:id="@+id/title"
|
2015-12-05 20:57:23 +00:00
|
|
|
android:background="@drawable/ripple"
|
2015-07-10 19:48:28 +00:00
|
|
|
android:layout_width="match_parent"
|
2015-07-10 16:34:21 +00:00
|
|
|
android:layout_height="wrap_content"
|
2015-07-10 19:48:28 +00:00
|
|
|
android:layout_span="2"
|
2015-07-10 16:34:21 +00:00
|
|
|
android:gravity="center_vertical"
|
2015-07-10 19:48:28 +00:00
|
|
|
android:paddingBottom="8dp"
|
|
|
|
android:singleLine="false"
|
|
|
|
android:text="Sample entry title"
|
|
|
|
android:textColor="?headlineUnreadTextColor"
|
|
|
|
android:textSize="18sp"
|
2015-07-17 07:44:38 +00:00
|
|
|
android:textStyle="bold"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="3" />
|
2015-07-10 19:48:28 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2015-07-10 16:34:21 +00:00
|
|
|
android:layout_height="wrap_content"
|
2015-07-10 19:48:28 +00:00
|
|
|
android:layout_below="@+id/title"
|
2015-07-10 20:37:18 +00:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:id="@+id/linearLayout2">
|
2015-07-10 19:48:28 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/feed_title"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0.5"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:fontFamily="sans-serif-light"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:text="Example Feed AAA AAA AAAAAA AAAA AAAAA AA A A AA AA"
|
|
|
|
android:textColor="?headlineSecondaryTextColor"
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/date"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0.5"
|
|
|
|
android:ellipsize="none"
|
|
|
|
android:fontFamily="sans-serif-light"
|
|
|
|
android:gravity="right|center_vertical"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:text="Jan 01, 12:00, 1970"
|
|
|
|
android:textColor="?headlineSecondaryTextColor"
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2015-07-10 20:37:18 +00:00
|
|
|
|
2015-07-10 19:48:28 +00:00
|
|
|
</RelativeLayout>
|
2015-07-10 20:37:18 +00:00
|
|
|
|
2015-07-10 16:34:21 +00:00
|
|
|
</RelativeLayout>
|
2015-07-10 19:48:28 +00:00
|
|
|
|
2015-07-10 20:37:18 +00:00
|
|
|
<ImageView
|
2015-07-10 20:59:49 +00:00
|
|
|
android:id="@+id/flavor_video_kind"
|
2015-07-10 20:37:18 +00:00
|
|
|
android:layout_width="wrap_content"
|
2015-07-10 19:48:28 +00:00
|
|
|
android:layout_height="wrap_content"
|
2015-12-02 10:38:05 +00:00
|
|
|
android:layout_gravity="bottom|left"
|
2015-07-10 20:37:18 +00:00
|
|
|
android:scaleType="fitXY"
|
|
|
|
android:src="@drawable/ic_play_circle"
|
|
|
|
android:visibility="visible"
|
|
|
|
android:layout_below="@+id/headline_header"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentEnd="true"
|
2017-06-05 16:08:01 +00:00
|
|
|
android:tint="?colorAccent"
|
2015-12-02 10:38:05 +00:00
|
|
|
android:layout_marginLeft="8dp"
|
2015-07-10 20:37:18 +00:00
|
|
|
android:layout_marginBottom="8dp" />
|
2015-07-10 19:48:28 +00:00
|
|
|
|
2015-12-02 10:38:05 +00:00
|
|
|
<ImageView
|
2017-06-02 12:19:30 +00:00
|
|
|
android:id="@+id/gallery_overflow"
|
2015-12-02 10:38:05 +00:00
|
|
|
android:clickable="true"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:background="@drawable/ripple"
|
|
|
|
android:paddingLeft="4dp"
|
|
|
|
android:paddingRight="4dp"
|
|
|
|
android:src="@drawable/ic_dots_vertical"
|
|
|
|
android:layout_gravity="bottom|right"
|
2017-06-05 16:08:01 +00:00
|
|
|
android:tint="?colorAccent"
|
2015-12-02 10:38:05 +00:00
|
|
|
android:layout_marginBottom="10dp" />
|
|
|
|
|
2014-10-24 21:27:26 +00:00
|
|
|
</FrameLayout>
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2014-10-16 20:06:56 +00:00
|
|
|
|
|
|
|
<TextView
|
2014-10-24 21:27:26 +00:00
|
|
|
android:id="@+id/excerpt"
|
|
|
|
android:layout_width="match_parent"
|
2014-10-16 20:06:56 +00:00
|
|
|
android:layout_height="match_parent"
|
2015-07-10 16:34:21 +00:00
|
|
|
android:layout_span="2"
|
|
|
|
android:ellipsize="end"
|
2014-10-24 21:27:26 +00:00
|
|
|
android:lineSpacingExtra="2sp"
|
2014-11-13 19:02:59 +00:00
|
|
|
android:maxLines="5"
|
2015-07-10 16:34:21 +00:00
|
|
|
android:padding="16dp"
|
2014-10-24 21:27:26 +00:00
|
|
|
android:text="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
|
|
|
|
android:textColor="?headlineExcerptTextColor"
|
2015-07-10 16:34:21 +00:00
|
|
|
android:textSize="13sp" />
|
2014-10-24 21:27:26 +00:00
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<LinearLayout
|
2014-10-31 11:11:47 +00:00
|
|
|
android:id="@+id/headline_footer"
|
2014-10-24 21:27:26 +00:00
|
|
|
android:layout_width="match_parent"
|
2014-10-16 20:06:56 +00:00
|
|
|
android:layout_height="wrap_content"
|
2015-07-10 16:34:21 +00:00
|
|
|
android:layout_span="2"
|
2014-10-24 21:27:26 +00:00
|
|
|
android:gravity="center_vertical"
|
2015-07-10 16:34:21 +00:00
|
|
|
android:paddingBottom="8dp"
|
|
|
|
android:paddingLeft="8dp">
|
2014-10-24 21:27:26 +00:00
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/selected"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:focusable="false" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/author"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:fontFamily="sans-serif-light"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:text="by Author"
|
|
|
|
android:textColor="?headlineSecondaryTextColor"
|
|
|
|
android:textSize="12sp"
|
|
|
|
android:textStyle="italic" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/marked"
|
2014-11-09 12:42:02 +00:00
|
|
|
android:layout_width="wrap_content"
|
2015-06-01 13:30:23 +00:00
|
|
|
android:layout_height="24dp"
|
2014-10-24 21:27:26 +00:00
|
|
|
android:layout_weight="0"
|
2015-07-10 16:34:21 +00:00
|
|
|
android:background="@drawable/ripple"
|
2014-10-24 21:27:26 +00:00
|
|
|
android:clickable="true"
|
2015-07-10 16:34:21 +00:00
|
|
|
android:paddingLeft="4dp"
|
|
|
|
android:paddingRight="4dp"
|
2015-06-01 16:10:12 +00:00
|
|
|
android:src="?ic_star_outline" />
|
2014-10-24 21:27:26 +00:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/published"
|
2014-11-09 12:42:02 +00:00
|
|
|
android:layout_width="wrap_content"
|
2015-06-01 13:30:23 +00:00
|
|
|
android:layout_height="24dp"
|
2014-10-24 21:27:26 +00:00
|
|
|
android:layout_weight="0"
|
2015-07-10 16:34:21 +00:00
|
|
|
android:background="@drawable/ripple"
|
2014-10-24 21:27:26 +00:00
|
|
|
android:clickable="true"
|
2015-07-10 16:34:21 +00:00
|
|
|
android:paddingLeft="4dp"
|
|
|
|
android:paddingRight="4dp"
|
2015-07-10 20:09:02 +00:00
|
|
|
android:src="?ic_rss_box" />
|
2014-10-24 21:27:26 +00:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/article_menu_button"
|
|
|
|
android:layout_width="wrap_content"
|
2015-06-08 13:20:40 +00:00
|
|
|
android:layout_height="24dp"
|
2014-10-24 21:27:26 +00:00
|
|
|
android:layout_weight="0"
|
2015-07-10 16:34:21 +00:00
|
|
|
android:background="@drawable/ripple"
|
2014-11-09 12:42:02 +00:00
|
|
|
android:paddingLeft="4dp"
|
|
|
|
android:paddingRight="4dp"
|
2015-06-08 13:20:40 +00:00
|
|
|
android:src="?ic_dots_vertical" />
|
2014-10-24 21:27:26 +00:00
|
|
|
</LinearLayout>
|
|
|
|
</TableRow>
|
|
|
|
</TableLayout>
|
2014-10-16 20:06:56 +00:00
|
|
|
|
2015-02-12 18:09:53 +00:00
|
|
|
</FrameLayout>
|