我查看获取按钮动态
<Button android:id="@+id/button1" android:text="Text 1"
android:layout_height="wrap_content"
android:layout_width="fill_parent"></Button>
<Button android:id="@+id/button2" android:text="Text 2"
android:layout_height="wrap_content"
android:layout_width="fill_parent"></Button>
<Button android:id="@+id/button3" android:text="Text 3"
android:layout_height="wrap_content"
android:layout_width="fill_parent"></Button>
<Button android:id="@+id/button4" android:text="Text 4"
android:layout_height="wrap_content"
android:layout_width="fill_parent"></Button>
的文本值我有按钮的不确定的量,需要让你在触摸事件文本。
我该怎么做?
Tnks很多。
编辑:
感谢所有,这是你的答案的结果=>https://play.google.com/store/apps/details?id=br.com.redrails.torpedos 我的应用:d
就是这样!完善! Very tnks –
没问题...请记住,此操作可能非常慢,但如果可以避免,建议不要使用它。 –