lewisjdeane / L-Dialogs

A small library replicating the new dialogs in android L.
567 stars 100 forks source link

Colors should be int and not String #12

Closed StephaneBg closed 10 years ago

StephaneBg commented 10 years ago

It should be possible to set the color with a resource id.

    public Builder positiveColor(@ColorRes int colorResId) {
        this.mPositiveColour = mContext.getResources().getColor(colorResId);
        return this;
    }
lewisjdeane commented 10 years ago

Yep for sure, i'll add this today.

lewisjdeane commented 10 years ago

Okay this is added with the merge of your pull request.