diff options
author | Andrew Dolgov <[email protected]> | 2014-10-17 00:17:34 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2014-10-17 00:17:34 +0400 |
commit | 8f6ca0eec07c077269d97edaf9c89f2eaf3fc115 (patch) | |
tree | b2b744b1f11435820f9be54e78b290f810ffd8ff /org.fox.ttrss/src/main/res/layout/article_fragment.xml | |
parent | 97cc96839d31b6cce59ec29a6681c6fe802552ee (diff) |
rename main module
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout/article_fragment.xml')
-rw-r--r-- | org.fox.ttrss/src/main/res/layout/article_fragment.xml | 103 |
1 files changed, 103 insertions, 0 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/article_fragment.xml b/org.fox.ttrss/src/main/res/layout/article_fragment.xml new file mode 100644 index 00000000..56d42d89 --- /dev/null +++ b/org.fox.ttrss/src/main/res/layout/article_fragment.xml @@ -0,0 +1,103 @@ +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/article_fragment" + android:layout_width="fill_parent" + android:layout_height="match_parent" + android:background="?articleBackground"> + + <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 + android:id="@+id/article_header" + 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" + android:textColor="?linkColor" + 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" + android:textColor="?linkColor" + 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" + android:textColor="?headlineSecondaryTextColor" + 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" + android:textColor="?headlineSecondaryTextColor" + android:textSize="12sp" /> + + </LinearLayout> + + </LinearLayout> + + <TextView + android:id="@+id/note" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_weight="1" + android:background="?articleNoteBackground" + android:textColor="?articleNoteTextColor" + android:textSize="13sp" + android:padding="2dp" + android:layout_marginBottom="6dp" + android:text="[Article note]" /> + + <org.fox.ttrss.util.LessBrokenWebView + android:id="@+id/content" + android:layout_width="match_parent" + android:layout_height="wrap_content" /> + + </LinearLayout> + </org.fox.ttrss.util.NoChildFocusScrollView> + + +</RelativeLayout>
\ No newline at end of file |