相关疑难解决方法(0)

为什么我不能将文本设置为Android TextView?

我在将文本设置为TextView时遇到问题:

TextView android:editable = "true".
Run Code Online (Sandbox Code Playgroud)

在我的.java中,似乎这应该有效:

 text = (EditText) findViewById(R.id.this_is_the_id_of_textview);
text.setText("TEST");
Run Code Online (Sandbox Code Playgroud)

但事实并非如此.谁能告诉我这里有什么问题?

android text textview

18
推荐指数
4
解决办法
14万
查看次数

标签 统计

android ×1

text ×1

textview ×1