mirror of
https://gitee.com/shuto/customCamera.git
synced 2026-05-02 00:07:24 +08:00
27 lines
1.0 KiB
XML
27 lines
1.0 KiB
XML
<RelativeLayout 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:paddingBottom="@dimen/activity_vertical_margin"
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
|
tools:context="org.geneanet.customcamera.MainActivity" >
|
|
|
|
<TextView
|
|
android:id="@+id/textView1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/hello_world" />
|
|
|
|
<Button
|
|
android:id="@+id/capture"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignLeft="@+id/textView1"
|
|
android:layout_below="@+id/textView1"
|
|
android:layout_marginTop="18dp"
|
|
android:onClick="startCamera"
|
|
android:text="@string/start_custom_camera" />
|
|
|
|
</RelativeLayout> |