demo text

This commit is contained in:
danijoo
2015-11-07 23:45:25 +01:00
parent d2ce902fe4
commit fe93680ef8

View File

@@ -1,5 +1,6 @@
<com.example.xyzreader.ui.DrawInsetsFrameLayout xmlns:android="http://schemas.android.com/apk/res/android" <com.example.xyzreader.ui.DrawInsetsFrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/draw_insets_frame_layout" android:id="@+id/draw_insets_frame_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
@@ -57,6 +58,7 @@
android:layout_marginBottom="@dimen/detail_metabar_vert_padding"> android:layout_marginBottom="@dimen/detail_metabar_vert_padding">
<TextView <TextView
tools:text="article_title"
android:id="@+id/article_title" android:id="@+id/article_title"
style="?android:attr/textAppearanceLarge" style="?android:attr/textAppearanceLarge"
android:layout_width="match_parent" android:layout_width="match_parent"
@@ -69,6 +71,7 @@
android:lineSpacingMultiplier="0.9" /> android:lineSpacingMultiplier="0.9" />
<TextView <TextView
tools:text="article subtitle"
android:id="@+id/article_byline" android:id="@+id/article_byline"
style="?android:attr/textAppearanceSmall" style="?android:attr/textAppearanceSmall"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@@ -77,14 +80,14 @@
</LinearLayout> </LinearLayout>
<TextView <TextView
tools:text="article body"
android:id="@+id/article_body" android:id="@+id/article_body"
style="?android:attr/textAppearanceMedium" style="@style/TextAppearance.AppCompat.Body1"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/detail_inner_horiz_margin" android:layout_marginLeft="@dimen/detail_inner_horiz_margin"
android:layout_marginRight="@dimen/detail_inner_horiz_margin" android:layout_marginRight="@dimen/detail_inner_horiz_margin"
android:paddingBottom="@dimen/detail_body_bottom_margin" android:paddingBottom="@dimen/detail_body_bottom_margin"
android:textColor="@color/ltgray"
android:textColorLink="@color/theme_accent" android:textColorLink="@color/theme_accent"
android:textSize="@dimen/detail_body_text_size" android:textSize="@dimen/detail_body_text_size"
android:lineSpacingMultiplier="@fraction/detail_body_line_spacing_multiplier" /> android:lineSpacingMultiplier="@fraction/detail_body_line_spacing_multiplier" />