Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Android Build an Interactive Story App (Retired) The Model-View-Controller Pattern Defining the Data Model

Eleni Minadaki
Eleni Minadaki
3,687 Points

How can i put larger text of story?

Hi everyone, i would like to ask how can i put larger text in the interactive story app? is there a way where the text scrolling for to see the user? Thanks for any suggestion!

3 Answers

In <TextView in the xml android:textSize="20sp". Adjust the number until you get the size you want.

Eleni Minadaki
Eleni Minadaki
3,687 Points

Hello.Thank you very much for your reply but the question was : " i would like to ask how can i put larger text in the interactive story app? is there a way where the text scrolling for to see the user?" the lesson of interactive story up doesn't support a very large text. Maybe you haven't see that yet.

You can put as much larger text you want. In case it doesn't fit just simply put ScrollView in layout file like the one below:

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:fillViewport="true">

<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent" > <TextView>

<---Place anything here--->

</TextView>

</RelativeLayout> </ScrollView>