2014-11-07 20:57:08 +00:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2014-10-16 20:06:56 +00:00
|
|
|
android:id="@+id/article_fragment"
|
|
|
|
android:layout_width="fill_parent"
|
2014-10-27 10:39:37 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?articleBackground">
|
2014-10-16 20:06:56 +00:00
|
|
|
|
|
|
|
<org.fox.ttrss.util.NoChildFocusScrollView
|
|
|
|
android:id="@+id/article_scrollview"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:fillViewport="false" >
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<LinearLayout
|
2014-11-05 19:10:01 +00:00
|
|
|
android:padding="8dp"
|
2014-11-13 13:13:09 +00:00
|
|
|
android:elevation="6dp"
|
2014-10-16 20:06:56 +00:00
|
|
|
android:id="@+id/article_header"
|
2014-11-05 19:10:01 +00:00
|
|
|
android:background="?articleHeader"
|
2014-10-16 20:06:56 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingBottom="6dp" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/title"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
android:text="My simple headline"
|
2014-11-05 19:10:01 +00:00
|
|
|
android:textColor="?articleHeaderTextColor"
|
2014-10-16 20:06:56 +00:00
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/comments"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:fontFamily="sans-serif-light"
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
android:text="24 comments"
|
2014-11-05 19:10:01 +00:00
|
|
|
android:textColor="?articleHeaderTextColor"
|
2014-10-16 20:06:56 +00:00
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
android:paddingBottom="4dp" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tags"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:ellipsize="middle"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:fontFamily="sans-serif-light"
|
|
|
|
android:text="Example Feed"
|
2014-11-05 19:10:01 +00:00
|
|
|
android:textColor="?articleHeaderTextColor"
|
2014-10-16 20:06:56 +00:00
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/date"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:gravity="right"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:fontFamily="sans-serif-light"
|
|
|
|
android:text="Jan 01, 12:00"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
2014-11-05 19:10:01 +00:00
|
|
|
android:textColor="?articleHeaderTextColor"
|
2014-10-16 20:06:56 +00:00
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<TextView
|
2014-11-13 13:13:09 +00:00
|
|
|
android:elevation="2dp"
|
2014-10-16 20:06:56 +00:00
|
|
|
android:id="@+id/note"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2014-11-12 12:15:12 +00:00
|
|
|
android:background="?articleNoteBackground"
|
2014-10-16 20:06:56 +00:00
|
|
|
android:textColor="?articleNoteTextColor"
|
|
|
|
android:textSize="13sp"
|
2014-11-05 19:10:01 +00:00
|
|
|
android:padding="8dp"
|
2014-10-16 20:06:56 +00:00
|
|
|
android:text="[Article note]" />
|
|
|
|
|
|
|
|
<org.fox.ttrss.util.LessBrokenWebView
|
2014-11-05 19:10:01 +00:00
|
|
|
android:layout_margin="8dp"
|
2014-10-31 10:42:19 +00:00
|
|
|
android:id="@+id/article_content"
|
2014-10-16 20:06:56 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</org.fox.ttrss.util.NoChildFocusScrollView>
|
|
|
|
|
2014-11-07 20:57:08 +00:00
|
|
|
<com.shamanland.fab.FloatingActionButton
|
|
|
|
android:id="@+id/article_fab"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|right"
|
|
|
|
android:layout_marginRight="16dp"
|
|
|
|
android:layout_marginBottom="20dp"
|
|
|
|
android:src="@drawable/ic_action_web_site"
|
|
|
|
/>
|
2014-10-16 20:06:56 +00:00
|
|
|
|
2014-11-07 20:57:08 +00:00
|
|
|
</FrameLayout>
|