Expandable Tab menu - android

everybody
Currently i am working on Android Native App .I wish to create a expandable tab without any HTML or JavasScript file. My App is totally native App.
I wish to show something like above picture.

You can try background image for Button/image.
Set one background-1 for default, use another for hover/ click/ select effect.

Related

Custom Shape Button Android

I have to address this type of views which has buttons below example.
http://www.planet1107.net/blog/custom-shape-uibutton-tutorial/
It is in the iOS. so is there any way to make it in Android.
I also have to give click events on all of those buttons.
I would recommend just exporting these custom images to pngs. Then adding the pngs to your Android project and simply referencing them in the code or XML. Then on a click event you can simply change the icon to indicate that it has been clicked and if the user clicks on it one more time change it back.
This will also ensure that the Android images look identical to the iOS ones.

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.

How make option menu like web in android

I make footer that consists images.I want when click on image of footer menu opens like this.(Android)
First and foremost, this is not web and you need to look at methods to achieve this natively in Android.
Read up Android Design Guidelines
Try to use sub-menu, check ActionBarSherlock

How to design a iPhone like menu/button in android at the bottom?

I have googled this, most of the solutions are using:
1.TabHost with customized style which would cover the separate line between each tab to archive the requirement.
2.On the android developers website, there is a article is using Merge layout to put 2 buttons on top of the background image kind of archive what I want.(http://developer.android.com/resources/articles/layout-tricks-merge.html)
3.What about using button but style the looking like the example below? I don't need the selection, cause each item in the menu will be a button, which takes the user to another page.
I am wondering is there any other solutions apart from these two?
This is something want:
I don't need the menu likes a tab which has selected and unselected, they are better like a button always displaying in certain screen(activity).
Thank you.
You can use simple buttons, and provide any custom background for it. For such simple form as on your screenshot look for this link.
But #Janne write right thing - you should be very careful with transplanting controls from another platforms.

How to set a layout using spinner

I want to create a layout like the below picture. How can I set the drop-down like this with cancel option. I am using spinner to show the drop-down but cannot set the layout like this.
Can anyone help me to create a drop-down like this. I also want to create an expand button for a list item which will open the content in a new page. My aim is to set all the available settings in a single page.
Then use PreferenceActivity. In fact, that's a standard preference screen.
http://developer.android.com/reference/android/preference/PreferenceScreen.html
http://jetpad.org/2011/01/creating-a-preference-activity-in-android/
You can take a look at the API Demo app which is in the Android SDK. There you can learn how to create this kind of screens (either from XML or code). It has many advantages... for instance, you won't have to worry about persisting the settings... the OS will do that for you.

Categories

Resources