《基于android的簡單聊天通信軟件設計》課程設計報告_第1頁
已閱讀1頁,還剩43頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

1、<p>  《簡單聊天通信軟件》</p><p><b>  課程設計報告</b></p><p>  姓 名: 郭璇 </p><p>  學 號: 110263100129 </p><p>  班 級: 10網絡 </p><p&

2、gt;  專 業(yè): 網絡工程 </p><p>  指導教師: 廖義奎 </p><p>  時 間:2012/9/3-2012/9/14</p><p><b>  信息科學與工程學院</b></p><p><b>  目 錄</b></p>

3、<p>  摘要……………………………………………………………….……………….1</p><p>  題目…………………………………………………………….……………….2</p><p>  概要設計……………………………………………………………………….2</p><p>  實訓心得……………………………………………………………………….14&l

4、t;/p><p>  4. 附錄…………………………………………………………….……………….15</p><p><b>  題目</b></p><p>  基于Android的簡單聊天通信軟件設計</p><p><b>  (1)歡迎界面</b></p><p> ?。?

5、)登錄界面,登錄界面中選擇對方的IP地址和端口號</p><p> ?。?)與對方實現連接。實現點對點的通信。即點對點的聊天。</p><p>  (4)聊天界面中,包括顯示對方信息、聊天內容顯示框、聊天內容輸入框,以及發(fā)送按鈕等</p><p>  (5)擴展1:實現表情的發(fā)送和顯示,或者實現圖片的發(fā)送和顯示。</p><p>  (5)擴

6、展2:實現多人聊天。</p><p><b>  1.1 需求分析</b></p><p>  設計一個基于安卓系統(tǒng)的簡單聊天通信軟件,軟件要實現點對點的通信。</p><p>  UI:自己設計好符合軟件的界面,使軟件成熟化。</p><p>  拓展:如有能力可使軟件實現多人聊天,發(fā)生圖片等。</p>

7、<p><b>  概要設計</b></p><p><b>  2.1 流程圖</b></p><p><b>  ↓</b></p><p><b>  ↓</b></p><p><b>  ↓</b></p

8、><p><b>  ↓</b></p><p><b>  ↓</b></p><p><b>  ↓</b></p><p><b>  ↓</b></p><p><b>  詳細設計</b></p&g

9、t;<p>  main.xml: 歡迎界面,延遲2秒左右自動跳轉。Hello.java為其響應目錄。 </p><p>  password.xml: 登錄界面,驗證用戶輸入信息,錯誤時用戶可重新輸入,正確后方可進</p><p>  password.java為其響應目錄。</p><p>  findpassword.xml: 在登錄界面中點

10、擊“忘記密碼”后的跳轉頁面,可通過注冊時的郵箱找回密碼,但此功能目前還未實現,只有界面。findpassword.java為其響應目錄。</p><p>  create_id.xml: 在登錄界面中點擊“創(chuàng)建新賬號”后的跳轉頁面,也還未實現其功能。create_id為其應目錄。</p><p>  main_menu.xml: 登錄后的主菜單,包括“聊天”、“聯系人”、“查找”等功能,均

11、為圖片按</p><p>  main_menu.java為其響應目錄。</p><p>  chat.xml: 在主菜單中點擊“聊天”后的聊天界面,輸入IP地址后聯系,可與進入相同服務器的用戶聊天,聊天內容顯示在對話框中。chat.java為其響應目錄。 </p><p>  profile.xml: 在主菜單中點擊“我的資料”的跳轉頁面,顯示用戶的一些信息。pr

12、ofile.java為其響應目錄。</p><p>  feedback.xml: 在主菜單中點擊“反饋我們”的跳轉頁面,用戶可在此頁面告訴我們一些意見,但此功能目前還未實現。feedback.java為其響應目錄。</p><p>  about.xml: 在主菜單中點擊“關于”的跳轉頁面,顯示一些版本信息。about.java為其響應目錄。</p><p>  

13、setting.xml: 在主菜單中點擊設置按鈕后的跳轉頁面,其內容包括“切換賬號”和“退出”。setting.java為其響應目錄。</p><p><b>  2.3操作界面</b></p><p><b>  軟件圖標:</b></p><p><b>  歡迎界面:</b></p>

14、<p><b>  登錄界面:</b></p><p><b>  忘記密碼界面:</b></p><p><b>  主菜單界面:</b></p><p><b>  聊天界面:</b></p><p><b>  正在聊天:&l

15、t;/b></p><p><b>  反饋界面:</b></p><p><b>  設置界面:</b></p><p><b>  關于界面:</b></p><p><b>  3. 實訓心得</b></p><p>

16、  經過為期兩個星期的面向對象課程設計,使我收獲了很多。面向對象設計實訓和平時上課所接觸的程序是有很大不同的,所經受的考驗和克服的困難是平時所無法比擬的。</p><p>  在這次實訓中,我對安卓語言有了一些簡單的了解,也很開心自己設計的軟件可以在手機上運行。這次的實訓,使我對安卓語言的學習產生濃厚的興趣。</p><p>  在實訓中,我們認識到自己還有很多的知識沒學好,基礎知識沒理清

17、,而且許多東西還要翻書,去上網搜索。而且遇到一些小錯誤運行不出來,就會煩躁不安,覺得有些項目很困難,以后要克服,盡量保持一顆良好的心態(tài)。</p><p>  對于未來,我覺得我還有許多方面需要提高。</p><p>  首先要繼續(xù)學習好基礎知識,然后能在電腦上熟練的運用。然后每天都能寫一些程序,上網時候多看一些優(yōu)秀的教程和優(yōu)秀的代碼。遇到問題時多和同學討論,并且多弄出幾套方案,多鍛煉自己結

18、局問題的能力和與同學合作的能力。</p><p><b>  附 錄</b></p><p><b>  源程序</b></p><p>  main.xml:歡迎界面代碼</p><p>  <?xml version="1.0" encoding="utf-

19、8"?></p><p>  <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"</p><p>  android:orientation="vertical"</p><p>  android:layout

20、_width="fill_parent"</p><p>  android:layout_height="fill_parent"></p><p>  <ImageView </p><p>  android:id="@+id/helloimage"</p><p>

21、;  android:src="@drawable/welcome"</p><p>  android:layout_width="fill_parent"</p><p>  android:layout_height="fill_parent"/></p><p>  </LinearLa

22、yout> </p><p>  password.xml:登錄界面代碼</p><p>  <?xml version="1.0" encoding="utf-8"?></p><p>  <RelativeLayout xmlns:android="http://schemas.andro

23、id.com/apk/res/android"</p><p>  android:orientation="vertical"</p><p>  android:layout_width="wrap_content"</p><p>  android:layout_height="wrap_conte

24、nt"</p><p>  android:background="@drawable/login"</p><p><b>  ></b></p><p>  <EditText </p><p>  android:id="@+id/name" </

25、p><p>  android:layout_width="300dp"</p><p>  android:layout_height="45dp" </p><p>  android:textSize="16sp"</p><p>  android:layout_centerHo

26、rizontal="true"</p><p>  android:layout_alignParentRight="true"</p><p>  android:layout_marginRight="10dip"</p><p>  android:layout_marginTop="170

27、dip"</p><p>  android:hint="點滴號/手機號/郵箱地址" /></p><p>  <EditText </p><p>  android:id="@+id/password" </p><p>  android:layout_width="

28、;300dp"</p><p>  android:layout_height="45dp" </p><p>  android:textSize="16sp"</p><p>  android:layout_below="@id/name"</p><p>  and

29、roid:layout_alignRight="@id/name"</p><p>  android:inputType="textPassword"</p><p>  android:hint="密碼" /></p><p><b>  <Button </b><

30、;/p><p>  android:id="@+id/login" </p><p>  android:layout_width="100dp"</p><p>  android:layout_height="45dp" </p><p>  android:textSize=&qu

31、ot;16sp"</p><p>  android:textColor="#1d5972" </p><p>  android:layout_below="@id/password"</p><p>  android:layout_alignRight="@id/name"</p>

32、;<p>  android:text="登錄" /></p><p>  <CheckBox </p><p>  android:id="@+id/showpassword"</p><p>  android:layout_width="wrap_content"</p

33、><p>  android:layout_height="wrap_content" </p><p>  android:layout_toLeftOf="@id/login"</p><p>  android:layout_alignLeft="@id/name"</p><p&g

34、t;  android:layout_alignBottom="@id/login"</p><p>  android:textSize="14sp"</p><p>  android:text="顯示密碼" </p><p><b>  /></b></p>

35、<p><b>  <Button </b></p><p>  android:id="@+id/forgetpassword" </p><p>  android:layout_width="wrap_content"</p><p>  android:layout_height=

36、"wrap_content" </p><p>  android:textSize="14sp"</p><p>  android:layout_below="@id/login"</p><p>  android:layout_alignLeft="@id/name"</p

37、><p>  android:layout_marginTop="5dip"</p><p>  android:background="@android:color/transparent"</p><p>  android:text="忘記密碼?" /></p><p>&l

38、t;b>  <Button </b></p><p>  android:id="@+id/createid" </p><p>  android:layout_width="wrap_content"</p><p>  android:layout_height="wrap_conten

39、t" </p><p>  android:textSize="14sp"</p><p>  android:layout_below="@id/forgetpassword"</p><p>  android:layout_alignLeft="@id/name"</p>&l

40、t;p>  android:layout_marginTop="5dip"</p><p>  android:background="@android:color/transparent"</p><p>  android:text="創(chuàng)建新賬號" /></p><p>  </Rel

41、ativeLayout></p><p>  findpassword.xml:忘記密碼界面代碼</p><p>  <?xml version="1.0" encoding="utf-8"?></p><p>  <LinearLayout xmlns:android="http://sch

42、emas.android.com/apk/res/android"</p><p>  android:orientation="vertical"</p><p>  android:layout_width="fill_parent"</p><p>  android:layout_height="f

43、ill_parent"</p><p>  android:background="#1d5972"</p><p><b>  ></b></p><p>  <EditText </p><p>  android:id="@+id/enteremail"

44、 </p><p>  android:layout_width="300dp"</p><p>  android:layout_height="45dp" </p><p>  android:textSize="15sp"</p><p>  android:layout_al

45、ignParentLeft="true"</p><p>  android:layout_marginLeft="10dip"</p><p>  android:layout_marginTop="65dp"</p><p>  android:hint="請輸入你的注冊郵箱" /&

46、gt;</p><p>  <TextView </p><p>  android:id="@+id/reset_text" </p><p>  android:layout_width="300dp"</p><p>  android:layout_height="45dp&qu

47、ot; </p><p>  android:textSize="15sp" </p><p>  android:layout_below="@id/enteremail"</p><p>  android:layout_alignParentLeft="true"</p><p&g

48、t;  android:layout_marginLeft="10dip"</p><p>  android:background="@android:color/transparent"</p><p>  android:text="密碼重置連接將發(fā)送到你注冊的郵箱,如未能收取郵件,請檢查“垃圾郵件”。" </p&

49、gt;<p><b>  /></b></p><p><b>  <Button </b></p><p>  android:id="@+id/reset"</p><p>  android:layout_width="300dp"</p>

50、<p>  android:layout_height="45dp" </p><p>  android:textSize="16sp" </p><p>  android:layout_below="@id/reset_text"</p><p>  android:layout_ali

51、gnParentLeft="true"</p><p>  android:layout_marginLeft="10dip"</p><p>  android:layout_marginTop="10dp"</p><p>  android:textColor="#1d5872"&

52、lt;/p><p>  android:text="重置密碼"/></p><p>  </LinearLayout> </p><p>  create_id.xml:創(chuàng)建新賬號界面代碼</p><p>  <?xml version="1.0" encoding="ut

53、f-8"?></p><p>  <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"</p><p>  android:orientation="vertical"</p><p>  android:layo

54、ut_width="fill_parent"</p><p>  android:layout_height="fill_parent"</p><p>  android:background="#1d5972"</p><p><b>  ></b></p>&

55、lt;p>  <TextView </p><p>  android:id="@+id/zhuce"</p><p>  android:layout_width="300dp"</p><p>  android:layout_height="wrap_content" </p>

56、<p>  android:textSize="15sp" </p><p>  android:gravity="center"</p><p>  android:layout_alignParentLeft="true"</p><p>  android:layout_marginLe

57、ft="10dp"</p><p>  android:layout_marginTop="65dp"</p><p>  android:background="@android:color/transparent"</p><p>  android:text="由于程序員技術不成熟,如需注冊

58、請上:" </p><p><b>  /></b></p><p>  <TextView </p><p>  android:layout_width="300dp"</p><p>  android:layout_height="wrap_content&

59、quot; </p><p>  android:textSize="15sp" </p><p>  android:gravity="center"</p><p>  android:layout_below="@id/zhuce"</p><p>  android:layo

60、ut_alignParentLeft="true"</p><p>  android:layout_marginLeft="10dp"</p><p>  android:background="@android:color/transparent"</p><p>  android:text=&quo

61、t;www.diandi.com" </p><p><b>  /></b></p><p>  </LinearLayout></p><p>  main_menu.xml:主菜單界面代碼</p><p>  <?xml version="1.0" enco

62、ding="utf-8"?></p><p>  <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"</p><p>  android:orientation="vertical"</p><p>

63、;  android:layout_width="wrap_content"</p><p>  android:layout_height="wrap_content"</p><p>  android:background="@drawable/background" </p><p><b&

64、gt;  ></b></p><p><b>  <Button </b></p><p>  android:id="@+id/setting" </p><p>  android:layout_width="50dp"</p><p>  androi

65、d:layout_height="32dp" </p><p>  android:layout_alignParentLeft="true"</p><p>  android:layout_marginLeft="261dp"</p><p>  android:layout_marginTop=&qu

66、ot;9dp"</p><p>  android:background="@drawable/setting"</p><p><b>  /></b></p><p><b>  <Button </b></p><p>  android:id=&qu

67、ot;@+id/chat" </p><p>  android:layout_width="250dp"</p><p>  android:layout_height="32dp" </p><p>  android:layout_centerHorizontal="true"</p&

68、gt;<p>  android:layout_marginTop="85dp"</p><p>  android:background="@drawable/chat"</p><p><b>  /></b></p><p><b>  <Button </

69、b></p><p>  android:id="@+id/contract" </p><p>  android:layout_width="250dp"</p><p>  android:layout_height="32dp"</p><p>  android:la

70、yout_below="@id/chat"</p><p>  android:layout_centerHorizontal="true"</p><p>  android:layout_marginTop="20dp"</p><p>  android:background="@drawa

71、ble/contract"</p><p><b>  /></b></p><p><b>  <Button </b></p><p>  android:id="@+id/find" </p><p>  android:layout_width=&q

72、uot;250dp"</p><p>  android:layout_height="32dp"</p><p>  android:layout_below="@id/contract"</p><p>  android:layout_centerHorizontal="true"</

73、p><p>  android:layout_marginTop="20dp"</p><p>  android:background="@drawable/find"</p><p><b>  /></b></p><p><b>  <Button <

74、;/b></p><p>  android:id="@+id/profile" </p><p>  android:layout_width="250dp"</p><p>  android:layout_height="32dp"</p><p>  android:l

75、ayout_below="@id/find"</p><p>  android:layout_centerHorizontal="true"</p><p>  android:layout_marginTop="20dp"</p><p>  android:background="@draw

76、able/profile"</p><p><b>  /></b></p><p><b>  <Button </b></p><p>  android:id="@+id/feedback" </p><p>  android:layout_widt

77、h="250dp"</p><p>  android:layout_height="32dp"</p><p>  android:layout_below="@id/profile"</p><p>  android:layout_centerHorizontal="true"&l

78、t;/p><p>  android:layout_marginTop="20dp"</p><p>  android:background="@drawable/feedback"</p><p><b>  /></b></p><p><b>  <But

79、ton </b></p><p>  android:id="@+id/about_button" </p><p>  android:layout_width="250dp"</p><p>  android:layout_height="32dp"</p><p>

80、;  android:layout_below="@id/feedback"</p><p>  android:layout_centerHorizontal="true"</p><p>  android:layout_marginTop="20dp"</p><p>  android:backgr

81、ound="@drawable/about_button"</p><p><b>  /></b></p><p>  </RelativeLayout></p><p>  chat.xml:聊天界面代碼</p><p>  <?xml version="1.0&

82、quot; encoding="utf-8"?></p><p>  <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"</p><p>  android:orientation="vertical"</p>

83、<p>  android:layout_width="wrap_content"</p><p>  android:layout_height="wrap_content"</p><p>  android:background="@drawable/chat_bg"</p><p>&

84、lt;b>  ></b></p><p><b>  <Button </b></p><p>  android:id="@+id/return_button" </p><p>  android:layout_width="50dp"</p><p&

85、gt;  android:layout_height="32dp" </p><p>  android:layout_alignParentLeft="true"</p><p>  android:layout_marginLeft="9dp"</p><p>  android:layout_marg

86、inTop="9dp"</p><p>  android:background="@drawable/return_button"</p><p><b>  /></b></p><p>  <EditText </p><p>  android:id=&quo

87、t;@+id/edit0"</p><p>  android:layout_width="135dp" </p><p>  android:layout_height="40dp" </p><p>  android:textSize="13sp"</p><p> 

88、 android:layout_below="@id/return_button"</p><p>  android:layout_alignParentLeft="true"</p><p>  android:layout_marginTop="15dp"</p><p>  android:hint

89、="IP地址" </p><p><b>  /></b></p><p>  <EditText </p><p>  android:layout_width="135dp" </p><p>  android:layout_height="40dp

90、"</p><p>  android:textSize="13sp"</p><p>  android:layout_below="@id/return_button"</p><p>  android:layout_toRightOf="@id/edit0"</p><

91、p>  android:layout_marginTop="15dp"</p><p>  android:hint="用戶名"</p><p>  android:id="@+id/edit1"</p><p><b>  /></b></p><p&

92、gt;<b>  <Button </b></p><p>  android:id="@+id/button1"</p><p>  android:layout_width="fill_parent" </p><p>  android:layout_height="40dp&qu

93、ot; </p><p>  android:textSize="13sp"</p><p>  android:textColor="#1d5972"</p><p>  android:layout_below="@id/return_button"</p><p>  andr

94、oid:layout_toRightOf="@id/edit1"</p><p>  android:layout_marginTop="15dp"</p><p>  android:text="連接" </p><p><b>  /></b></p>&

95、lt;p>  <EditText </p><p>  android:layout_width="fill_parent"</p><p>  android:layout_height="wrap_content" </p><p>  android:textSize="15sp"&

96、lt;/p><p>  android:text=""</p><p>  android:layout_below="@id/edit0"</p><p>  android:background="@android:color/transparent"</p><p>  andro

97、id:id="@+id/edit3"</p><p><b>  /></b></p><p>  <EditText </p><p>  android:layout_width="270dp" </p><p>  android:layout_height=&

98、quot;40dp" </p><p>  android:textSize="13sp"</p><p>  android:layout_alignParentLeft="true"</p><p>  android:layout_alignParentBottom="true"</p

99、><p>  android:text=""</p><p>  android:id="@+id/edit2"</p><p><b>  /> </b></p><p><b>  <Button </b></p><p&g

100、t;  android:layout_width="50dp" </p><p>  android:layout_height="40dp" </p><p>  android:textColor="#1d5972"</p><p>  android:layout_alignParentRight=&

101、quot;true"</p><p>  android:layout_alignParentBottom="true"</p><p>  android:text="發(fā)送"</p><p>  android:id="@+id/button2"</p><p><

102、b>  /></b></p><p>  </RelativeLayout></p><p>  profile.xml:我的資料界面代碼</p><p>  <?xml version="1.0" encoding="utf-8"?></p><p> 

103、 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"</p><p>  android:orientation="vertical"</p><p>  android:layout_width="fill_parent"&l

104、t;/p><p>  android:layout_height="fill_parent"</p><p>  android:background="@drawable/profile_bg"</p><p><b>  ></b></p><p><b>  &l

105、t;Button </b></p><p>  android:id="@+id/return_button" </p><p>  android:layout_width="50dp"</p><p>  android:layout_height="32dp" </p>&l

106、t;p>  android:layout_alignParentLeft="true"</p><p>  android:layout_marginLeft="9dp"</p><p>  android:layout_marginTop="9dp"</p><p>  android:backgr

107、ound="@drawable/return_button"</p><p><b>  /></b></p><p>  <ImageView </p><p>  android:id="@+id/myphoto"</p><p>  android:layout_

108、width="100dp"</p><p>  android:layout_height="100dp"/></p><p>  android:layout_below="@id/return_button"</p><p>  android:layout_alignParentLeft=&qu

109、ot;true"</p><p>  android:layout_marginLeft="10dip"</p><p>  android:layout_marginTop="25dip"</p><p>  android:src="@drawable/myphoto"</p>

110、<p><b>  /></b></p><p>  <TextView </p><p>  android:id="@+id/myname" </p><p>  android:layout_width="300dp"</p><p>  android

111、:layout_height="wrap_content" </p><p>  android:textSize="15sp"</p><p>  android:textColor="#1d5972"</p><p>  android:layout_below="@id/myphoto&qu

112、ot;</p><p>  android:layout_alignParentLeft="true"</p><p>  android:layout_marginLeft="10dip"</p><p>  android:text="昵稱 Never" /></p&

113、gt;<p>  <TextView </p><p>  android:id="@+id/mysex" </p><p>  android:layout_width="300dp"</p><p>  android:layout_height="wrap_content" <

114、;/p><p>  android:textSize="15sp"</p><p>  android:textColor="#1d5972"</p><p>  android:layout_below="@id/myname"</p><p>  android:layout_ali

115、gnParentLeft="true"</p><p>  android:layout_marginLeft="10dip"</p><p>  android:text="性別 女" /></p><p>  <TextView </p><p&g

116、t;  android:id="@+id/mycity" </p><p>  android:layout_width="300dp"</p><p>  android:layout_height="wrap_content" </p><p>  android:textSize="15sp

117、"</p><p>  android:textColor="#1d5972"</p><p>  android:layout_below="@id/mysex"</p><p>  android:layout_alignParentLeft="true"</p><p&g

118、t;  android:layout_marginLeft="10dip"</p><p>  android:text="地區(qū) 廣西" /></p><p>  </RelativeLayout></p><p>  feedback.xml:反饋我們界面代碼</p>

119、<p>  <?xml version="1.0" encoding="utf-8"?></p><p>  <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"</p><p>  android:orient

120、ation="vertical"</p><p>  android:layout_width="fill_parent"</p><p>  android:layout_height="fill_parent"</p><p>  android:background="@drawable/f

121、eedback_bg"</p><p><b>  ></b></p><p><b>  <Button </b></p><p>  android:id="@+id/return_button" </p><p>  android:layout_wi

122、dth="50dp"</p><p>  android:layout_height="32dp" </p><p>  android:layout_alignParentLeft="true"</p><p>  android:layout_marginLeft="9dp"<

123、/p><p>  android:layout_marginTop="9dp"</p><p>  android:background="@drawable/return_button"</p><p><b>  /></b></p><p>  <TextView &

124、lt;/p><p>  android:id="@+id/suggestion" </p><p>  android:layout_width="300dp"</p><p>  android:layout_height="wrap_content" </p><p>  andro

125、id:textSize="15sp"</p><p>  android:layout_below="@id/return_button"</p><p>  android:layout_alignParentLeft="true"</p><p>  android:layout_marginLeft=

126、"10dip"</p><p>  android:layout_marginTop="15dp"</p><p>  android:background="@android:color/transparent"</p><p>  android:hint="告訴我們你的意見" /&

127、gt;</p><p>  <EditText </p><p>  android:id="@+id/whitesuggestion" </p><p>  android:layout_width="300dp"</p><p>  android:layout_height="33

128、0dp" </p><p>  android:textSize="15sp" </p><p>  android:layout_below="@id/suggestion"</p><p>  android:layout_alignParentLeft="true"</p>&

129、lt;p>  android:layout_marginLeft="10dip"</p><p>  android:text="" </p><p><b>  /></b></p><p><b>  <Button </b></p><

130、p>  android:id="@+id/suggestionsend"</p><p>  android:layout_width="300dp"</p><p>  android:layout_height="45dp" </p><p>  android:textSize="16

131、sp" </p><p>  android:layout_below="@id/whitesuggestion"</p><p>  android:layout_alignParentLeft="true"</p><p>  android:layout_marginLeft="10dip"

132、</p><p>  android:textColor="#1d5872"</p><p>  android:text="發(fā)送"/></p><p>  </LinearLayout></p><p>  about.xml:關于點滴界面代碼</p><p>

133、;  <?xml version="1.0" encoding="utf-8"?></p><p>  <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"</p><p>  android:orientation=&q

134、uot;vertical"</p><p>  android:layout_width="wrap_content"</p><p>  android:layout_height="wrap_content"</p><p>  android:background="@drawable/about&q

135、uot;</p><p><b>  ></b></p><p><b>  <Button </b></p><p>  android:id="@+id/return_button" </p><p>  android:layout_width="50

136、dp"</p><p>  android:layout_height="32dp" </p><p>  android:layout_alignParentLeft="true"</p><p>  android:layout_marginLeft="9dp"</p><

137、p>  android:layout_marginTop="9dp"</p><p>  android:background="@drawable/return_button"</p><p><b>  /></b></p><p>  </LinearLayout></

138、p><p>  setting.xml:設置界面代碼</p><p>  <?xml version="1.0" encoding="utf-8"?></p><p>  <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/

139、android"</p><p>  android:orientation="vertical"</p><p>  android:layout_width="wrap_content"</p><p>  android:layout_height="wrap_content"</p&

140、gt;<p>  android:background="@drawable/background"</p><p><b>  ></b></p><p><b>  <Button </b></p><p>  android:id="@+id/return_bu

141、tton" </p><p>  android:layout_width="50dp"</p><p>  android:layout_height="32dp" </p><p>  android:layout_alignParentLeft="true"</p><p

142、>  android:layout_marginLeft="9dp"</p><p>  android:layout_marginTop="9dp"</p><p>  android:background="@drawable/return_button"</p><p><b>  /

143、></b></p><p><b>  <Button </b></p><p>  android:id="@+id/changeaccount" </p><p>  android:layout_width="250dp"</p><p>  andr

144、oid:layout_height="32dp" </p><p>  android:layout_centerHorizontal="true"</p><p>  android:layout_marginTop="85dp"</p><p>  android:background="@d

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
  • 5. 眾賞文庫僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論