shem8 / materiallogin Goto Github PK
View Code? Open in Web Editor NEWLogin view with material design
Login view with material design
whenever i click the + button it fore close
How can I solve this issue?
Is it worthwhile to consider adding support for pre-lollipop devices? Targeting API-19 get's you 36.1% more device coverage.
i can not add the dependency to my project.
The Android Studio tells me Failed to resolve: com.github.shem8:material-login:2.2.0
First of all thanks for the great library. The problem is when I try using RTL layouts, registration fab locates on the upper-left corner of dialog as expected but after clicking it animates to its bottom-left direction which is the behavior for the LTR layouts, instead of bottom-right. It also happens for the reveal effect which incorrectly starts from the right half of dialog. And also the "Register" dialog title has left gravity.
What can I do?
would it be better to have a single line? btw, nice job
What if I only require a login and not a register option
Is there any way to hide the "+" ?
When I use this, it keeps logging
03-07 16:35:19.831 15058-15058/com.dante.diary I/AppCompatViewInflater: app:theme is now deprecated. Please move to using android:theme instead.
03-07 16:35:19.835 15058-15058/com.dante.diary I/TextInputLayout: EditText added is not a TextInputEditText. Please switch to using that class instead.
I added
dependencies {
implementation ('com.github.ozodrukh:CircularReveal:2.0.1@aar') {
transitive = true;
}
}
and when I Clicked Register Button
App was crashed
java.lang.NoSuchMethodError: No static method createCircularReveal(Landroid/view/View;IIFF)Lio/codetail/animation/SupportAnimator; in class Lio/codetail/animation/ViewAnimationUtils; or its super classes (declaration of 'io.codetail.animation.ViewAnimationUtils' appears in /data/app/com.dreamwalker.diabetesfits-1/split_lib_dependencies_apk.apk)
at shem.com.materiallogin.MaterialLoginView.getCircularRevealAnimation(MaterialLoginView.java:189)
at shem.com.materiallogin.MaterialLoginView.access$400(MaterialLoginView.java:40)
at shem.com.materiallogin.MaterialLoginView$3.onAnimationStart(MaterialLoginView.java:156)
at android.view.animation.Animation$1.run(Animation.java:367)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6776)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1496)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1386)
i got this message error when i try to register twice successively :
java.lang.NullPointerException: Attempt to invoke interface method 'void shem.com.materiallogin.DefaultRegisterView$DefaultRegisterViewListener.onRegister(android.support.design.widget.TextInputLayout, android.support.design.widget.TextInputLayout, android.support.design.widget.TextInputLayout)' on a null object reference at shem.com.materiallogin.DefaultRegisterView$1.onClick(DefaultRegisterView.java:67) at android.view.View.performClick(View.java:4780) at android.view.View$PerformClick.run(View.java:19866) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
Actually we have two different names.
MaterialLogin
and LoginView
.
MaterialLogin
LoginView
MaterialLoginTheme
MaterialLoginView
MaterialLogin*Color
only for a few.
I think it would be great if we have on Name for all. MaterialLogin
OR LoginView
then the ressources above look like
MaterialLogin
MaterialLoginView
MaterialLoginTheme
MaterialLogin
MaterialLogin*Color
OR
LoginView
LoginView
LoginViewTheme
LoginView
LoginView*Color
I preffer the first one because 👍
Provide with a suitable on click listener for login and register buttons instead of view listener as a whole. That will provide us with more control over functioning of the application. Because the basic task for the login form is to communicate with the server that requires lot of back end processing when the user has to validated from the server scripts. Fix it asap.
The login effect that you make is very brilliant. I like it very much!
but here is a problem for me:
I imported this lib into my workspace by eclipse.
but I can't find "io.codetail.animation.SupportAnimator" and "io.codetail.animation.ViewAnimationUtils".
could you tell me where this lib is?
much thanks in advance.
Whenever I enter a wrong password and enter the correct password again, app force closes. Weird right!
I had imported the lib circularReveal to my workspace by eclipse .
your lib need SupportAnimator.
but there is no SupportAnimator in package “io.codetail.animation”
it confuse me a lot .
could you tell me where I can find this class “SupportAnimator”
thanks in advance .
when i change string text to my language after run all of theme delete and auto change to en
how can change language to arabic or farsi ?
For tablets it's looking too small....
Please fix this..
I'm very confused why the colors are handled over the colors.xml file instead like the texts via the attributes file?
We can set it up like this too:
<declare-styleable name="MaterialLoginView">
<attr name="loginTitle" format="string" />
<attr name="loginHint" format="string" />
<attr name="loginPasswordHint" format="string" />
<attr name="loginActionText" format="string" />
<attr name="loginTextColor" format="reference" />
<attr name="registerTitle" format="string" />
<attr name="registerHint" format="string" />
<attr name="registerPasswordHint" format="string" />
<attr name="registerRepeatPasswordHint" format="string" />
<attr name="registerActionText" format="string" />
<attr name="registerTextColor" format="reference" />
<attr name="registerIcon" format="reference" />
</declare-styleable>
and use it like
app:loginTextColor="@color/material_login_register_color"
Any opinion not to do this?
Hi,
can you add the possibility to take an action when done (next) i clicked on keyboard?
Or at least when done is clicked at username, move focus to password.
Thanks
Hi, I think there is no forgot password field.... can U add that...!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.