Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Peaches Stubbs
21,320 PointsHi everyone, hope all is well. I need some help/guidance with an app that I'm designing please ?
Hi I am making a ranod facts app but that is pretty straight forward. What I also want to do is a random quotes app. I want each quote to have the authors name but, I want to itilacize the name and the rest of the quotes to be normal/basic Ariel type. I would also like to allow users the option of personalizing the at their discretion. What I need to know is can I follow the same steps as the fun facts app course to achieve this, as I want the aouthor's name printed differently than the quote itself.
2 Answers
Daniel Hartin
18,106 PointsHi Peaches
I think I understand what you mean!
If you wanted to make the authors name appear different in appearance to the rest of the test you could simply create a separate TextView to display the authors name in and style this TextView accordingly.
How are you planning on getting the authors name however? If you are hard coding the quotes and authors in the background it should be easy enough using a multi-dimensional array (although there is probably other ways).
Basically as long as you can split the Author from the Quote than yes this is easy and by following the fun facts app you should have a relatively good idea as to how you should proceed implementing another field
Daniel
Peaches Stubbs
21,320 PointsThank you Daniel that definitely helps :D
Jonathan Arbely
6,691 PointsJonathan Arbely
6,691 PointsJust a quick tipp. Declare your Problem in the Posts title to get help faster and make the lives of People who want to help you easier. :)