how to create a smooth tabBar like the video - android

am working an android native app , and searching for a way to develop a Tab Bar like the one in this video :
http://www.youtube.com/watch?v=unKs-b80aTU&feature=player_embedded

Maybe take a look at this example, it could give you some ideas on creating a Scrollable TabHost:
http://code.google.com/p/mobyfactory-uiwidgets-android/

Related

Sliding down activity - Android Material Design App

I've been to make this effect in Android. I've achieved to make a Share Element Intent succesfully but don't have a clue on how to get back to the previous activity by sliding down the second one.
The example of what I'd like to do is this: https://github.com/klinker41/android-slidingactivity/blob/master/preview.gif (But implemented with native resources)
Thank you.
I think you're searching for "BottomSheet",
Please Refer below link
This is for custom create
and
Material guidelines
and
Create Bottom Sheet from This link

Create a view something similar to pinterest

I am working on an application related to news feeds where I need to GUI design like Pinterest application as in attachment picture image ,There are thee things (menus) at top like Search , Pinterest and Profile ,I want the same that should be change by swapping and click , User can switch among (search,Pinterest and profile ) top menu by click and swapping .Anyone can guide how I can do it ? I try tab view but unable to add swapping , anyone can guide me better way ?
For such a layout, I would recommend ViewPagerIndicator. Make sure to download the demo application and look at the code of the swipable tabs implementation. That may be exactly what you're looking for.
For an easy customization of the tabs in there, you'll find the Android Asset Studio helpful.

Creating a title bar above a tabgroup in Titanium

I'm working on something in Titanium, and am having some difficulty trying to achieve this.
On the Android version, the tabgroup seems to be fixed to the top. I'm fine with that, but I do want the app's logo bar to be above that.
I'm trying to achieve something similar to what Twitter has for their Android app. They have their logo and a compose tweet button that exist above the tabgroup. Here's a screenshot for clarity:
Is this even possible? If it can't be done with native tabGroups, is there some workaround that I could implement?
Thanks in advance!
You can't do it with a tabGroup in Titanium - they don't have a navBar in Android. With a lot of work, you can create your own by creating a base window, adding tab graphics (view) with click handlers, and they open new windows with a top: attribute that is below the tabs. Good luck.

Titanium Android Tabs

I want to achieve the two tabs as below using titanium for android.
These are not the normal tabs, so how do I achieve them ?
Thanks !!
These seem to be buttons on a toolbar and not tabs.
As there is no support for Android toolbars in Titanium (I'm not sure if Android a thing called toolbar) you will have to fake it.
To get the same results on Android you would have to use regular createView and add background and different buttons in it. you will also have to make the buttons work.
Use two Buttons and a ViewFlipper that contains different ListViews.
custom tabgroup class working on android and iphone may be useful to you. See the screen shots for android and for iphone also.

Android sidebar

I've been using firefox for Android and really like the use of the sidebar to hold shortcut icons and the like. How would I go about creating a similar bar myself with the following attributes:
progressively revealed as I swipe in one direction
progressively hides as I swipe in the other direction
can be a custom width
I can dynamically inject layout in to it or it can hold static content
Is there any open source code available? If not, what approach would I use to create this?
Sound like you're describing a Gallery control. There are some examples in the ApiDemos project here.
The first part can be solved by using a ListView. The second part I don't know yet. I'm looking for such a component as well.

Categories

Resources