Does anyone know if there is a possible way to design the android buttons like this:
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How can I create this custom Bottom Navigation on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
I have done same thing in one of my app. Here I am giving the xml code for this
Use this layout where you want using include tag, and call it in your Activity. Here I am giving the code to include this in Activity.
Here I have used a layout instead of button and I am setting onclicklistener for each layout. Now override onclick method and do what you want with each layout
I'd say these are regular buttons with transparent background and icons set through drawableTop attribute. So an xml for such a button would look like:
For that i think need to create the custom view for tab and call in tabhost http://joshclemm.com/blog/?p=136
Thank you
Try this
ALso you can design this type of bottom bar using Tab in android
Click here
Also you can design this type of button using radio button
Click here
okay
--take one layout and aligng it ALIGNPARENTBOTTOM = TRUE now set background of that Layout to THIS BLACK
-- now take five button in that Layout Horizontal now take images like these Transparent and set it to the buttons
-- also get Images for HOVER action and set it on click of that particular button
(use layout_weight for setting equall sizes of button)
Have Fun!!