Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在对话框内构建了一个线性布局,这里的问题是我想更改此布局的 TextView 但我不知道如何!,,有什么帮助吗?
与普通视图相同的方式。
TextView text = (TextView) dialog.findViewById(R.id.TextView01); text.setText("Hello");