parent
9bf198bb81
commit
31a549449b
1 changed files with 3 additions and 0 deletions
|
@ -65,6 +65,9 @@ public class DocumentView extends FrameLayout {
|
|||
this.documentBackground = findViewById(R.id.document_background);
|
||||
this.document = (TextView) findViewById(R.id.document);
|
||||
|
||||
this.document.getBackground().mutate();
|
||||
this.documentBackground.getBackground().mutate();
|
||||
|
||||
if (attrs != null) {
|
||||
TypedArray typedArray = context.getTheme().obtainStyledAttributes(attrs, R.styleable.DocumentView, 0, 0);
|
||||
setTint(typedArray.getColor(R.styleable.DocumentView_documentForegroundTintColor, Color.WHITE),
|
||||
|
|
Loading…
Add table
Reference in a new issue