problem in screen scroll

2 messages - 361 views

hi guys.

i have a problem in scrolling of screen. in my project i have 10 item(button) and i cant see some items.

i want make screen scroll bar.

plz help me..

 my code in xml file.

    <container style="layout:inlinelayout(false,fill); align:center;" > 

  1.  <button onAction="taxi" shortcuts="1" >%1%</button>
  2.  <button onAction="taxi" shortcuts="2" >%2%</button>
  3. <button onAction="taxi" shortcuts="1" >%3%</button>
  4. <button onAction="taxi" shortcuts="1" >%4%</button>
  5. <button onAction="taxi" shortcuts="1" >%5%</button>
  6. <button onAction="taxi" shortcuts="1" >%6%</button>
  7. <button onAction="taxi" shortcuts="1" >%7%</button>
  8. <button onAction="taxi" shortcuts="1" >%8%</button>
  9. <button onAction="taxi" shortcuts="1" >%9%</button>             
  10.  <button onAction="exitConfirm" shortcuts="back|delete|0">%EXIT%</button>               

    </container>

 

tkanks guys.

i found.

for this problem i used scrollpane.

like this code:

 <scrollPane >
        <scrollpanecontainer >
    <container style="layout:inlinelayout(false,fill); align:center;" >      
     

  1. <button onAction="taxi" shortcuts="1" >%1%</button>
  2.  <button onAction="taxi" shortcuts="2" >%2%</button>
  3. <button onAction="taxi" shortcuts="1" >%3%</button>
  4. <button onAction="taxi" shortcuts="1" >%4%</button>
  5. <button onAction="taxi" shortcuts="1" >%5%</button>
  6. <button onAction="taxi" shortcuts="1" >%6%</button>
  7. <button onAction="taxi" shortcuts="1" >%7%</button>
  8. <button onAction="taxi" shortcuts="1" >%8%</button>
  9. <button onAction="taxi" shortcuts="1" >%9%</button>             
  10.  <button onAction="exitConfirm" shortcuts="back|delete|0">%EXIT%</button>               

    </container>

</scrollpanecontainer>

</scrollPane>