Sliding tabs

by Rukawa » Thu, 18 Dec 2008 01:26:33 GMT


Sponsored Links
 I am creating an application that has 4-5 different screens (views)
that the user can toggle between, currently using tabs. I would like
to avoid having the big tab headers, and instead make it possible to
navigate between the views using a similar action to the one used on
the home screen where you can drag the main screen to the left and
then another one appears to the right of it.

How is that implemented? Can anyone point me in the right direction?


thanks

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. How to display a local file in the browser?

Is it possible to open a local file in the browser?

In the Android browser, I tried menu / go to:
file:///sdcard/test.html

I always receive the error message:
"Web page not available.
The web page at file:///sdcard/test.html could not be loaded as:
The requested file was not found."

even though the files exist in /sdcard/test.html.
Do I have to use a different URL, or put files into a different
folder?

Peli

PS: From within an application, there seems to be a way to load local
files:

"The prefix "file:///android_asset/" will cause WebView to load
content from the current application's assets folder."
http://code.google.com/android/reference/android/webkit/WebView.html

--~--~---------~--~----~------------~-------~--~----~

2. how to turn a color into a resource.

i want to change the background image of a button either into a
resource drawable or a solid color.

findViewById(R.id.myView).setBackgroundResource(  xyz == 0 ?
R.drawable.myBackground : 0);

instead of zero, i want some solid color...

tia.
--~--~---------~--~----~------------~-------~--~----~

3. Send Mock Gps Data to real Device

4. How do I call another activity method?

5. Inertial Sensor on HTC Hero

6. API responsable to make transfert dwonlaod ,upload with ftp ou 3G protocol

7. Trajectory Calculator