<?xml version="1.0" encoding="utf-8"?>
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:orientation="vertical" android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<SurfaceView
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:id="@+id/surfaceview"/>
|
<Button
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="bottom|left"
|
android:id="@+id/btn_amplify"
|
android:background="@drawable/btn_state_save"
|
android:text="放大"/>
|
<Button
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="bottom|left"
|
android:id="@+id/btn_reduce"
|
android:background="@drawable/btn_state_save"
|
android:layout_marginLeft="120dp"
|
android:text="缩小"/>
|
</FrameLayout>
|