Skip to content

Commit

Permalink
* fixed Cleveroad#15
Browse files Browse the repository at this point in the history
* fixed Cleveroad#16
  • Loading branch information
Iojjj committed Jun 2, 2016
1 parent 54ba337 commit d45a726
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public Configuration(Context context, AttributeSet attrs, boolean isInEditMode)
if (bgColor == Color.TRANSPARENT) {
bgColor = ContextCompat.getColor(context, R.color.av_color_bg);
}
int arrayId = array.getResourceId(R.styleable.GLAudioVisualizationView_av_wavesColors, 0);
int arrayId = array.getResourceId(R.styleable.GLAudioVisualizationView_av_wavesColors, R.array.av_colors);
if (isInEditMode) {
colors = new int[layersCount];
} else {
Expand Down

0 comments on commit d45a726

Please sign in to comment.