每日打卡

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 @ 2023-03-15 21:47  云边上打盹  阅读(38)  评论(0)    收藏  举报