Android: how to build a ballon - android

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.

Related

Custom bottom navigation bar layout

I want to create the following customized BottomNavigationBar. How can I set custom layout for the same?
Can somebody tell me how to approach it ?
You can check this library, hope this helps! BottomNavigationCircles-Android
If you are OK with using Material components, this article should be of use: https://protocoderspoint.com/custom-bottom-navigation-bar-android/.
This is a relatively easy thing to find on Google, so I advise looking there for some help.
Check out sites like https://github.com/roughike/BottomBar if you want to build upon a pre-built layout/system.
As far as I can tell though, there is no method to set android:layout="#layout/mylayout" function for bottom nav bars.
Search GitHub for "custom bottom navigation bar" and try to build off of the dirty work that has been done there. It will save a lot of time and headache while you're trying to build the back-end navigation patterns and layout inflators.

How to implement vertical sliding actionbar(like in the grofers app)

I want to implement a layout in which the action bar is below an image. And, on sliding the screen up, the actionbar should also move up, along with the image. The action bar should then go to the topmost point of the screen and stop.
This is implemented in many apps like the grofers app.
I don't mind using an external library for the same.
Thanks.
Go Through this awesome Demo Sample Code using Android Design Support Library Coordinator Layout.
Please go through this,It shows some of the important features in the new Design library:
https://github.com/chrisbanes/cheesesquare
As per your requirement Here is sample code link.
Please check this
I have found a library same for your requirement. please find the link
You have to customize from that library according to your need.

Use ShowcaseView without the highlight circle

I want to use the ShowcaseView library to create a tutorial, but for one stage of the tutorial I don't want to highlight anything with the circle. Is this possible with the API?
The main way to do this is to set the target as Target.NONE, an example of which is shown in the sample.
As #maxcanna points out here, you can call showcaseView.setShowcaseIndicatorScale(0) after creating the ShowcaseView to accomplish this.

Android Custom Activity

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

How to implement a layer above a layout?

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.

Categories

Resources