Android用戶注冊界面
推薦閱讀:Android如何通過手機(jī)獲取驗(yàn)證碼來完成注冊功能
先給大家展示下界面效果圖,感覺滿意,請參考實(shí)現(xiàn)代碼。

Main.xml源碼
<?xml version="1.0" encoding="utf-8"?> <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:stretchColumns="1" android:background="@drawable/bluesky" > <!-- 賬號 --> <TableRow> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="賬號:" android:textSize="16sp" /> <EditText android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="手機(jī)號" android:selectAllOnFocus="true" /> </TableRow> <!-- 密碼 --> <TableRow> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="密碼:" android:textSize="16sp" /> <EditText android:layout_width="match_parent" android:layout_height="wrap_content" android:inputType="numberPassword" /> </TableRow> <!-- 生日 --> <TableRow> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="生日:" android:textSize="16sp" /> <EditText android:layout_width="match_parent" android:layout_height="wrap_content" android:inputType="date" /> </TableRow> <!-- 住址 --> <TableRow> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="住址:" android:textSize="16sp" /> <EditText android:layout_width="match_parent" android:layout_height="wrap_content" android:inputType="textPostalAddress" /> </TableRow> <!-- 電子郵箱 --> <TableRow> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="電子郵箱:" android:textSize="16sp" /> <EditText android:layout_width="match_parent" android:layout_height="wrap_content" android:inputType="textEmailAddress" /> </TableRow> <!-- 注冊 --> <TableRow> <Button android:layout_width="match_parent" android:layout_height="wrap_content" android:text="注冊" /> </TableRow> </TableLayout>
到此關(guān)于Android用戶注冊界面的全部代碼就給大家介紹完了,代碼有bug歡迎提出,小編會及時(shí)和大家聯(lián)系,共同學(xué)習(xí)進(jìn)步!
相關(guān)文章
Android使用PullToRefresh實(shí)現(xiàn)上拉加載和下拉刷新效果的代碼
這篇文章主要介紹了Android使用PullToRefresh實(shí)現(xiàn)上拉加載和下拉刷新效果 的相關(guān)資料,需要的朋友可以參考下2016-07-07
Android編程實(shí)現(xiàn)動畫自動播放功能
這篇文章主要介紹了Android編程實(shí)現(xiàn)動畫自動播放功能,結(jié)合實(shí)例形式分析了Android動畫自動播放功能的實(shí)現(xiàn)方法與相關(guān)注意事項(xiàng),需要的朋友可以參考下2017-07-07
Android Studio下的APP目錄結(jié)構(gòu)詳解
這篇文章主要介紹了AndroidStudio下的APP目錄結(jié)構(gòu),本文給大家介紹的非常詳細(xì),對大家的學(xué)習(xí)或工作具有一定的參考借鑒價(jià)值,需要的朋友可以參考下2020-05-05
講解Android中的Widget及AppWidget小工具的創(chuàng)建實(shí)例
這篇文章主要介紹了講解Android中的Widget及Widget的創(chuàng)建實(shí)例,文中的例子展示了通過RemoteView來溝通AppWidgetProvider與AppWidgetHostView的方法,需要的朋友可以參考下2016-03-03
Android實(shí)現(xiàn)底部圖片選擇Dialog
這篇文章主要為大家詳細(xì)介紹了Android實(shí)現(xiàn)底部圖片選擇Dialog,具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下2017-10-10
詳解Android自定義控件屬性TypedArray以及attrs
這篇文章主要為大家介紹了android自定義控件屬性TypedArray以及attrs,感興趣的小伙伴們可以參考一下2016-01-01
Flutter彈性布局Flex水平排列Row垂直排列Column使用示例
這篇文章主要為大家介紹了Flutter彈性布局Flex水平排列Row垂直排列Column使用示例詳解,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進(jìn)步,早日升職加薪2023-08-08
詳解Android中的MVP架構(gòu)分解和實(shí)現(xiàn)
本篇文章主要介紹了詳解Android中的MVP架構(gòu)分解和實(shí)現(xiàn),小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,也給大家做個(gè)參考。一起跟隨小編過來看看吧2017-02-02

