Skip to content

Commit

Permalink
changed pushed color to accent
Browse files Browse the repository at this point in the history
  • Loading branch information
martinseal committed Sep 11, 2019
1 parent 3a9eefe commit dc5b402
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1320,7 +1320,7 @@ public void showButtonInMenu(boolean animate) {
private static int getFabPressedColor(Context context) {
int colorAttr;
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
colorAttr = android.R.attr.colorControlHighlight;
colorAttr = android.R.attr.colorAccent;
} else {
//Get colorAccent defined for AppCompat
colorAttr = context.getResources().getIdentifier("fabPressedColor", "attr", context.getPackageName());
Expand Down

0 comments on commit dc5b402

Please sign in to comment.