Scroll and Text View Rangkum
Scroll and Text View Rangkum
android:text—text to display
android:textColor—color of text
android:textAppearance—predefined style or theme
android:textSize—text size in sp
android:textStyle—normal, bold, italic, or bold|italic
android:typeface—normal, sans, serif, or monospace
android:lineSpacingExtra—extra space between lines in sp
Formatting active web links
<string name="article_text">... www.rockument.com ...</string>
<TextView
android:id="@+id/article"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:autoLink="web"
android:text="@string/article_text"/>
<TextView
android:id="@+id/article_subheading"
.../>
<TextView
android:id="@+id/article" ... />
</LinearLayout>
</ScrollView>
ScrollView with image and button
<ScrollView...>
<LinearLayout...> One child of ScrollView
which can be a layout
<ImageView.../>
<Button.../> Children of the layout
<TextView.../>
</LinearLayout>
</ScrollView>