diff options
Diffstat (limited to 'app/src/main/res/layout/activity_article.xml')
-rw-r--r-- | app/src/main/res/layout/activity_article.xml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_article.xml b/app/src/main/res/layout/activity_article.xml new file mode 100644 index 0000000..b08fe38 --- /dev/null +++ b/app/src/main/res/layout/activity_article.xml @@ -0,0 +1,50 @@ +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:paddingBottom="@dimen/activity_vertical_margin" + android:paddingLeft="@dimen/activity_horizontal_margin" + android:paddingRight="@dimen/activity_horizontal_margin" + android:paddingTop="@dimen/activity_vertical_margin" + tools:context="org.rssin.android.ArticleActivity"> + + <ScrollView + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical"> + + <TextView + android:id="@+id/article_title" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:textSize="@dimen/font_size_huge" + android:textAlignment="center"/> + + <TextView + android:id="@+id/article_author" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:textSize="@dimen/font_size_small" + android:textStyle="italic"/> + + <TextView + android:id="@+id/article_description" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:textSize="@dimen/font_size_normal" /> + + <TextView + android:id="@+id/article_date" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:textSize="@dimen/font_size_small" + android:textStyle="italic"/> + </LinearLayout> + </ScrollView> + + +</RelativeLayout> |