I have this screenshot from my iPhone; I'm trying to make the same layout in Android. I finished the buttons on the left, but now I'm working on the group of four white buttons on the right.
I think they are styled as UITableViewstyleGrouped.
They remind me of segmented layouts but segmented layouts are basically radio buttons, while these are not.
Is there an android version of these?
You can use a custom ListView.
More about ListView here or for a custom ListView tutorial check this.
Related
Hi Everyone
I'm new in android and i'd like to do a menu for an application.
I want to replicate the menu style of this game that has different section
http://i.giphy.com/l4Jz4PbvjJEZHZn8c.gif
I have 3 different xml layout that i want to show in my horizontal style menu capable of swiping from a layout to another.
I have heard i could use something called horizontal ListView but i don't really know how to use it.
How do i do?
try Sliding tab Layout. Its the same function just need to edit the codes for different design
I'm developing an android app and I need to have a dropdown button from which the user will change the layout bellow it to have N ImageButtons arranged in a circle (from 14 to 24 buttons) in which the buttons will touch each other. There won't be any animation just a standing buttons with a click listener to every one of them. Let me describe it as a bracelet
I've developed the app but not with a buttons arranged in circle, so I have the functionality. I've searched around and found CircleLayout of dimitry-zaitsev, but it has a minSDK = 18 . While I think that what I need could be achieved in less. I also found 3D Carousel but I need a simple 2d arrangement. I don't mind if the solution will be 10 layout files with the respective number of buttons from 14-24 or if the buttons are generated programatically.
Could someone suggest me a solution?
Take a look at the ArcLayout library. You will probably be able to do that with it.
I finally succeeded in building the solution of my problem. I did it by using parts of the ideas of this library: Android-CircleMenu I hope this will help others who struggle in building circle layout.
I need a horizontal group of two buttons. It should be, or at least look, native as I want my app to look completely native. I'm after the same style as the button group of the google maps app:
Does anybody know how I can achieve this?
What makes you believe those buttons are native? :)
Actually those controls are custom RadioButtons enclosed in a RadioGroup.
Regarding the native buttons... usually these buttons have a different look and feel on different Android versions. For example on Android 2.2 the predominant color is white/gray, on Android 4.0 is blue.
By using css or jquery it's easy to bring this grouped buttons. But in android native application how to design a xml file to bring grouped buttons like this, without using tabWidget method (i.e)tab layout.
That's a segmented radio button. There are various solutions but this is a good one: https://github.com/makeramen/android-segmentedradiobutton
This seems like a really basic task, but after a lot of searching and research, still haven't found a clear answer. I found GridView, but not sure this is how you're supposed to do it.
I've found several apps that have UI elements similar to what I need, for example the top buttons of the android market.
That can easily be accomplished with a horizontal LinearLayout that contains a set of Buttons or ImageButtons. The rest is just styling.
See Hello Linear Layout to get started.