-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Button Revamp-Pm ccct 536 #2896
base: pm_CCCT_533
Are you sure you want to change the base?
Conversation
app:roundButtonBackgroundColor="@color/button_primary" | ||
app:roundButtonTextColor="@color/white"/> |
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.
can we set a common theme to all buttons instead of specifying the same attributes for all individual rounded buttons ? It will make any changes in future much easier.
|
||
import org.commcare.dalvik.R; | ||
|
||
public class RoundedButton extends androidx.appcompat.widget.AppCompatButton { |
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.
What's the reason to have own implementation here, seems like Android have inbuild support for rounded buttons
This PR is related to the design changes and it contains the update of the button all over the app now the square button is converted to the rounded button
Feature Flag
Commcare UI
PR Checklist
Automated test coverage
Safety story