Skip to content

Commit

Permalink
Fix IDE warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Tibolte committed Aug 14, 2015
1 parent 85bdae6 commit 6f33b6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public ElasticDownloadView(Context context, AttributeSet attrs) {
TypedArray a = context.obtainStyledAttributes(attrs,
R.styleable.ColorOptionsView, 0, 0);
mBackgroundColor = a.getColor(R.styleable.ColorOptionsView_backgroundColor,
R.color.orange_salmon);
getResources().getColor(R.color.orange_salmon));

LayoutInflater inflater = (LayoutInflater) context
.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
Expand Down

0 comments on commit 6f33b6d

Please sign in to comment.