-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5814 from seadowg/outlined-button
Fallback to Material 2 OutlinedButton on API 22
- Loading branch information
Showing
4 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<style name="Widget.Collect.Material3.Button.OutlinedButton" parent="Widget.Material3.Button.OutlinedButton"></style> | ||
|
||
<style name="Widget.Collect.Material3.Button.OutlinedButton.Icon" parent="Widget.Material3.Button.OutlinedButton.Icon"></style> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<!-- Material3.Button.OutlinedButton` doesn't work properly on older API levels (22 and under) without a Material 3 theme so we fall back to Material 2 --> | ||
<style name="Widget.Collect.Material3.Button.OutlinedButton" parent="Widget.MaterialComponents.Button.OutlinedButton"></style> | ||
|
||
<style name="Widget.Collect.Material3.Button.OutlinedButton.Icon" parent="Widget.MaterialComponents.Button.OutlinedButton"></style> | ||
</resources> |