Password toggle without textinputlayout in android | Hide password and show password

  Рет қаралды 19,532

Learning Bot

Learning Bot

Күн бұрын

Hello Dosto.
In this tutorial, you will see How to add password toggle in android and Hide password
and show password without using TextInputLayout .we have to method to use password toggle
first is by using Textinputlayout and second by using Java code to enable password toggle
Password Toggle with textinputLayout :
• How to Use Password To...
Password Toggle without textinputLayout :
• Password toggle witho...
_______________________________________________________________
If you face any problems feel free to ask in the comment section
-------------------------------------------------------------------------------------------------------
Thank You
#learningbot #androidStudio #passwordtogglewithouttextinputlayout #passwordtoggle#learningbotandroid #hindi #passwordicon

Пікірлер: 39
@choimina2488
@choimina2488 Жыл бұрын
Even tho I don't understand hindi but the way you code is clear and easy to follow. Thank you for this tutorial !
@learning_bot
@learning_bot Жыл бұрын
Thanks, Keep learning 👍👍
@zeinaboubarro2486
@zeinaboubarro2486 Жыл бұрын
This code worked for me with some small changes, thanks a lot
@learning_bot
@learning_bot Жыл бұрын
👍👍👍
@faruqeahammad7946
@faruqeahammad7946 2 жыл бұрын
Great It worked, thank you bro 👌
@arrowbunshot9493
@arrowbunshot9493 2 жыл бұрын
On 13:26 minute you clicked toggle button and hold option also appeared which says(COPY PASTE UNDO CLIPBOARD ) applying your code its also happening to me then you again started application and then on 13:47 on clicking toggle button its not appearing i also want to perform 13:47 action which doesnt allow my password extra copy paste options
@pranitabhatt928
@pranitabhatt928 Жыл бұрын
Having problem in main activity java code for set selection method
@kerats1718
@kerats1718 2 жыл бұрын
I tried your method and works great but when i set an error inside password text field the drawable logo remains unchanged at the same time hides the text
@learning_bot
@learning_bot 2 жыл бұрын
For that you need to add some extras padding
@kerats1718
@kerats1718 2 жыл бұрын
@@learning_bot still doesn't work when I add extra drawable padding on the left but the setError() shows on top of the drawable left and then when i click the text field the toggle logo will not change
@aaenterprises2000
@aaenterprises2000 Жыл бұрын
i tried each and every step but still it cant working the show and hide pasword is not working
@learning_bot
@learning_bot Жыл бұрын
Ok let me check
@loudeternitygaming2327
@loudeternitygaming2327 Жыл бұрын
can you help drawble left/drawablestart is missing when i toggle on the right drawable
@learning_bot
@learning_bot Жыл бұрын
For that you need to changes on that code...I'm working on video coming soon for that issue...
@nizarkddi7147
@nizarkddi7147 6 ай бұрын
Thanks bro
@Headers24
@Headers24 2 жыл бұрын
It worked, thanks bro!
@learning_bot
@learning_bot 2 жыл бұрын
Welcome brother...
@Headers24
@Headers24 2 жыл бұрын
@@learning_bot
@AnjaliYadav-zo5ch
@AnjaliYadav-zo5ch 2 жыл бұрын
Hi sir, I tried this code, there's no error visible but the toggle button is not working.. Can you explain why sir? Is there some Gradle Module dependencies we need to add for this?
@learning_bot
@learning_bot 2 жыл бұрын
No need to add any dependencies for that...
@peterliu7122
@peterliu7122 2 жыл бұрын
The application may be doing too much work on its main thread
@luzanojustinem.7700
@luzanojustinem.7700 2 жыл бұрын
maybe u missed the hidereturnstransformationmethod on the else method
@peterliu7122
@peterliu7122 2 жыл бұрын
@@luzanojustinem.7700 NOTHING TO DO WITH IT
@rikojanuarsawaludin8748
@rikojanuarsawaludin8748 2 жыл бұрын
Thanks.. its work
@learning_bot
@learning_bot 2 жыл бұрын
Your Welcome Stay tuned for updates 👍
@aayushbhatt3559
@aayushbhatt3559 2 жыл бұрын
App online teach krte hai??
@learning_bot
@learning_bot 2 жыл бұрын
abhi nahi..
@aayushbhatt3559
@aayushbhatt3559 2 жыл бұрын
Pura course upload kriye na
@learning_bot
@learning_bot 2 жыл бұрын
bahut jald aayega ...
@learning_bot
@learning_bot 2 жыл бұрын
Stay tuned for Updates.
@azizagasi7887
@azizagasi7887 2 жыл бұрын
For some reason the cursor goes back to the start of the text when toggled
@learning_bot
@learning_bot 2 жыл бұрын
For that you need to implement cursor pointer method.
@cybersecurityy
@cybersecurityy 2 жыл бұрын
left sa kayse use kare??
@muhammadshahroz3104
@muhammadshahroz3104 3 жыл бұрын
password toggle not working ?
@learning_bot
@learning_bot 3 жыл бұрын
Any show errors 🤔?
@efebostanc8590
@efebostanc8590 Жыл бұрын
dont work :(
@learning_bot
@learning_bot Жыл бұрын
Ok..let me check
@allagahamza2998
@allagahamza2998 Жыл бұрын
Great It worked, thank you bro 👌
@learning_bot
@learning_bot Жыл бұрын
👍
How to Implement Google One Tap SignIn on Android
21:08
Codes Easy
Рет қаралды 27 М.
Когда отец одевает ребёнка @JaySharon
00:16
История одного вокалиста
Рет қаралды 3,9 МЛН
How to Support ALL Screen Sizes on Android - Full Guide
19:10
Philipp Lackner
Рет қаралды 113 М.
Beginner's Guide to the Bash Terminal
1:14:37
Joe Collins (EzeeLinux)
Рет қаралды 2,3 МЛН
Support Multiple Screen Sizes - Android Studio Tutorial
8:20
Stevdza-San
Рет қаралды 98 М.
Android Listview Onitemclick Example
22:45
Coding Demos
Рет қаралды 147 М.