課程
/移動開發
/Android
/Android攻城獅的第二門課(第1季)
找了好久了,不知道是什么問題?
2014-12-15
源自:Android攻城獅的第二門課(第1季) 11-1
正在回答
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/container"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<ProgressBar android:id="@+id/progressbar"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
我之前也是復制的代碼,但總是出錯,后來我再我復制的代碼上添加上第三行就好了
第三行是原來的container的地址,應當都一樣的,
希望對你有用
沒有id為container 的資源啊
藤蘿葉下 提問者
舉報
本課程由淺入深地帶您學會Android的常用控件的開發和使用
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2015-03-27
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/container"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<ProgressBar android:id="@+id/progressbar"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
我之前也是復制的代碼,但總是出錯,后來我再我復制的代碼上添加上第三行就好了
第三行是原來的container的地址,應當都一樣的,
希望對你有用
2014-12-24
沒有id為container 的資源啊