課程
/移動開發(fā)
/Android
/Android攻城獅的第一門課(入門篇)
plain text 這個控件拉不進去? 拉進去出現(xiàn)錯誤? 大神們幫幫忙? 看一看是什么原因? 謝謝了
2017-11-03
源自:Android攻城獅的第一門課(入門篇) 3-3
正在回答
另一種實現(xiàn)添加控件的方法:雙擊設(shè)計界面,在代碼中添加
? ? ? ? <EditText
? ? ? ? ? ? android:id="@+id/editText1"
? ? ? ? ? ? android:layout_width="match_parent"
? ? ? ? ? ? android:layout_height="wrap_content" >
? ? ? ? ? ? <requestFocus />
? ? ? ? </EditText>
即可。
qq_HO_10
舉報
想快速掌握Android應(yīng)用開發(fā)基礎(chǔ),選擇學(xué)習(xí)這門課程就對了。
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2017-11-03
另一種實現(xiàn)添加控件的方法:雙擊設(shè)計界面,在代碼中添加
? ? ? ? <EditText
? ? ? ? ? ? android:id="@+id/editText1"
? ? ? ? ? ? android:layout_width="match_parent"
? ? ? ? ? ? android:layout_height="wrap_content" >
? ? ? ? ? ? <requestFocus />
? ? ? ? </EditText>
即可。