Skip to content

Commit

Permalink
Merge pull request #3 from HowardOcasta/selected-style-option
Browse files Browse the repository at this point in the history
Allow the selector to be fill not just outline
  • Loading branch information
naz013 authored Jul 3, 2020
2 parents 57d2173 + 4e2b804 commit 4eb04d9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@ public void setSelectorColor(@ColorInt int color) {
}
}

@SuppressWarnings("unused")
public void setSelectorStyle(Paint.Style style) {
if (this.mSelectorPaint != null) {
this.mSelectorPaint.setStyle(style);
this.invalidate();
}
}

@SuppressWarnings("unused")
public void setSelectorColorResource(@ColorRes int color) {
if (color != 0) {
Expand Down

0 comments on commit 4eb04d9

Please sign in to comment.