2014-11-13 18:42:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:id="@+id/headlines_row"
|
2015-02-12 18:23:46 +00:00
|
|
|
android:padding="@dimen/activity_horizontal_margin"
|
2014-11-13 18:42:10 +00:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
tools:ignore="HardcodedText" >
|
|
|
|
|
2014-11-16 09:13:39 +00:00
|
|
|
<FrameLayout
|
2015-07-08 12:09:29 +00:00
|
|
|
android:layout_marginRight="16dp"
|
2014-11-16 09:13:39 +00:00
|
|
|
android:layout_gravity="center_vertical|left"
|
2014-11-13 18:42:10 +00:00
|
|
|
android:layout_width="wrap_content"
|
2014-11-16 09:13:39 +00:00
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:clickable="true"
|
2015-07-08 12:28:24 +00:00
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
2015-07-08 12:09:29 +00:00
|
|
|
android:layout_gravity="center"
|
2014-11-16 09:13:39 +00:00
|
|
|
android:id="@+id/text_image"/>
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:src="@drawable/check_sm"
|
2015-07-08 12:09:29 +00:00
|
|
|
android:id="@+id/text_checked"
|
|
|
|
android:layout_gravity="center" />
|
2014-11-16 09:13:39 +00:00
|
|
|
|
|
|
|
</FrameLayout>
|
2014-11-13 18:42:10 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/title"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:text="Sample entry title"
|
2015-02-16 11:21:32 +00:00
|
|
|
android:textColor="?headlineExcerptTextColor"
|
2014-11-13 18:42:10 +00:00
|
|
|
android:textSize="18sp"
|
|
|
|
android:layout_span="2" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/excerpt"
|
2014-11-13 18:58:30 +00:00
|
|
|
android:maxLines="2"
|
2014-11-13 18:42:10 +00:00
|
|
|
android:ellipsize="end"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:text="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
|
|
|
|
android:textColor="?headlineExcerptTextColor"
|
|
|
|
android:textSize="13sp"
|
2015-02-12 12:17:11 +00:00
|
|
|
android:layout_span="2"
|
2015-02-12 18:23:46 +00:00
|
|
|
android:paddingTop="4dp" />
|
2014-11-13 18:42:10 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/feed_title"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
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"
|
2015-02-12 12:17:11 +00:00
|
|
|
android:layout_weight="0.5"
|
2015-02-12 18:23:46 +00:00
|
|
|
android:paddingTop="4dp" />
|
2014-11-13 18:42:10 +00:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/headline_footer"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/date"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:fontFamily="sans-serif-light"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:ellipsize="none"
|
|
|
|
android:layout_weight="1"
|
2014-11-13 18:58:30 +00:00
|
|
|
android:text="Jan 01"
|
2014-11-13 18:42:10 +00:00
|
|
|
android:textColor="?headlineSecondaryTextColor"
|
|
|
|
android:textSize="12sp"
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/marked"
|
2015-06-01 20:43:03 +00:00
|
|
|
android:background="@drawable/ripple"
|
2014-11-13 18:58:30 +00:00
|
|
|
android:layout_width="24dp"
|
2014-11-13 18:42:10 +00:00
|
|
|
android:layout_gravity="bottom|right"
|
2014-11-13 18:58:30 +00:00
|
|
|
android:layout_height="24dp"
|
2014-11-13 18:42:10 +00:00
|
|
|
android:layout_weight="0"
|
|
|
|
android:clickable="true"
|
2015-06-01 16:10:12 +00:00
|
|
|
android:src="?ic_star_outline" />
|
2014-11-13 18:42:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<!-- <ImageView
|
|
|
|
android:id="@+id/article_menu_button"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="16dp"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:paddingLeft="4dp"
|
|
|
|
android:paddingRight="4dp"
|
|
|
|
android:src="@drawable/ic_action_overflow" /> -->
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|