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. StackTrace Doesn't Reference Application

Hey guys, getting a Force-Close in my logs here (unfortunately from a remote
trace, haven't been able to reproduce locally), but it doesn't mention my
app anywhere in it...

Anyone know what could be causing this, or how to track it down further?

java.lang.IndexOutOfBoundsException: getChars (13 ... 0) has end before
start
    at
android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:935)
    at
android.text.SpannableStringBuilder.getChars(SpannableStringBuilder.java:847)
    at android.text.TextUtils.getChars(TextUtils.java:69)
    at
android.text.SpannableStringBuilder.<init>(SpannableStringBuilder.java:59)
    at
android.text.SpannableStringBuilder.subSequence(SpannableStringBuilder.java:839)
    at android.widget.TextView.extractTextInternal(TextView.java:4405)
    at android.widget.TextView.reportExtractedText(TextView.java:4443)
    at android.widget.TextView.finishBatchEdit(TextView.java:4585)
    at android.widget.TextView.endBatchEdit(TextView.java:4567)
    at
com.android.internal.widget.EditableInputConnection.endBatchEdit(EditableInputConnection.java:54)
    at
com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:334)
    at
com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:57)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:123)
    at android.app.ActivityThread.main(ActivityThread.java:3948)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:521)
    at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
    at dalvik.system.NativeStart.main(Native Method)


- Dan

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

2. Questions (New Posts) rejected?

I post a question this morning and the post was sent to the
moderators. I still did not see my post approved to be seen online.
Could it be rejected? If so, why?

Thanks

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

3. repo init error

4. Recorded sound file not getting listed in Music menu

5. Voice Encryption

6. Is it possible to make pure VOIP for Android?

7. Layouts for base Android applications