<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical"
|
>
|
|
<FrameLayout
|
android:id="@+id/tuya_layout"
|
android:layout_width="fill_parent"
|
android:layout_height="0dp"
|
android:layout_weight="1"
|
>
|
|
<ImageView
|
android:id="@+id/imageview_background"
|
android:layout_width="fill_parent"
|
android:layout_height="match_parent"
|
android:layout_gravity="center_vertical"
|
android:background="@color/white" />
|
|
<cn.flightfeather.thirdapp.view.TuyaView
|
android:id="@+id/tuyaView"
|
android:layout_width="fill_parent"
|
android:layout_height="match_parent"
|
android:layout_gravity="center_horizontal|bottom"
|
android:background="@android:color/transparent" />
|
|
</FrameLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_below="@+id/tuya_layout"
|
android:orientation="horizontal"
|
|
>
|
|
<Button
|
android:id="@+id/btn_undo"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_horizontal|bottom"
|
android:onClick="onClick"
|
android:layout_weight="1"
|
android:textColor="@android:color/white"
|
android:text="撤销"
|
/>
|
|
<Button
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:textColor="@android:color/white"
|
android:text="@string/save"
|
android:id="@+id/btn_save"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|