我查看獲取按鈕動態
<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 –
沒問題...請記住,此操作可能非常慢,但如果可以避免,建議不要使用它。 –