Sliding Tabs inside DS App

40 views
Skip to first unread message

Durga Prasad

unread,
Sep 20, 2015, 2:29:03 AM9/20/15
to AndroidScript
Hello all,

Is that possible to slide the tabs in the app? For example I have 5 tabs in my app. But while the app loading it has to show the first 3 tabs. While I slide the tab to left, it has to show the remaining 3 tabs. Is that possible?

Regards,
Durga

sankarshan dudhate

unread,
Sep 20, 2015, 7:29:56 AM9/20/15
to AndroidScript
Hi Durga,
I don't think it is possible currently with built-in tab functionality. But, you can use a layoit with scroller, create 5names, create 5 layouts and show them as text is selected. You can also use SetBackColor for selected text. It will give a good custom tab look. Hope I make it clear.

Regards,
Sankarshan

Dave Smart

unread,
Sep 25, 2015, 5:03:04 AM9/25/15
to AndroidScript
Hi Durga,

The source code to the tab control is written in JavaScript and is available if you want to try modifying it for your purposes.

Regards
David
Reply all
Reply to author
Forward
0 new messages