Android : show a splash with animation - android

In my activity, when a user action succeeds i want to show a circle that animate out from center to outside as a splash color and then disappears showing the content as before. How can i achieve this splash animation

You can have a look at this library https://github.com/hendraanggrian/reveallayout

Related

Get SplashScreen Logo in the Extact position on Home screen

I want to create a fade in effect in my app on the home page.
Hence, I want to place the logo I use on the splashscreen exactly on the same place on my app's home screen.
Is there a way I can get the exact position of the splashscreen logo so I can have the same logo on my home screen and it would create a fadeIn effect.
Example image below

How to create a "Waze like" progress button in Android:

I'm looking for a way to produce a button with progress functionality (the button is pressed at the end of the progress...) like in Waze, here in an example (the "Go now" button):
I found this solution:
Create rectangle border progress bar in android
And here is the result of the implementation made there:
But unfortunately this is not good enough (I can't changes the button corner radius to something round and the side progresses moving in a different speed the the top and the bottom progress).
From a check I made the Waze app creates the progress using a canvas and by painting paths on it. How can this be done?

Launching app by swiping from corner

So what I wanna do is make app that will display information and allow you to launch other apps from that main screen but I want that screen to appear when I swipe from corner (right bottom ..) from any app and any screen like swipe pad app or swipe drawer type of apps.. Any ideas? :)
You can do it by service.
this will make your button show on top of everything so you can hide it and show a small line or something or even a transparent icon and when user touches it it will do what ever you want.

when we click on icon/image of any contact, one view slide up from bottom of screen in Lollipop Contact in call details screen?

when we click on icon/image of any contact, By default, this view shows full screen.
how will implement following case
1.View a separate activity with transparent half when swipe towards the top it is overlay up-to action bar.
2.swipe down the screen will gone look like lollipop 5.1.1 call details view
Case 1 : For transparent Activity try this link. You just need to add Theme.Transparent and color code #0000000 in your styles.xml
Case 2 : Bottom to Top Activity transition use this link for more detail. You can do Top to Bottom transition on back pressed button.

Placing a translucent-like image in Android

How can I place a gray image on top of my whole activity? This gray image must be translucent (meaning the user must still see what is beneath that gray image).
I wanted to created something like the pause menu in most games wherein the background can still be seen and when clicked/tapped, it becomes invisible and continues on with the game. :)
You could open a new activity that has a semi-transparent background. Or open a dialog, and have Android take care of it by itself.
If you want to use the same activity, create an ImageView over the entire activity, load it with a semi-transparent image, and set its visibility to 'gone' until you want it to appear.
You could also use FLAG_DIM_BEHIND instead of an translucent image
http://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#FLAG_DIM_BEHIND

Categories

Resources