Splash Screen and Login Screen with Animation in Android Studio (With Source Code)
Vložit
- čas přidán 30. 03. 2018
- Splash Screen and Login Screen in the same layout with animation using animateLayoutChanges in Android Studio. Hope you find it useful. Thanks for watching.
Music Credits:
Vlog No Copyright Music
• Video
Project File:
ckk.ai/Bue - Jak na to + styl
This is an awesome tutorial and thanks for sharing the git project. Thank you
Thanks bro saved my day.....very impressive user interface
very good, thank you my friend to help!
awesome thank you, auto subscribed +1
Vert helpful thank you 👍
can you help, i get an error when i try to change my MainActivity.java and when i change it like you have done i get the following errors:
1 : error: type annotations are not supported in -source 1.7
(use -source 8 or higher to enable type annotations)
2:error: illegal start of expression
3 :error expected
WHAT TO DO RIGHT NOW
nice page and thanks for the video to create the login page
i love this so much ! ❤
TONS of thnx :)
I'm glad it helped you. Do subscribe for more. Will be uploading regularly very soon. ☺
Pretty good!!!
awesome man !!
thank
Thank you so much!! :)
You're welcome ☺
Do you have the sourch code of this project?sejan16@cse.pstu.ac.bd if you do ,please send me.
BOOM! Nice job ?
Sir, I got a problem with Login Screen every time I call ActivtyLogin.java the splash screen will animate again I want once only
Nice job...But the video speed is littlebit high.... Anyway thanx for your job👍
Hi how can i scale my drawable vector logo,mine is too small
I have followed the exact same steps but the animation is not working in api level 28, everything else is fine but the animation is not happening.. please help, no matter how much i increase the handler time(4000) its nor happening... please help.
Can you please help me what error is this? The error occurs when I'm trying to Run the project, thanks
Cause: org/apache/commons/codec/binary/Base64
Sir,I have a querry regarding login scrren..When I call activityLogin.java from another activity that timd also load the splash screen..I want when I call ActivityLogin.java from another activity it only show the login form or login screen...please help me
I am having a problem because when i copy and paste the logo image 3:14 the file that i get have a lot of binary number on it and errors
thanku
After rotate my phone its not work perfectly, can you suggest something ....To solve the view problem
top!
Thanks!
Thank you!!!!!!!!!!
i didnt understood at 8:17 how u got another username edit text?
I would like the code completely, how to send? I am having countless problems.
Thanx ❤️
Med you're welcome ☺
I LOVE YOU
Great tutorial....Works like a charm. I have a question though.. after delay how to make that transition much smoother?
Isn't it smooth? In the video it's not smooth because i decreased the speed, so it looks choppy. But on the device, it must be smooth.
can you please show me how to add transition effect pn your mecanisim?
Kick-aas bro
Great vid!
Would you know how to connect the log in to Main Activity so that when you click 'log in' it goes to main activity and runs the rest of the app and you can then stay logged in or have the option to sign out?
You can use Intent to launch another activity. And to preserve the login state you can save a boolean in shared preference as true while logging im, and check everytime while opening the app. Open login page if false, open main home page if true. Thanks for watching!
How would you integrate a a video file(eg flc or MOV.) as a splash screen
Sorry for the late reply but you can use videoview for that
everything is working but the animation is not happening I dont know why?
good work but its too fast to know what you are doing in some parts of the video
can anyone tell me on which api level this works?
What did you do at 9:46??
I know this is an older video but why didn't you use ConstraintLayout for your activity_login? Nesting so many layouts is horribly inefficient and you can reduce the amount of code by close to 2/3rds
Honestly speaking, i don't know how to do this in constraint layout. So, I did with what I know, also the I am not sure if the animation works if it's in constraint. Anyways, thanks for your info, I'll sure try making this with the constraint.
@@karunstha It works very similar to RelativeLayout where you can assign the position of views relative to the position of other views in the layout. It makes use of layout_constraint* parameters or you can drag and position arrows in the "Design" tab. Cheers and keep up the great videos.
link not work for code
can i make text be bold,italic or change to other font styles? because fontFamily is used only in API level 16 and higer... i hope you know what i mean.
You can use custom textview classes and set the typeface from there. If bold, italic are just what you need, fontStyle might work.
It works wonderful in vertical, but if the phone is moved to horizontal everything go horrible (and every time you change position the splash start again and again). Can you help me fixing it please?
Please google about onSaveInstanceState() and onRestoreInstanceState(), you can resolve your issue using this.
You should have make this by using
@@ananysharma8483 ConstraintLayout might actually be better, it was created for this particular reason.
how is the source code if I want link button signup?
Can you create this splash screen in flutter..
Its showing that document is no longer available
My grad_bg preview is not showing
is ok now, i figured it out... though is my first time doing this things.
TLOU PAUL okay, all the best!
How to create .xml file of the image like the ic_twitter.xml which you have created
Checkout my latest video.
Could you make a vid about implementing the actual login and register system?
Sure, will be making such videos soon.
please do reply me. The part about twitter.xml,, how did you get it to be an xml file. the process please.
Simon Munyao i will make a separate video for that, stay tuned
Karun Shrestha I will... If possible soonest.... Your tutorials have helped me a lot in my classes
Simon Munyao I'm glad that I've helped you. Sure, it'll probably be my next video.
@@simonmunyao8689 bro learn about SVG
Dami bro dherai help bho yo videp le
Thankyou bro!
When I rotate the phone to landscape mode, the interface gets distorted, how can i solve this?
in manifest.xml, Change orientation: Potrait
Your project File is compromised by "This web page contains potentially dangerous content. Threat: HTML/ScrInject.B trojan" - please fix it I'd like to get it
Thank you for the information. I'll look into it.
thx for sharing , i got a problem ; java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.RelativeLayout.setVisibility(int)' on a null object reference like that
You might have forgot to initialize the relative layout. Check it in czcams.com/video/-7xLyPLJ_NI/video.html
Minute 14:35, how do you resolve the "cannot resolve symbol rellay1"?
jamescompany1 did you define rellay1 as RelativeLayout? That might be the problem
Karun Shrestha Yes, I don't know why sometimes Android Studio can't recognize relatives layouts, but I can resolve this yesterday, thanks for the video, cheers from Mexico.
jamescompany1 Just rebuild the project if you think you got problems with the studio. Keep it up 👍. Cheers from Nepal🇳🇵
I do not care if you are a man or woman, I want to kiss you. THANK YOU SOO MUCH!!!
Haha, you're welcome.
how can i write the code in kotlin please .
Android resource linking failed
please help me with this error.
please once check this:
stackoverflow.com/questions/49171052/error-android-resource-linking-failed-aapt2-27-0-3-daemon-0
If this doesn't work, do some more research, hopefully you'll get the solution :)
WAHH IN HELLS NAME DONT U TALK IN THE VIDEOS? HUH!? BRO SOME PEOPLE DONT WANT TO JUST COPY PASTE JUST TALK SO U CAN HELP MORE BUT LOVED THE TUTORIAL SLASH MUSIC CRASH BOOM :D
First thnks for the tuto it's wonderful, i tried to put the logo in the middle alignparenttop and centerhoruzental are true, the logo start great but when the login comes its go the the right then to the top, plz try it on your project and tell me the result
I've linked the project file here on the description, can you please compare your code to the project and see?
Yes, i made the changes on it i only added these attributes to the imageview : layout_alignParentBottom=true and layout_centerHorizontal=true , in another words i want the logo to stay in the center top not as u did on top of Login textView, i wanted to be pushed to the top not to the left, how can i do that ?
I meant alignParentTop not Bottom
Oh, now i get you. What you're doing is correct. I just tried it in my project, you'll just have to change the parent relative layout's width to match_parent.
Yeees it worked thnk u very much for your time, hope we'll see u in another videos, good luck...
Please tell me how i get the pathdata for twitter image icon .....or can you share the datapath of this image....
Hello geetika, I've made a video for how to get the path of any image. Here's the link to the video: czcams.com/video/WdcecrLyAkg/video.html
@@karunstha thank you so much.
in your google drive, the twitter logo is with .png So, where the .xml?
There's no .png file bro, check it again, there's ic_twitter.xml inside drawable.
How you can find img of Twitter in .xml?
Diogo checkout my latest video. :)
Have you heard about SVG? You could do it with illustrator also
i will try this login screen but in bottom sign up and forget password not showing in my emulator and android phone
i try same as u do in video
help me for solution
sir can you give link for background screen picture of login screen
It's not a picture. It's a drawable image in xml. I've shown how to create it in the video, do watch it carefully.
ok bro thanx
Use
Plz try to avoid darcula theme 🙏
Where is project source
how can i convert a png pcture a xml?
Greadyyy checkout my latest video ;)
ok thank you so much!!! ill check it out:)
awesome but can you at least advice me on how did you copy and paste password? :>
Karun sir 🙏
When I use background transparent of username or password
No white out lines will show
Did you remember to set the stroke? Something like:
how to solve that delaymillis ?
I was having the same error, just don't write it, type: handler.postDelayed (runnable, 2000);
Sir can I get the whole code of this program.. Actually I am getting some error.
Yes sure, the link to the project is on the description :)
But that was not opening..
@@karunstha Link is not opening
Error
error: attribute android:topbottomLeftRadius not found.
No such thing as top and bottom together. Only topLeft, topRight, bottomLeft, bottomRight.
where is the github link ?
Why dont appear the background
Sorry, i don't get you?
i have an error says attribute android:orientatition not found. what is it? help meeeeee
add attribute orientatition: vertical or horizontal
What is code? Pls
I mean what code should i write?
add this attribute in xml tag, if you using linearlayout and more than 2 widget, it require vertical or horizontal
like this !
have you any website to learn this??
Ashikur Rahman sorry bro no websites.
but i need your whole tutorial with details..your tutorial is just awesome
Sir plz share the source code. The link in the description is not working
yes, you'll have to go through some ads, anyways, here the link: drive.google.com/file/d/10c5pO-qqgb8RlnmsWZA-dknK9f1BNHq0/view
@@karunstha tysm sir
Hi .i can not download the code source . help, thanks
drive.google.com/file/d/10c5pO-qqgb8RlnmsWZA-dknK9f1BNHq0/view
It's giving rendor problem
awesome! im just new to android studio. pls do help me :)
Sure :)
pls, try to change your theme. not visible to me
Sorry for the inconvenience, will try other themes in the upcoming videos.
The link in the description is not working
yes, you'll have to go through some ads, anyways, here the link: drive.google.com/file/d/10c5pO-qqgb8RlnmsWZA-dknK9f1BNHq0/view
Sir,will u give me the code in kotlin
I hate you for not clicking edit text because you know it will distort the layout. That's the real problem
Code please
why in my phone no animate??
you might have set to no animations in your developer settings.
@@karunstha that animation based on our phone?? from logo to login form there no animation like blink for transition
@@alhaitsyam3032 yes, it's from my phone
Sir plz share the source code
can i get the code please
You can get the source code from the link in the description.
Dnt use darcula theme we cant see anything clearly
Will surely keep that in mind while recording the next video ☺
Can u please send me the ic_twitter.xml it's urgent and thanks for this work
Can you please watch this video?
czcams.com/video/WdcecrLyAkg/video.html
@@karunstha thanks man
Bhai. White screen lo
Sir plzzz rply me
Can you create me one earning app
it takes money
Yes i can
Price?
Bro I cannot download project file need ur help
kam se kam screen to zoom in kar lete
Plz sir must rply me
WhatsApp Status yes?
Ap apna WhatsApp number day sakty ho sir
WhatsApp Status app apna do, main aapko text karunga
+923016191297
Ya lay main Pakistan sy ho
kuch bol bhi liya kar bhai mere
Why do feel the need of putting this anoying music ??!! Something I will never understand.
Nice Tutorial lol