freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于android平臺(tái)的股票查詢系統(tǒng)的設(shè)計(jì)與開(kāi)發(fā)畢業(yè)設(shè)計(jì)論文-資料下載頁(yè)

2025-06-28 00:22本頁(yè)面
  

【正文】 p android:textColor=FFF5EE android:textSize=18sp/ TextView android:id=@+id/buy3 android:layout_width=wrap_content android:layout_height=wrap_content android:paddingTop=30dp android:textColor=FFF5EE android:textSize=18sp/ TextView android:id=@+id/buy4 android:layout_width=wrap_content android:layout_height=wrap_content android:paddingTop=30dp android:textColor=FFF5EE android:textSize=18sp/ TextView android:id=@+id/buy5 android:layout_width=wrap_content android:layout_height=wrap_content android:paddingTop=30dp android:textColor=FFF5EE android:textSize=18sp/ /LinearLayout! 第五頁(yè)面 賣1,賣2,賣3,賣4,賣5 LinearLayout android:orientation=vertical android:layout_width=wrap_content android:layout_height=fill_parent android:paddingLeft=35dp TextView android:id=@+id/sale1 android:layout_width=wrap_content android:layout_height=wrap_content android:paddingTop=20dp android:textColor=FFF5EE android:textSize=18sp/ TextView android:id=@+id/sale2 android:layout_width=wrap_content android:layout_height=wrap_content android:paddingTop=30dp android:textColor=FFF5EE android:textSize=18sp/ TextView android:id=@+id/sale3 android:layout_width=wrap_content android:layout_height=wrap_content android:paddingTop=30dp android:textColor=FFF5EE android:textSize=18sp/ TextView android:id=@+id/sale4 android:layout_width=wrap_content android:layout_height=wrap_content android:paddingTop=30dp android:textColor=FFF5EE android:textSize=18sp/ TextView android:id=@+id/sale5 android:layout_width=wrap_content android:layout_height=wrap_content android:paddingTop=30dp android:textColor=FFF5EE android:textSize=18sp/ /LinearLayout /LinearLayout menu按鈕 Menu實(shí)現(xiàn)的具體代碼如下所示:public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu。 this adds items to the action bar if it is present. (1,1,1,刷新).setIcon()。//設(shè)置第一個(gè)按鈕 (1,2,2,K線圖).setIcon()。//設(shè)置第二個(gè)按鈕 (1,3,3,分時(shí)圖).setIcon()。//設(shè)置第三個(gè)按鈕 (1,4,4,關(guān)于).setIcon()。//設(shè)置第四個(gè)按鈕 (1,5,5,幫助).setIcon()。//設(shè)置第五個(gè)按鈕 (1,6,6,退出).setIcon()。//設(shè)置第六個(gè)按鈕 return (menu)。 } 整個(gè)布局使用的是Linearlayout布局方式,標(biāo)題欄使用Absolutely絕對(duì)布局方式,內(nèi)容部分的TextView使用嵌套,以便數(shù)據(jù)顯示。整個(gè)Activity由Button,ImaginButton,TextView,listView,Line等控件組成。 K線界面的設(shè)計(jì)在個(gè)股信息中點(diǎn)擊menu按鈕,彈出提示框進(jìn)行選擇查詢K線圖、分時(shí)圖、或公司信息。、 TextView //k線圖 android:layout_width=wrap_content android:layout_height=wrap_content android:text=K圖顯示: android:textColor=FFF5EE android:id=@+id/ktu/ Spinner //月周日下拉列表 android:layout_height=40dp android:layout_width=wrap_content android:id=@+id/Spinner/ /LinearLayout TextView //分時(shí)線圖顯示 android:layout_height=wrap_content android:layout_width=wrap_content android:text=分時(shí)圖: android:textColor=FFF5EE android:id=@+id/ktu/ 自選信息界面的設(shè)計(jì)自選信息是股民根據(jù)個(gè)人喜好對(duì)個(gè)股添加保存的一個(gè)版塊, ListView //ListView控件 android:id=@+id/mystocklist android:background=ff000000 android:layout_width=fill_parent android:layout_height=fill_parent android:listSelector=@drawable/list_bg //自定義選中 android:cacheColorHint=ff000000 android:divider=@drawable/listview_divider //自定義分隔線 android:layout_weight= /item android:state_window_focused=false android:drawable=@drawable/transparent ///當(dāng)窗口選中焦點(diǎn)時(shí)的樣式 item android:state_focused=true android:state_pressed=true android:drawable=@drawable/bluebg5 ///選中焦點(diǎn)按下時(shí)的樣式 item android:state_focused=false android:state_pressed=true android:drawable=@drawable/bluebg5 ///按下失去焦點(diǎn)的樣式 item android:state_selected=true android:drawable=@drawable/bluebg5 ///選中的樣式 item android:state_focused=true android:drawable=@drawable/bluebg5 ///焦點(diǎn)的樣式整個(gè)布局使用的是Linearlayout布局方式,標(biāo)題欄使用Absolutely絕對(duì)布局方式,內(nèi)容部分的TextView使用嵌套,以便數(shù)據(jù)顯示。使用Dialog對(duì)話框杜股票信息保存進(jìn)行友好操作。整個(gè)Activity由Button,ImaginButton,TextView,listView,Line等控件組成,具體代碼如下所示:private void addstock() { final String name=[1]。 //創(chuàng)建一個(gè)對(duì)話框進(jìn)行友好詢問(wèn) builder = new ()。 ()。 (是否保存該股票?)。 (確定, new () { public void onClick(DialogInterface dialog, int whichButton) { try { dbAdapter=new DBAdapter()。 //傳遞參數(shù)并調(diào)用插入方法 (temp,name)。 ()。 (, 保存股票成功, ).show()。 (insert temp,().toString())。 } catch (Exception e) { (tag, insertWordsError)。 } finally{ dbAdapter=null。 } } })。 (取消, new () { public void onClick(DialogInterface dialog, int whichButton) { } })。 ()。 } 具體的功能模塊Android工程基本結(jié)構(gòu)目錄包括:src (源代碼)、gen(Android系統(tǒng)自動(dòng)生成的常量)、Res(資源文件):主要存放程序界面的布局配置(.xml)文件和圖片資源。 是四大組件的驅(qū)動(dòng)配置文件,有它的存在,Android程序的四大組件才可以正常的跳轉(zhuǎn)。設(shè)計(jì)好界面后,對(duì)界面中的控件進(jìn)行添加事件處理,就到了具體的代碼編寫階段,首先應(yīng)新建一個(gè)工程,此工程名為:wdqstock,: 1. ,所有的類都是Activity類,其他為輔助界面,此包中具體的類功能的詳細(xì)情況如下:StockInfo 個(gè)股信息顯示界面SearchActivity 個(gè)股查詢界面 分時(shí)圖界面 K線圖界面 大盤查詢界面2. ,它用于對(duì)獲得的xml進(jìn)行處理。SAX是一個(gè)解析速度非??觳⑶艺加脙?nèi)存少的XML解析器,非常適合Android等移動(dòng)設(shè)備。在程序中獲得股票信息的核心是通過(guò)sax解析來(lái)實(shí)現(xiàn)的,根據(jù)標(biāo)簽名來(lái)獲得其中的屬性,具體實(shí)現(xiàn)代碼如下:try{
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1