ListView and HorizontalScrollView on the screen

by nyuri » Fri, 18 Mar 2011 19:21:09 GMT


Sponsored Links
 hi~ I have a problem.
I have to develops on the android platform.
the function is as follows.

       <----        screen       ------>
                <----         scroll enable          ---->
       -----------------------------------------------------------
^       title1 | title2 | title3 | title 4| title 5 | title 6
|
|   ^   con1 | con2 | con3 | con4 | con5  | con6
|   |   con1 | con2 | con3 | con4 | con5  | con6
s s   con1 | con2 | con3 | con4 | con5  | con6
c c   con1 | con2 | con3 | con4 | con5  | con6
r  r    con1 | con2 | con3 | con4 | con5  | con6
e o   con1 | con2 | con3 | con4 | con5  | con6
e l    con1 | con2 | con3 | con4 | con5  | con6
n l    con1 | con2 | con3 | con4 | con5  | con6
|  |    con1 | con2 | con3 | con4 | con5  | con6
|  |    con1 | con2 | con3 | con4 | con5  | con6
v v    con1 | con2 | con3 | con4 | con5  | con6
       con1 | con2 | con3 | con4 | con5  | con6
       con1 | con2 | con3 | con4 | con5  | con6
       con1 | con2 | con3 | con4 | con5  | con6
       con1 | con2 | con3 | con4 | con5  | con6
       con1 | con2 | con3 | con4 | con5  | con6
I want to fix the title1 column  when the horizontal scroll.
I tried to use the horizontalScrollview and listview but i can't.
does anyone know?
I would be much grateful if anyone could help me

-- 



Re: ListView and HorizontalScrollView on the screen

by TreKing » Sat, 19 Mar 2011 10:08:00 GMT


 




You'd likely have to build your own layout, possibly extending from
TableLayout.

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

-- 


Sponsored Links


Other Threads

1. How do i get BackgroundColor of Button???

private View BtnTxtColor;
BtnTxtColor     = (View)findViewById(R.id.BtnTxt);


PaintDrawable paintdrawble = (PaintDrawable)BtnTxtColor.getBackground
();  <-- appear exception
int nTempColor = paintdrawble.getPaint().getColor();



exception message is ColorDrawable.

i wanna get Background color of Button...

-- 

2. R.layout.main Not Found when running WebView Tutorial

When Eclipse gives the "Your project contains errors..." message when
building, what shows up in the problems tab?
----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------









> 

3. Difference between Linearlayout's "Gravity" and "LayoutGravity" ?

4. Serial port communication in Android OS

5. Is it possible to display the ExpandableListView indicator in right side?

6. Launch App on bootup?

7. Cerita pagi