news-android/res/layout/subscription_detail_list_item_extended.xml
2013-09-16 13:57:13 +02:00

125 lines
No EOL
4.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<!--
android:background="@drawable/checkbox_background"
android:button="@drawable/checkbox"
-->
<View
android:id="@+id/color_line_feed"
android:layout_width="@dimen/color_bar_of_feeds"
android:layout_height="fill_parent"
android:background="@color/abs__background_holo_dark"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="@dimen/listview_row_margin_left"
android:layout_marginRight="@dimen/listview_row_margin_right"
android:layout_marginTop="@dimen/listview_row_margin_top"
android:orientation="horizontal" >
<com.devspark.robototextview.widget.RobotoTextView
android:id="@+id/tv_subscription"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:ellipsize="end"
android:gravity="center_vertical"
android:layout_gravity="left"
android:singleLine="true"
android:text="Hdfsa"
android:layout_weight="1"
android:textSize="14sp" />
<com.devspark.robototextview.widget.RobotoTextView
android:id="@+id/tv_item_date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:layout_gravity="right"
android:text="21.09.2013"
android:singleLine="true"
android:textSize="14sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="@dimen/listview_row_margin_left"
android:layout_marginRight="@dimen/listview_row_margin_right"
android:layout_marginBottom="@dimen/listview_row_margin_bottom"
android:orientation="horizontal" >
<LinearLayout
android:layout_width="0dip"
android:layout_height="match_parent"
android:orientation="vertical"
android:layout_weight="1" >
<com.devspark.robototextview.widget.RobotoTextView
android:id="@+id/summary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:gravity="center_vertical"
android:lines="2"
android:textSize="17sp"
android:text="Hi"
android:textStyle="bold" />
<com.devspark.robototextview.widget.RobotoTextView
android:id="@+id/body"
android:layout_marginTop="5dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:lines="4"
android:text="Hi"
android:textColor="#858585"
android:textSize="14sp"
android:autoLink="none" />
<!-- android:gravity="center_vertical" -->
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:orientation="vertical"
android:layout_gravity="right"
android:gravity="center_horizontal|center_vertical" >
<com.devspark.robototextview.widget.RobotoCheckBox
android:id="@+id/cb_lv_item_starred"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:clickable="false"
android:focusable="false"
android:button="@drawable/checkbox_background_empty"
android:background="@drawable/checkbox_background" />
<!-- android:layout_width="40dp"
android:layout_height="40dp" -->
<com.devspark.robototextview.widget.RobotoCheckBox
android:id="@+id/cb_lv_item_read"
android:layout_marginLeft="3dp"
android:layout_marginTop="10dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:clickable="false"
android:focusable="false" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>