How to implement a layer above a layout? like this pic:
http://ss12.sinaimg.cn/orignal/5d8cb30ag8f47eca43a5b&690
I guess this link will help you a lot. It shows examples on how to implement the Quick Actions pattern and also the kind of menus you requested which btw are also used in the Google Gallery app.
Here's the link: http://www.londatiga.net/it/how-to-create-quickaction-dialog-in-android/
To create that kind of floating menu I think PopupWindow would be what you are looking for.
Related
I thought that it's possibile within a fragment, but I'm young android developer and I will know which is the best way to implement it. Thanks a lot!
In Android you do it with an AlertDialog.
You'll want to implement one with a custom layout matching your picture.
An excerpt from the guide:
If you want a custom layout in a dialog, create a layout and add it to an AlertDialog by calling setView() on your AlertDialog.Builder object.
A quick search of Android material dialog with a custom view should give you a solution
Many libraries exist in gitub. Its just a mater of searching
http://tinypic.com/r/2v85soh/5
Hi!,
Do you see that bottom arrow pointing up? I want to allow users in Android to be able to drag it and use buttons from there!
Regards,
Michael
Android has a SlidingDrawer UI component that can be used for this sort of thing: http://developer.android.com/reference/android/widget/SlidingDrawer.html
Android has a SlidingDrawer widget, but it's deprecated. I would look online for open source libraries/projects that have implemented this kind of functionality. Perhaps something like this: AndroidSlideUpPanel
I have face problem to add android masonry custom list with dynamic view and what are the right steps for using this. Please give me the best solution.
Thanks in advance!
You should be talking about the GridLayout.
Take a look at the Developers Blog post about it http://android-developers.blogspot.com.es/2011/11/new-layout-widgets-space-and-gridlayout.html
The API is in http://developer.android.com/reference/android/widget/GridLayout.html
How can I have a ballon like Google map?
I'm guessing that is a PopupWindow
Check out this. It's called Quick Actions.
Take a look at GreenDroid. This library is great for UI. It contains a component like action bar which I think you can find useful.
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! ;)