parse-community / ParseUI-Android

ParseUI contains user interface libraries for building apps with the Parse Android SDK.
Other
592 stars 323 forks source link

Possible to change background color of ParseLoginActivity? #88

Open Orbyt opened 8 years ago

Orbyt commented 8 years ago

I know you can set the text of the login buttons and such via XML or when building an Intent, but is there a way to change the background color of the ParseLoginActivity?

wangmengyan95 commented 8 years ago

Hi @Orbyt, we have not supported change the layout of the ParseLoginActivity yet. The easiest way to do it right now is to import the source code as a module to your project, and chage the background color in com_parse_ui_parse_login_form.xml under the layout folder.

ankit7sethi commented 8 years ago

Hi, @Orbyt , did you find the solution for changing its background with importing the xml file?

Orbyt commented 8 years ago

@ankit7sethi No I dont think I did. I found it much easier to just create your own Login/Signup Activity and integrate it with the Parse login flow if you want to have a unique design

code2be commented 8 years ago

Copying the activity from source code to Your Layouts, then Modifying that copy as You want like changing the background color or anything else will override the default style.