This is a snippet to customize Firebase-Ui-auth login. Thanks to the wonderfull people in Firebase-Ui.
- Download and add to your project this files
- Use the colors provided in
colors.xml
- Copy paste the themes in the
styles.xml
- Apply the theme and the logo in the java as the example in
LoginActivity.java
This are the size of the background in pixels, so you can create your own:
- mdpi: 360 x 640
- hpdi: 540 x 960
- xhdpi: 720 x 1280
- xxhdpi: 1080 x 1920
- xxxhdpi: 1440 x 2560
I'm still working in a solution to support correctly other devices like tablets, my first thought contemplate using the dimens
still not sure if it is gonna be a dirty but quick fix
hey @cutiko, thanks for this great code!
however,am facing a slight problem . i have a dark background on my login and so if user enters no password while signing up, it shows a red color text saying "this field cannot be empty" the problem is the shade of red is too dark to be clearly visible, so i wanted to change it.I tried
but this isn't working.also i wanted to change this 'eye' color (the icon that is shown on the password's edit text which,when clicked, makes the password visible.
Any Suggestions??
<ps: am new to github so if this is a wrong place to comment then am sorry. >