狠狠色丁香婷婷综合尤物/久久精品综合一区二区三区/中国有色金属学报/国产日韩欧美在线观看 - 国产一区二区三区四区五区tv

LOGO OA教程 ERP教程 模切知識(shí)交流 PMS教程 CRM教程 開(kāi)發(fā)文檔 其他文檔  
 
網(wǎng)站管理員

Android 開(kāi)發(fā)即時(shí)聊天工具 YQ :(二) 完成登陸界面

admin
2013年2月25日 14:17 本文熱度 4633

先上圖:



 

界面是仿QQ 安卓客戶(hù)端的,參考了網(wǎng)上的代碼,圖片素材直接解壓安卓手機(jī)QQ就有了


代碼很簡(jiǎn)單就一個(gè)布局文件





[html]


  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"  

  2.     android:layout_width="match_parent"  

  3.     android:layout_height="match_parent"  

  4.     android:background="@drawable/default_bg"  

  5.     android:orientation="vertical" >  

  6.     <RelativeLayout android:layout_width="fill_parent"  

  7.         android:layout_height="wrap_content"  

  8.         android:layout_marginTop="60dip"  

  9.         android:layout_marginLeft="15dip"  

  10.         android:layout_marginRight="15dip"  

  11.         android:background="@drawable/login_bg" >  

  12.         <!-- 頭像背景和頭像 -->  

  13.         <ImageView android:id="@+id/iv_head"  

  14.             android:layout_width="wrap_content"   

  15.             android:layout_height="wrap_content"  

  16.             android:background="@drawable/login_head"/>  

  17.         <EditText android:id="@+id/et_account"  

  18.             android:layout_width="fill_parent"    

  19.             android:layout_height="wrap_content"  

  20.             android:inputType="number"  

  21.             android:maxLength="10"  

  22.             android:textSize="16sp"  

  23.             android:hint="輸入賬號(hào)"  

  24.             android:background="@drawable/input_login"  

  25.             android:layout_marginTop="5.0dip"  

  26.             android:layout_toRightOf="@+id/iv_head"/>  

  27.         <!-- 密碼 -->  

  28.         <EditText android:id="@+id/et_password"  

  29.             android:layout_width="match_parent"    

  30.             android:layout_height="wrap_content"  

  31.             android:textSize="16sp"  

  32.             android:inputType="textPassword"  

  33.             android:maxLength="16"  

  34.             android:background="@drawable/input_login"  

  35.             android:layout_below="@+id/et_account"  

  36.             android:layout_toRightOf="@+id/iv_head"/>  

  37.         <CheckBox  

  38.             android:id="@+id/cb_remember"  

  39.             android:layout_width="match_parent"  

  40.             android:layout_height="wrap_content"  

  41.             android:text="記住密碼"  

  42.             android:checked="true"  

  43.             android:button="@drawable/cb_check"  

  44.             android:layout_alignBaseline="@+id/btn_login"/>  

  45.         <Button  

  46.             android:id="@+id/btn_login"  

  47.             android:layout_width="100dip"  

  48.             android:layout_height="38dip"  

  49.             android:layout_alignParentRight="true"  

  50.             android:layout_below="@+id/et_password"  

  51.             android:layout_marginRight="12.0dip"  

  52.             android:layout_marginTop="15dip"  

  53.             android:textSize="16sp"  

  54.             android:text="登錄" />  

  55.     </RelativeLayout>  

  56.     <TableLayout android:layout_width="match_parent"  

  57.         android:layout_height="wrap_content"  

  58.         android:layout_marginLeft="20.0dip"   

  59.         android:layout_marginRight="20.0dip"  

  60.         android:stretchColumns="1">  

  61.         <TableRow>  

  62.             <CheckBox android:id="@+id/cb_hideLogin"  

  63.                 android:layout_width="wrap_content"   

  64.                 android:layout_height="wrap_content"   

  65.                 style="@style/checkBox"  

  66.                 android:text="隱身登錄"/>  

  67.             <CheckBox android:id="@+id/cb_openVibra"  

  68.                 android:layout_gravity="right"  

  69.                 android:layout_width="wrap_content"   

  70.                 android:layout_height="wrap_content"   

  71.                 style="@style/checkBox"  

  72.                 android:text="開(kāi)啟震動(dòng)"/>  

  73.             </TableRow>  

  74.             <TableRow>  

  75.             <CheckBox android:id="@+id/cb_acceptGroupMsg"  

  76.                 android:layout_width="wrap_content"   

  77.                 android:layout_height="wrap_content"   

  78.                 style="@style/checkBox"  

  79.                 android:text="接收群消息"/>  

  80.             <CheckBox android:id="@+id/cb_silent"  

  81.                 android:layout_gravity="right"  

  82.                 android:layout_width="wrap_content"   

  83.                 android:layout_height="wrap_content"   

  84.                 style="@style/checkBox"  

  85.                 android:text="靜音登錄"/>  

  86.             </TableRow>  

  87.     </TableLayout>  

  88. </LinearLayout>  


該文章在 2013/2/25 14:17:18 編輯過(guò)
關(guān)鍵字查詢(xún)
相關(guān)文章
正在查詢(xún)...
點(diǎn)晴ERP是一款針對(duì)中小制造業(yè)的專(zhuān)業(yè)生產(chǎn)管理軟件系統(tǒng),系統(tǒng)成熟度和易用性得到了國(guó)內(nèi)大量中小企業(yè)的青睞。
點(diǎn)晴PMS碼頭管理系統(tǒng)主要針對(duì)港口碼頭集裝箱與散貨日常運(yùn)作、調(diào)度、堆場(chǎng)、車(chē)隊(duì)、財(cái)務(wù)費(fèi)用、相關(guān)報(bào)表等業(yè)務(wù)管理,結(jié)合碼頭的業(yè)務(wù)特點(diǎn),圍繞調(diào)度、堆場(chǎng)作業(yè)而開(kāi)發(fā)的。集技術(shù)的先進(jìn)性、管理的有效性于一體,是物流碼頭及其他港口類(lèi)企業(yè)的高效ERP管理信息系統(tǒng)。
點(diǎn)晴WMS倉(cāng)儲(chǔ)管理系統(tǒng)提供了貨物產(chǎn)品管理,銷(xiāo)售管理,采購(gòu)管理,倉(cāng)儲(chǔ)管理,倉(cāng)庫(kù)管理,保質(zhì)期管理,貨位管理,庫(kù)位管理,生產(chǎn)管理,WMS管理系統(tǒng),標(biāo)簽打印,條形碼,二維碼管理,批號(hào)管理軟件。
點(diǎn)晴免費(fèi)OA是一款軟件和通用服務(wù)都免費(fèi),不限功能、不限時(shí)間、不限用戶(hù)的免費(fèi)OA協(xié)同辦公管理系統(tǒng)。
Copyright 2010-2025 ClickSun All Rights Reserved