1.我昨天的成就

调用了动物识别api

2.遇到什么困难

调用很顺利

3.今天的任务

android举报页面

4.代码/截屏
`

<TextView
    android:gravity="center"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:text="举报店家"
    android:textColor="@color/button"
    android:textSize="26sp">
</TextView>
<Space
    android:layout_width="match_parent"
    android:layout_height="30sp">
</Space>

<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="30sp"
    android:orientation="horizontal"
    android:gravity="center">
    <ImageView
        android:layout_width="30sp"
        android:layout_height="30sp"
        android:src="@drawable/p">
    </ImageView>
    <EditText
        android:hint="请您输入店名"
        android:background="@drawable/shape_edit"
        android:id="@+id/et_store"
        android:layout_width="200dp"
        android:layout_height="wrap_content">
    </EditText>
</LinearLayout>
<Space
    android:layout_width="match_parent"
    android:layout_height="30sp">
</Space>
<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="30sp"
    android:orientation="horizontal"
    android:gravity="center">
    <ImageView
        android:layout_width="30sp"
        android:layout_height="30sp"
        android:src="@drawable/home">
    </ImageView>
    <EditText
        android:hint="请您输入地址"
        android:background="@drawable/shape_edit"
        android:id="@+id/et_location"
        android:layout_width="200dp"
        android:layout_height="wrap_content">
    </EditText>
</LinearLayout>

<Space
    android:layout_width="match_parent"
    android:layout_height="30sp">
</Space>

<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="30sp"
    android:orientation="horizontal"
    android:gravity="center">
    <ImageView
        android:layout_width="30sp"
        android:layout_height="30sp"
        android:src="@drawable/people">
    </ImageView>

    <EditText
        android:hint="请您输入姓名"
        android:background="@drawable/shape_edit"
        android:id="@+id/et_name"
        android:layout_width="200dp"
        android:layout_height="wrap_content">
    </EditText>
</LinearLayout>
<Space
    android:layout_width="match_parent"
    android:layout_height="30sp">
</Space>

<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="30sp"
    android:orientation="horizontal"
    android:gravity="center">
    <ImageView
        android:layout_width="30sp"
        android:layout_height="30sp"
        android:src="@drawable/phone">
    </ImageView>
    <EditText
        android:hint="请输入8位手机号"
        android:background="@drawable/shape_edit"
        android:id="@+id/et_phone"
        android:layout_width="200dp"
        android:layout_height="wrap_content">
    </EditText>
</LinearLayout>


<TextView
    android:layout_width="match_parent"
    android:layout_height="30sp"/>
<android.widget.Button
    android:layout_gravity="center"
    android:background="@drawable/shape_button"
    android:id="@+id/bt_submit"
    android:layout_width="wrap_content"
    android:layout_height="30sp"
    android:text="点击提交">
</android.widget.Button>

`

posted on 2024-04-25 20:54  leapss  阅读(5)  评论(0)    收藏  举报