mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
214 lines
No EOL
8.8 KiB
XML
214 lines
No EOL
8.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<com.newsblur.view.NonfocusScrollview xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res/com.newsblur"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/item_background" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<View
|
|
android:id="@+id/row_item_favicon_borderbar_1"
|
|
android:layout_width="8dp"
|
|
android:layout_height="match_parent" />
|
|
|
|
<View
|
|
android:id="@+id/row_item_favicon_borderbar_2"
|
|
android:layout_width="8dp"
|
|
android:layout_height="match_parent" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="10dp" >
|
|
|
|
<TextView
|
|
android:id="@+id/reading_feed_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentLeft="true"
|
|
android:paddingTop="10dp"
|
|
android:textColor="@color/newsblur_blue"
|
|
android:textSize="13sp" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/reading_item_date"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/reading_feed_title"
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_marginRight="10dp"
|
|
android:paddingTop="10dp"
|
|
android:textColor="@color/linkblue"
|
|
android:textSize="13sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/reading_item_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/reading_item_date"
|
|
android:layout_marginRight="10dp"
|
|
android:textColor="@color/darkgray"
|
|
android:textSize="20sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/reading_item_authors"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_below="@id/reading_item_title"
|
|
android:layout_marginTop="10dp"
|
|
android:maxLines="1"
|
|
android:minWidth="80dp"
|
|
android:textColor="@color/darkgray"
|
|
android:textSize="11dp" />
|
|
|
|
<GridView
|
|
android:id="@+id/reading_item_tags"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_below="@id/reading_item_authors"
|
|
android:columnWidth="60dp"
|
|
android:horizontalSpacing="3dp"
|
|
android:numColumns="5"
|
|
android:paddingBottom="10dp"
|
|
android:paddingTop="10dp"
|
|
android:stretchMode="columnWidth"
|
|
android:verticalSpacing="3dp" />
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="3dp"
|
|
android:background="@drawable/divider_light" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/reading_share_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:paddingBottom="10dp"
|
|
android:paddingTop="10dp"
|
|
android:visibility="gone" >
|
|
|
|
<View
|
|
android:id="@+id/center_filler"
|
|
android:layout_width="10dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_centerInParent="true" />
|
|
|
|
<TextView
|
|
android:id="@+id/comment_by"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="20dp"
|
|
android:textColor="@color/darkgray"
|
|
android:textSize="13sp"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:id="@+id/shared_by"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginRight="20dp"
|
|
android:textColor="@color/darkgray"
|
|
android:textSize="13sp"
|
|
android:textStyle="bold" />
|
|
|
|
<android.support.v7.widget.GridLayout
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/reading_social_commentimages"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_toLeftOf="@id/center_filler"
|
|
android:layout_toRightOf="@id/comment_by"
|
|
android:paddingLeft="5dp"
|
|
app:columnCount="3" />
|
|
|
|
<android.support.v7.widget.GridLayout
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/reading_social_shareimages"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_toLeftOf="@+id/shared_by"
|
|
android:paddingRight="5dp"
|
|
app:columnCount="3" />
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="3dp"
|
|
android:id="@+id/share_bar_underline"
|
|
android:visibility="gone"
|
|
android:layout_marginTop="3dp"
|
|
android:background="@drawable/divider_light" />
|
|
|
|
<com.newsblur.view.NewsblurWebview
|
|
android:id="@+id/reading_webview"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/item_background"
|
|
android:paddingLeft="20dp"
|
|
android:paddingRight="20dp"
|
|
android:scrollbars="none" />
|
|
|
|
<Button
|
|
android:id="@+id/share_story_button"
|
|
style="@style/shareButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_marginRight="20dp"
|
|
android:background="@drawable/selector_sharebutton_background"
|
|
android:padding="10dp"
|
|
android:layout_marginBottom="10dp"
|
|
android:text="@string/share_this" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/reading_shared_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<LinearLayout
|
|
android:id="@+id/reading_friend_comment_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/reading_share_bar"
|
|
android:background="@color/white"
|
|
android:orientation="vertical" />
|
|
|
|
<View
|
|
android:id="@+id/comment_divider"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="3dp"
|
|
android:layout_below="@id/reading_friend_comment_container"
|
|
android:background="@drawable/divider_light" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/reading_public_comment_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/comment_divider"
|
|
android:background="@color/white"
|
|
android:orientation="vertical" />
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
|
|
</com.newsblur.view.NonfocusScrollview> |