簡易登錄界面

image.png

(圖片自己設(shè)小點)
<?xml version="1.0" encoding="utf-8"?>
xml

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    tools:context=".MainActivity">

    <EditText
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingBottom="20dp"
        android:hint="QQ號/微信號/Email"
        android:drawableLeft="@mipmap/zhanghao"

        />
    <EditText
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingBottom="20dp"
        android:hint="密碼"
        android:drawableLeft="@mipmap/mima"

        />
    <Button
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="登錄"
        android:textColor="#FFFFFFFF"
        android:background="#FF009688"
        />
    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="登錄遇到問題?"
        android:gravity="center_horizontal"
        android:paddingTop="20dp"
        />
</LinearLayout>
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • perl: warning: Falling back to a fallback locale ("en_US....
    keaidelele閱讀 1,088評論 0 50
  • 先上效果圖。 接下來你將學(xué)習(xí):將光標(biāo)定位于任何位置,以及輸入密碼時用星號代替。 首先我們需要對控制臺的窗口有所了解...
    mysterism閱讀 598評論 0 0
  • pyspark.sql模塊 模塊上下文 Spark SQL和DataFrames的重要類: pyspark.sql...
    mpro閱讀 9,920評論 0 13
  • mean to add the formatted="false" attribute?.[ 46% 47325/...
    ProZoom閱讀 3,205評論 0 3
  • 轉(zhuǎn)載自Keegan小鋼并標(biāo)明原文鏈接:http://keeganlee.me/post/android/20150...
    堅持編程_lyz閱讀 1,267評論 0 1

友情鏈接更多精彩內(nèi)容