I have seen this in several apps, and I was wondering if this is in the API. It basically looks like a speech bubble but it allows for internal layouts within it.
Thanks in advance!
It's a custom view... you can implement something like that easily or use this code:
http://code.google.com/p/simple-quickactions
By the way, in order to create a correct bubble you must use a 9patch image.
Looks like a PopupWindow
Related
I am trying to design a screen that must be rendered above anything (kind of like an alert, but it can't be an alert). As I am very new to Android development my only worry is that this window must be put above even the navdrawer. Can this be done?
Thanks
[EDIT]
It's like that:
http://flic.kr/p/k3XRzv
why do you not want to use the alertbuilder? - simple, easy to use and flexible?
I am trying to display my layout via android xml.
Here's what I want to do:
I have 12 buttons with a animals image like this one: , and the circle is the background.
I do not have any idea related to this, how should I start?
Please give me some suggestion so I can go ahead. What things should I use to do this?
You'd be looking for making a custom view. A good place to start is, as always, android's own development site: http://developer.android.com/training/custom-views/create-view.html
i think you can do this with xml. this need simple mathematic calculation that you can not do in xml.
you most extend View class and create your own View. then you can use it in xml.
I just wanna know if anybody knows a good reference to something similiar to :
But for Android.
or I need to implement by myself ?
you may want to check http://developer.android.com/reference/android/widget/Gallery.html, customize it and implement a custom view for the items
Here is one example like it.. but more beautiful
http://www.inter-fuser.com/2010/01/android-coverflow-widget.html
I'm looking to implement a SlidingTab ie: lock slider or slide-to-answer type thing in my app. I figured it'd a common thing so the source or widget would be available for use but I can't find it anywhere.
Would I have to build a custom one myself?
If you want the same look and feel of the SlidingTab, yes, you have to implement a custom one yourself! Look here for the source code and here for image resources.
If you need something similar you can use SlidingDrawer or customize a SeekBar.
Let me know what you choose! ;)
I am trying to make buttons of a similar nature to the buttons seen in the google+ app. Do you just declare these in XML like a regular button and just apply a custom style? Does anyone know generally what these buttons are and a sort of method for how to generate a look like this?
It can be anything that registered with a OnClickListener, something like: ImageButton, ImageView, a Layout w/ background image...
However, in my opinion, ImageButton is the best w/ some pre-defined functions for button-like effects/shapes.
an example can be found here http://code.google.com/p/iosched/