1

I wish to create an app in android studio which will require scrolling. Which template should I select when I begin? Thanks.

Steve
  • 13
  • 4

1 Answers1

0

The template doesn't matter; add it manually:


But then, you have to use a ScrollView(See this). It is very simple, you just have to add an element and add everything you want to scroll through in it.


I hope I helped.

Community
  • 1
  • 1
Ali Bdeir
  • 4,151
  • 10
  • 57
  • 117
  • and to add a button so one may click on it to go to another screen – Steve Jun 16 '16 at 22:13
  • as it worked out got error messages trying to make signed apk – Steve Jun 17 '16 at 02:26
  • in the content_main.xml I put – Steve Jun 17 '16 at 02:28
  • and resulted in messages like missing classes appbarlayout; design,widget coordinate layout. confusing! – Steve Jun 17 '16 at 02:29
  • @Steve never make your `scrollview` the first object in your layout; it often causes bugs. Make the first object a `RelativeLayout`, and then after that add the `scrollview`. Remember to remove the `xmlns:android="schemas.android.com/apk/res/android";` from the `scrollview` and put it in the `relativelayout`. – Ali Bdeir Jun 17 '16 at 11:25
  • took your advice. thank you so much! you know so much! maybe can you help me again? I wish to disable users clicking on my app then adding text. Do not want the text to be edited while viewed on the device. – Steve Jun 18 '16 at 17:41
  • @Steve Create a different question; helping you here is against the rules :) – Ali Bdeir Jun 18 '16 at 23:28
  • Remember to mark my question as solved since it solved your question. – Ali Bdeir Jun 18 '16 at 23:29