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 @ 2024-02-16 16:17  新晋软工小白  阅读(12)  评论(0)    收藏  举报