2024/04/23

Android stdiod实现结合数据库的登陆和注册功能:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/bg"
>

<AbsoluteLayout
android:layout_width="match_parent"
android:layout_height="211dp">


<LinearLayout
android:layout_width="match_parent"
android:layout_height="57dp"
android:orientation="horizontal" >
<TextureView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:test="账号:"
android:textSize="27dp"
android:textColor="@android:color/background_dark"></TextureView>
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="number"
android:hint="请输入">


</LinearLayout>

<TextureView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_x="-4dp"
android:layout_y="12dp"
android:gravity="center"
android:text="打卡界面"
android:textColor="@android:color/background_light"
android:textSize="42dp"></TextureView>

posted @   新晋软工小白  阅读(7)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
点击右上角即可分享
微信分享提示