1.必须要有的属性
<TextView
android:id="@+id/test"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
TextView textView = (TextView) findViewById(R.id.test);
原文链接:https://www.f2er.com/xml/300474.html1.必须要有的属性
<TextView
android:id="@+id/test"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
TextView textView = (TextView) findViewById(R.id.test);
原文链接:https://www.f2er.com/xml/300474.html