




下載本文檔
版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、軟件工程111班 號(hào)學(xué)生實(shí)驗(yàn)Android 基礎(chǔ)控件的使必修 演示性實(shí)驗(yàn) 驗(yàn)證性實(shí)驗(yàn) 操作性實(shí)驗(yàn) 201435 1-4一、實(shí)驗(yàn)綜1、實(shí)驗(yàn)?zāi)康募耙獙?shí)驗(yàn)Android應(yīng)用程序開(kāi)發(fā),可以是自己設(shè)計(jì)的程序登錄界面(參考PPT要求)TextView、Button和EditText三個(gè)基本寫(xiě)出創(chuàng)建程序的基本步驟以及程序中涉及到的主要代碼,將程序運(yùn)行結(jié)果截2、實(shí)驗(yàn)儀器、設(shè)備或軟二、實(shí)驗(yàn)過(guò)程(實(shí)驗(yàn)步驟、記錄、數(shù)據(jù)、分析string.xml步驟三:使用 TableLayout TableRow HYPERLINK /apk/res/android HYPERLINK /tools android:orienta
2、tion=vertical android:textSize=18sp /android:stretchColumns=1 android:textSize=18sp /android:layout_height=wrap_content /android:textSize=18sp /android:layout_height=wrap_content /android:textSize=14sp /android:layout_height=wrap_content /android:textSize=14sp /android:textSize=14sp /Stringprotected
3、 void onCreate(Bundle savedInstanceState) Button b1=(Button)findViewById(R.id.b); b1.setOnClickListener(new OnClickListener() onClick(View arg0) Auto-generated method myExpand = (ExpandableListView) findViewById(R.id.list);myExpand = new ExpandableListView(MainActivity.this);myAdapter=new BaseExpand
4、ableListAdapter() isChildSelectable(int groupPosition, int childPosition) / TODO Auto-method return hasStableIds() / TODO Auto-method return getGroupView(int groupPosition, boolean ViewGroup parent) / TODO Auto-method linear=new d(R.id.bbb);/return linear;private TextView getTextView()/TextView avit
5、y.LEFT);/0, 0, return getGroupId(int groupPosition) / TODO Auto-method return getGroupCount() / TODO Auto-method return getGroup(int groupPosition) / TODO Auto-method getChildrenCount(int groupPosition) / TODO Auto-method getChildView(int groupPosition, int View convertView, ViewGroup parent) / TODO
6、 Auto-method linear=new textView=new return getChildId(int groupPosition, int childPosition) / TODO Auto-method return getChild(int groupPosition, int childPosition) / TODO Auto-method ckListener(new OnChildClickListener() onChildClick(ExpandableListView parent, View int groupPosition, childPosition
7、, long id) / TODO Auto-method return Adapter);/Builder builder = new Builder(MainActivity.this);/nd);/builder.setTitle(ton(確認(rèn),new DialogInterface.OnClickListener() onClick(DialogInterface dialog, int which) / TODO Auto-method public boolean onCreateOptionsMenu(Menu menu) /Inflatethemenu;thisaddsitemstotheactionbarifis getMenuInflater().inflate(R.menu.menu1,menu); return true;onOptionsItemSelected(MenuItemitem) Auto-generated method stub三、結(jié)實(shí)驗(yàn)結(jié)四、指導(dǎo)
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 專(zhuān)業(yè)服務(wù)及咨詢服務(wù)合同
- 車(chē)輛借用協(xié)議合同
- 外墻防水涂料施工合同
- 二零二五版離職補(bǔ)償合同書(shū)
- 貼磚人工勞務(wù)合同范例二零二五年
- 2025年江西版新課標(biāo)一年級(jí)上冊(cè)素質(zhì)教育工作計(jì)劃
- 小學(xué)排球啟蒙教學(xué)計(jì)劃
- 2025人音版四年級(jí)上冊(cè)音樂(lè)教育評(píng)估計(jì)劃
- 湖南文藝出版社小學(xué)音樂(lè)與文化傳承計(jì)劃
- 四年級(jí)上冊(cè)團(tuán)隊(duì)合作勞動(dòng)計(jì)劃
- 2025年部門(mén)預(yù)算支出經(jīng)濟(jì)分類(lèi)科目說(shuō)明表
- 《陸上風(fēng)電場(chǎng)工程概算定額》NBT 31010-2019
- 湖北省水功能區(qū)劃
- 中考語(yǔ)文復(fù)習(xí)指導(dǎo)PPT資料30頁(yè)課件
- 診所備案申請(qǐng)表格(衛(wèi)健委備案)
- 案例收球器盲板傷人事故
- 第3章-中子擴(kuò)散理論2014
- 銀行存款余額調(diào)節(jié)表正式版
- 2×100+2×200MW供熱式火力發(fā)電廠
- 模具驗(yàn)收檢查表(出口模具)
- bim畢業(yè)設(shè)計(jì)--精選文檔
評(píng)論
0/150
提交評(píng)論