-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OTPView implemented with three types #1
Conversation
primaryVariant = Purple700, | ||
secondary = Teal200 | ||
|
||
/* Other default colors to override |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove unnecessary code
fontWeight = FontWeight.Normal, | ||
fontSize = 16.sp | ||
) | ||
/* Other default text styles to override |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove unnecessary code
) | ||
|
||
@Composable | ||
fun MyApplicationTheme(darkTheme: Boolean = isSystemInDarkTheme(), content: @Composable () -> Unit) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add .gif in your changes for the behavior
bb24f8b
to
c68aa52
Compare
Please add toolbar/title for each gif. Let's say example is Underline star so keep title for the same in the activity |
e54dac7
to
fb58f19
Compare
```kotlin | ||
OtpView( | ||
otpText = otpValue, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to add attribute section below the code snippet.
Different type of arc OTPViews. Easy to use and configure your own View and character of OTP using all the attributes. | ||
|
||
# Features |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add more features with proper description.
README.md
Outdated
|
||
``` | ||
Copyright 2021 Simform Solutions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copyright 2022*
README.md
Outdated
## How to use the library? | ||
- Using Compose | ||
Just use the `OtpView` composable where you need to display the view like. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to make it more understandable
Next in your code create OtpView composable function like this: | ||
```kotlin | ||
fun OtpView( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to add few attributes for otpCount and strokeColor in OtpView composable function.
08c5920
to
e633128
Compare
778af0c
to
158cc5d
Compare
OTPView implemented with three types