I want to show animation in my android activity inside the dialog - android

I want to show a dialog box having animation played guiding the user to perform operations. You can have a look at naukari.com android app where it is been shown. I don't know what the animation is like is it a swf or something gif or etc? please guide me for the same. If I could get what kind of resource is used to play that animation I can think on the similar lines. The link below shows the image representing the naukari.com app image.
animation inside a dialog

Related

How to make a button.onClick animation like the youtube's play/pause animation in android?

I have no idea how to make this kind of an animation in android studio. Please help me out.
This is how I want it to be I mean like the Youtube animation.
By the animation I don't mean the one in which play icon changes to pause icon, I mean the white thing that appears just like this
Please see this for more info
I am not sure if I got exactly what you mean but I guess you are looking for drawable animation which change between slices of photos like animation
see the following link : https://developer.android.com/guide/topics/graphics/drawable-animation#:~:text=One%20way%20to%20animate%20Drawables,the%20basis%20for%20Drawable%20animations.
and if you give more information about your code to help you better.

Is this possible to fix these issues in roku?

Im working on a roku app using scene graph component. I am facing many issues like...
During video buffering i want to pause video. Im using this code but not working
video.control = "pause"
During video buffering a blank screen is displaying. I want to show last video image instead of blank screen.
I want to show dialog box to check internet connection on splash screen.
Is this possible to use BrightScript component like "roImageCanvas" or "roListScreen" in scene graph component?
Since Im working first time on brightscript so i don't know does roku supports this type of job or not.
Please suggest any ideas to fix the above issues.
Thank you
1) Not sure what's causing it for you, please share the code for better help.
2) I don't think Scene Graph enables you to do that yet! Couldn't find any reference to any such ability.
3) In your main.brs, at the very beginning you can use Dialog node to show a dialog box, to show message or to take input (buttons), and to check for the network you can use the method GetLinkStatus() of the object roDeviceInfo.
4) For all the substtues for Brightscript Components, look up here: https://sdkdocs.roku.com/display/sdkdoc/Transitioning+to+Scene+Graph

How to change button after onclick to loading in android

How can we change the button text and gif loading image on button click till we didn't get the server response in android.
please see the image:
Thanks in advance...
Here's an implementation of what your asking, it's bare bone but it will get you started:
ProgressBar
At the moment, when the user clicks the button, it will display the drawable (and animate) for you but you will have to dismiss the loading animation manually once you've finished with your background task via:
_progressButton.stopLoadingAnimation();
This will dismiss any animation for you and display any previous text that was there. The only thing missing it that there is no text whilst the animation is in progress, but I think you can hack something together for that. I plan on extending this a little further so that it will allow you to call something like _progressButton.setProgress(10) and then set the percentage that is done. I may even make it thread safe.
You should also be able to style it exactly how you have shown in your screenshot.
To use the code, simply download the project, there's sample code there that is pretty much self explanatory.

Images display in Android

I have list of images. what i want that when user clicks on one of the images then it should appear similar like following picture. user can see big image with blur background, and user can change this image by swiping finger(same like activity change). when user press back button it should be cancel. Is it possible in Android? I hope you understand my problem.
yes,you must define a customize dialog, and then open it when you want.
you can code for swipe finger or anything else you are looking for.
making and showing custom dialog here and as some guidance to you, use image view and you must use gesture detector here or here
enough ??

Theme.Translucent then show image after click

I have completely lost my focus now.
I was trying to create a transparent background to show users phone screen like this.
https://market.android.com/details?id=net.kreci.crackedscreen&hl=en
Now i got it working. But i want to now add an image but it wont show till after the click.
Can this be done in Viewflipper with showing the activity Transclucent then showing image after the click? (cause i dont want the screen to flip to another activity, I want it to show straight away)
So technically if you don't understand what I meant.... Similar to the market link i added in this post.
I don't have knowledge regarding ViewFlipper class to implement in this situation,
But
I have one Idea to implement while creating two different activities to show 2 Images.
In onCreate of both activities write the below line right after super.onCreate()
getWindow().setWindowAnimations(0);
This will set Window Animation to 0 so your screen will be changed without any effects.

Categories

Resources