成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

Android UI設(shè)計模式

移動開發(fā) Android
UI設(shè)計則是指對軟件的人機(jī)交互、操作邏輯、界面美觀的整體設(shè)計。好的UI設(shè)計不僅是讓軟件變得有個性有品味,還要讓軟件的操作變得舒適、簡單、自由、充分體現(xiàn)軟件的定位和特點。

home.xml

  1. <?xml version="1.0" encoding="utf-8"?> 
  2. <merge xmlns:android="http://schemas.android.com/apk/res/android">     
  3.   <include  layout="@layout/background" /> 
  4.      <LinearLayout 
  5.         android:orientation="vertical" 
  6.         android:layout_width="fill_parent" 
  7.         android:layout_height="fill_parent"> 
  8.      <include layout="@layout/navigator" /> 
  9.   <include layout="@layout/list" 
  10.      android:layout_width="fill_parent" 
  11.      android:layout_height="fill_parent" 
  12.      android:layout_weight="1.0" /> 
  13.   <include layout="@layout/tab" /> 
  14.  </LinearLayout> 
  15. </merge> 

background.xml

  1. <?xml version="1.0" encoding="utf-8"?> 
  2.     <ImageView xmlns:android="http://schemas.android.com/apk/res/android" 
  3.     android:id="@+id/background" 
  4.     android:layout_width="fill_parent" 
  5.     android:layout_height="fill_parent" 
  6.     android:scaleType="fitXY" 
  7.     android:background="@color/background"   
  8. /> 

navigator.xml

  1. <?xml version="1.0" encoding="utf-8"?> 
  2.    <RelativeLayout 
  3.       android:layout_width="fill_parent" 
  4.       android:layout_height="64dp" 
  5.       android:gravity="center_vertical"   
  6.       style="@android:style/ButtonBar"> 
  7.  <Button    
  8.       android:id="@+id/button_back"   
  9.       android:layout_width="wrap_content" 
  10.       android:layout_height="40dp" 
  11.       android:text="@string/back" /> 
  12.  <Button   
  13.       android:id="@+id/button_home"   
  14.       android:layout_width="wrap_content" 
  15.       android:layout_height="40dp" 
  16.       android:layout_alignParentRight="true" />   
  17. <TextView    
  18.       android:id="@android:id/title"   
  19.       android:layout_width="fill_parent"   
  20.       android:layout_height="wrap_content" 
  21.       android:layout_toRightOf="@id/button_back" 
  22.       android:layout_toLeftOf="@id/button_home" 
  23.       android:gravity="center" 
  24.       android:singleLine="true" 
  25.       android:ellipsize="marquee" 
  26.       android:textAppearance="?android:attr/textAppearanceMedium" />      
  27. </RelativeLayout> 

list.xml

 

tab.xml

  1. <?xml version="1.0" encoding="utf-8"?> 
  2. <LinearLayout   
  3.    xmlns:android="http://schemas.android.com/apk/res/android"   
  4.    android:layout_width="fill_parent"   
  5.    android:layout_height="?android:attr/listPreferredItemHeight"> 
  6. <ImageButton    
  7.    android:id="@+id/tab_profile" 
  8.    android:layout_width="wrap_content"   
  9.    android:layout_height="wrap_content" 
  10.    android:src="@drawable/tab_profile" 
  11.    android:layout_weight="1.0" 
  12.    android:background="@drawable/bg_btn" />   
  13. <ImageButton   
  14.    android:id="@+id/tab_friends" 
  15.    android:layout_width="wrap_content" 
  16.    android:layout_height="wrap_content" 
  17.    android:layout_weight="1.0" 
  18.    android:src="@drawable/tab_friends" 
  19.    android:background="@drawable/bg_btn" /> 
  20. <ImageButton   
  21.   android:id="@+id/tab_games"   
  22.   android:layout_width="wrap_content" 
  23.   android:layout_height="wrap_content" 
  24.   android:layout_weight="1.0" 
  25.   android:src="@drawable/tab_games"   
  26.   android:background="@drawable/bg_btn" /> 
  27. </LinearLayout> 

【編輯推薦】

谷歌Android UI設(shè)計技巧:框架特性

谷歌Android UI設(shè)計技巧:新的UI設(shè)計模式

谷歌Android UI設(shè)計技巧:優(yōu)秀UI設(shè)計準(zhǔn)則

責(zé)任編輯:zhaolei 來源: 網(wǎng)絡(luò)轉(zhuǎn)載
相關(guān)推薦

2011-05-28 15:14:06

設(shè)計技巧UIAndroid

2011-09-14 10:29:23

Android UI設(shè)

2012-03-01 20:14:25

Android UI

2011-05-28 12:19:33

設(shè)計技巧UIAndroid

2013-11-26 16:09:34

Android設(shè)計模式

2013-11-26 15:48:53

Android設(shè)計模式SDK

2010-02-04 13:30:49

Android UI元

2016-03-28 10:23:11

Android設(shè)計單例

2013-11-26 16:20:26

Android設(shè)計模式

2013-11-26 17:00:08

Android設(shè)計模式

2013-11-26 17:15:13

Android設(shè)計模式

2011-05-28 14:25:57

設(shè)計技巧UIAndroid

2011-09-13 16:39:50

Android UI設(shè)

2013-11-26 17:09:57

Android設(shè)計模式

2013-11-26 16:29:22

Android設(shè)計模式

2013-11-26 16:39:21

Android設(shè)計模式

2013-11-26 15:44:25

Android設(shè)計模式

2010-09-02 14:47:40

UIAndroid

2021-02-01 10:01:58

設(shè)計模式 Java單例模式

2010-09-28 09:07:58

Android UIAndroid
點贊
收藏

51CTO技術(shù)棧公眾號

主站蜘蛛池模板: 一级毛片在线播放 | 欧美亚洲高清 | 能免费看的av | 欧美一区二区在线播放 | 香蕉久久久久久 | 欧美精品一级 | 精品国产第一区二区三区 | 狠狠躁夜夜躁人人爽天天高潮 | 97国产一区二区精品久久呦 | 欧美电影在线观看网站 | 欧美激情综合 | 国产成人99久久亚洲综合精品 | chinese中国真实乱对白 | 欧美一级片在线看 | 亚洲最大福利网 | 国产成人综合在线 | 亚洲精品一区二区三区中文字幕 | 国产精品久久久久一区二区三区 | 精品国产一区二区在线 | 精品成人在线视频 | 日韩欧美在线视频播放 | 亚洲国产一区二区在线 | 精品国产乱码久久久久久蜜退臀 | 久久一| 91视频中文 | www.国产视频 | 看av片网站 | 亚洲精品第一页 | 午夜视频网 | 天天天天天天天干 | 国产精品资源在线 | 综合欧美亚洲 | 国产欧美在线视频 | 91欧美| 欧美成人一级视频 | 国产美女久久 | 亚洲一卡二卡 | 亚洲一区二区精品视频 | 国产一区二区三区在线 | 精品国产欧美一区二区三区成人 | 国产精品久久久久一区二区三区 |