# Using ODK collect, Can I display all questions in single vertical scroll view rather than horizontal scrolling?

**URL:** <https://forum.getodk.org/t/using-odk-collect-can-i-display-all-questions-in-single-vertical-scroll-view-rather-than-horizontal-scrolling/11036>\
**Category:** Support\
**Tags:** odk-collect\
**Created:** [December 15, 2017, 10:06am UTC](https://forum.getodk.org/t/using-odk-collect-can-i-display-all-questions-in-single-vertical-scroll-view-rather-than-horizontal-scrolling/11036 "2017-12-15T10:06:34Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![arajuasati](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/arajuasati/32/7189_2.png) [@arajuasati](https://forum.getodk.org/u/arajuasati)\
**Post date:** [December 15, 2017, 10:06am UTC](https://forum.getodk.org/t/using-odk-collect-can-i-display-all-questions-in-single-vertical-scroll-view-rather-than-horizontal-scrolling/11036/1 "2017-12-15T10:06:34Z")

</div>

I have integrated odk collect in android app to have the dynamic form facility, I did it and now I am able to successfully run the project.  
But one of my requirement is to display all the questions in a single page in vertical scrollview, right now in odk colect it is horizontally scrollable..

If yes then what are the changes I need to do in the code?

I tried by making the questionHolder LinearLayout's orientation as vertical but it did not worked.  
Please suggest me the way to go..

---

<div class="post-metadata">

**Author:** ![anon38864895](https://getodk.b-cdn.net/letter_avatar_proxy/v4/letter/a/c77e96/32.png) [@anon38864895](https://forum.getodk.org/u/anon38864895)\
**Post date:** [December 15, 2017, 11:15am UTC](https://forum.getodk.org/t/using-odk-collect-can-i-display-all-questions-in-single-vertical-scroll-view-rather-than-horizontal-scrolling/11036/2 "2017-12-15T11:15:36Z")

</div>

hi @arajuasati, yes it is possible. you have to put all the question you want to appear on one page in a group. for example;  
type = begin group  
appearance = field-list

with this all the question within the group will be display on one page with a scroll bar depending the number of questions in the group.

if you are not clear with this you can share a sample file so that we can help you with that.

thank you.  
[fabla2020@gmail.com](mailto:fabla2020@gmail.com)

---

<div class="post-metadata">

**Author:** ![arajuasati](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/arajuasati/32/7189_2.png) [@arajuasati](https://forum.getodk.org/u/arajuasati)\
**Post date:** [December 15, 2017, 12:15pm UTC](https://forum.getodk.org/t/using-odk-collect-can-i-display-all-questions-in-single-vertical-scroll-view-rather-than-horizontal-scrolling/11036/3 "2017-12-15T12:15:58Z")

</div>

@anon38864895 Where do I need to place this type and appearance in android code ?  
OR did you mean I need to put these in xml of that form ?

---

<div class="post-metadata">

**Author:** ![anon38864895](https://getodk.b-cdn.net/letter_avatar_proxy/v4/letter/a/c77e96/32.png) [@anon38864895](https://forum.getodk.org/u/anon38864895)\
**Post date:** [December 15, 2017, 12:52pm UTC](https://forum.getodk.org/t/using-odk-collect-can-i-display-all-questions-in-single-vertical-scroll-view-rather-than-horizontal-scrolling/11036/4 "2017-12-15T12:52:03Z")

</div>

> [@arajuasati](#):
>
> put these in xml of that form

yes, or in your excel form, you can share a sample of your form here so that we can help you with that.

---

<div class="post-metadata">

**Author:** ![arajuasati](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/arajuasati/32/7189_2.png) [@arajuasati](https://forum.getodk.org/u/arajuasati)\
**Post date:** [December 18, 2017, 5:40am UTC](https://forum.getodk.org/t/using-odk-collect-can-i-display-all-questions-in-single-vertical-scroll-view-rather-than-horizontal-scrolling/11036/5 "2017-12-18T05:40:07Z")

</div>

I am not able to share the complete xml here..  
@anon38864895 Any suggestion?

---

<div class="post-metadata">

**Author:** ![arajuasati](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/arajuasati/32/7189_2.png) [@arajuasati](https://forum.getodk.org/u/arajuasati)\
**Post date:** [December 18, 2017, 6:15am UTC](https://forum.getodk.org/t/using-odk-collect-can-i-display-all-questions-in-single-vertical-scroll-view-rather-than-horizontal-scrolling/11036/6 "2017-12-18T06:15:31Z")

</div>

> [@anon38864895](#):
>
> type = begin group
> 
> appearance = field-list

I have added type = begin group and appearance = field-list in my xml and its working as I wanted.. Thanks

---

<div class="post-metadata">

**Author:** ![Hariharan\_S](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/hariharan_s/32/14670_2.png) [@Hariharan\_S](https://forum.getodk.org/u/Hariharan_S)\
**Post date:** [March 1, 2021, 11:23am UTC](https://forum.getodk.org/t/using-odk-collect-can-i-display-all-questions-in-single-vertical-scroll-view-rather-than-horizontal-scrolling/11036/7 "2021-03-01T11:23:26Z")

</div>

Where exactly we have to add a type and appearance in XLS form

---

<div class="post-metadata">

**Author:** ![Grzesiek2010](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/grzesiek2010/32/2881_2.png) [@Grzesiek2010](https://forum.getodk.org/u/Grzesiek2010)\
**Post date:** [March 1, 2021, 11:55am UTC](https://forum.getodk.org/t/using-odk-collect-can-i-display-all-questions-in-single-vertical-scroll-view-rather-than-horizontal-scrolling/11036/8 "2021-03-01T11:55:19Z")

</div>

Hi @Hariharan_S  
We're glad you're here. When you get a chance, please [introduce yourself on this forum thread](https://forum.getodk.org/t/-/6671).

Here you can find everything about the structure we use in xls forms [https://xlsform.org/en/](https://xlsform.org/en/)

---

<div class="post-metadata">

**Author:** ![LN](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/ln/32/1605_2.png) [@LN](https://forum.getodk.org/u/LN)\
**Post date:** [July 8, 2021, 4:06am UTC](https://forum.getodk.org/t/using-odk-collect-can-i-display-all-questions-in-single-vertical-scroll-view-rather-than-horizontal-scrolling/11036/9 "2021-07-08T04:06:51Z")

</div>

A post was split to a new topic: [Problem building a field list](https://forum.getodk.org/t/problem-building-a-field-list/34233)
