Newer
Older
GreenDaoTest / app / src / main / res / layout / activity_main.xml
ubt on 2 Nov 2017 1 KB init
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    tools:context="com.bell.testgreendao.MainActivity">

    <Button
        android:id="@+id/insert_btn"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="插入一条记录"/>

    <Button
        android:id="@+id/insert_multi_btn"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="插入多条记录"/>

    <Button
        android:id="@+id/update_btn"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="更新一条记录"/>

    <Button
        android:id="@+id/delete_btn"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="删除一条记录"/>

    <Button
        android:id="@+id/delete_all_btn"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="删除全部记录"/>

    <Button
        android:id="@+id/query_btn"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="查询一条记录"/>

    <Button
        android:id="@+id/query_all_btn"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="查询全部记录"/>

    <Button
        android:id="@+id/query_native_btn"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="Native查询记录"/>


    <Button
        android:id="@+id/user_btn"
        android:layout_width="wrap_content"
        android:text="User"
        android:layout_height="wrap_content"/>

</LinearLayout>