Edit text Password Toggle Android

(updated for AndroidX) Since the Support Library v24.2.0. you can achivie this very easy What you need to do is just: Add the design library to your dependecies dependencies { implementation “com.google.android.material:material:1.2.1″ } Use TextInputEditText in conjunction with TextInputLayout <com.google.android.material.textfield.TextInputLayout xmlns:app=”http://schemas.android.com/apk/res-auto” android:id=”@+id/etPasswordLayout” android:layout_width=”match_parent” android:layout_height=”wrap_content” app:passwordToggleEnabled=”true”> <android.support.design.widget.TextInputEditText android:id=”@+id/etPassword” android:layout_width=”match_parent” android:layout_height=”wrap_content” android:hint=”@string/password_hint” android:inputType=”textPassword”/> </com.google.android.material.textfield.TextInputLayout> passwordToggleEnabled attribute will … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)