mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-04-28 12:17:57 +03:00
TextView: set default text to an empty String
This commit is contained in:
parent
32dcbe3131
commit
a743361ae4
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ import android.view.View;
|
|||
|
||||
public class TextView extends View {
|
||||
private ColorStateList colors = new ColorStateList(new int[][] {new int[0]}, new int[1]);
|
||||
private CharSequence text;
|
||||
private CharSequence text = "";
|
||||
|
||||
public TextView(Context context, AttributeSet attrs) {
|
||||
this(context, attrs, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue