Swipe "tab" view

by Alan Jones » Thu, 07 May 2009 10:11:16 GMT

Sponsored Links
 Hi All,

I want to make a View which takes up part of the screen, is swipable
(swipeable?) but where each screen width section may scroll vertically
(i.e. have a different length of content from the others).

Above it there'd be a header and tabs (to give an alternative to a
swipe gesture for non-touchscreen devices).

Is creating a view that's screen width and the needed height for each
the way to go? Then make a layout that has those views in it and
panning that layout?

I searched the list, but nothing I found dealt with varying height
content across pages.



Other Threads

1. How to get Lat and Long about one bus line from google maps

Hi, guys.
I want to know the Lat and Long by a busline, or know the busline by the Lat
and Long.
Thank you!

Believing is Everything.


2. How can I disable an item of ListView?

When I have a list view and there are 3 items which can choose by
user, I wanna show only choosable items to user because of some
reason. but I could not find any method in ListView or ArrayAdapter
class. Is there a solution?

protected void onCreate(Bundle savedInstanceState) {
    menuList = new ArrayList<String>();

    ArrayAdapter<String> adapter;
    adapter = new ArrayAdapter<String>(this,
android.R.layout.simple_list_item_1, menuList);

    ListView list = (ListView)findViewById(R.id.menuList);

for example, I wanna disable the second 'banana' item.
There are what I want exactly on the emulator, in sub menus of
Settings. and I looked at source of settings.
Almost settings menu are implemented with "PreferenceActivity"
It doesn't look like my code. In there, I found a method like below.
  Preference btSettings = findPreference(KEY_BT_SETTINGS);

I think that's what I want. but Is there a solution based on my code?
rather than using PreferenceActivity.


3. Which device should i buy to test My Custom Input Method Application

4. Can we install Android SDK on windows 7 if yes then how ?

5. Return value of 0 from getWallpaperDesiredMinimumWidth/Height()

6. Google OMX Core

7. how to upgrade android emulator to Android2.2 froyo.