直播软件app开发,实现一个基础版的登录界面

直播软件app开发,实现一个基础版的登录界面

 

1
<?xml version="1.0" encoding="utf-8"?><br><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"<br>    android:layout_width="match_parent"<br>    android:layout_height="wrap_content"<br>    xmlns:tools="http://schemas.android.com/tools"<br>    android:orientation="vertical"<br>    tools:context=".MainActivity"<br>    android:padding="20dp"<br>    ><br>    <TextView<br>        android:layout_width="match_parent"<br>        android:layout_height="match_parent"<br>        android:text="欢迎使用本登录界面"<br>        android:layout_marginTop="50dp"<br>        android:layout_marginLeft="70dp"<br>        android:textColor="@color/purple_500"<br>        android:textSize="25dp"<br>        ></TextView><br>    <EditText<br>        android:layout_width="match_parent"<br>        android:layout_height="wrap_content"<br>        android:hint="请输入账号"<br>        android:layout_marginTop="20dp"<br>        ></EditText><br>    <EditText<br>        android:layout_width="match_parent"<br>        android:layout_height="wrap_content"<br>        android:hint="请输入密码"<br>        android:layout_marginTop="20dp"<br>        ></EditText><br>    <Button<br>        android:layout_width="wrap_content"<br>        android:layout_height="wrap_content"<br>        android:layout_weight="1"<br>        android:text="登录"<br>        android:layout_marginTop="16dp"<br>        android:layout_marginLeft="140dp"<br>        /><br>    <ImageView<br>        android:layout_width="match_parent"<br>        android:layout_height="match_parent"<br>        android:scaleType="centerCrop"<br>        android:background="@drawable/img02"<br>        ></ImageView><br></LinearLayout><br>    <!--orientation:横向/纵向--><br>    <!--默认情况为 horizontal 横向<br>    此处布局使用 vertival:垂直/纵向-->

以上就是 直播软件app开发,实现一个基础版的登录界面,更多内容欢迎关注之后的文章

 

posted @   云豹科技-苏凌霄  阅读(159)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· ollama系列01:轻松3步本地部署deepseek,普通电脑可用
· 25岁的心里话
· 按钮权限的设计及实现
点击右上角即可分享
微信分享提示