mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 01:07:47 +00:00
parent
9bf198bb81
commit
31a549449b
@ -65,6 +65,9 @@ public class DocumentView extends FrameLayout {
|
|||||||
this.documentBackground = findViewById(R.id.document_background);
|
this.documentBackground = findViewById(R.id.document_background);
|
||||||
this.document = (TextView) findViewById(R.id.document);
|
this.document = (TextView) findViewById(R.id.document);
|
||||||
|
|
||||||
|
this.document.getBackground().mutate();
|
||||||
|
this.documentBackground.getBackground().mutate();
|
||||||
|
|
||||||
if (attrs != null) {
|
if (attrs != null) {
|
||||||
TypedArray typedArray = context.getTheme().obtainStyledAttributes(attrs, R.styleable.DocumentView, 0, 0);
|
TypedArray typedArray = context.getTheme().obtainStyledAttributes(attrs, R.styleable.DocumentView, 0, 0);
|
||||||
setTint(typedArray.getColor(R.styleable.DocumentView_documentForegroundTintColor, Color.WHITE),
|
setTint(typedArray.getColor(R.styleable.DocumentView_documentForegroundTintColor, Color.WHITE),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user