You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
TextView: set default text to an empty String
This commit is contained in:
@@ -28,7 +28,7 @@ import android.view.View;
|
|||||||
|
|
||||||
public class TextView extends View {
|
public class TextView extends View {
|
||||||
private ColorStateList colors = new ColorStateList(new int[][] {new int[0]}, new int[1]);
|
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) {
|
public TextView(Context context, AttributeSet attrs) {
|
||||||
this(context, attrs, 0);
|
this(context, attrs, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user