|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:context=".Camera2RawFragment">
|
|
|
|
|
|
|
|
<com.xypower.camera2raw.AutoFitTextureView
|
|
|
|
android:id="@+id/texture"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:background="@color/white"
|
|
|
|
android:id="@+id/baoguang"
|
|
|
|
android:layout_width="100dp"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:layout_marginLeft="20dp"
|
|
|
|
android:hint="曝光 单位 微秒"
|
|
|
|
android:textColor="@color/black"
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:background="@color/white"
|
|
|
|
android:id="@+id/iso"
|
|
|
|
android:layout_width="100dp"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:layout_marginLeft="20dp"
|
|
|
|
android:hint="ISO"
|
|
|
|
android:textColor="@color/black"
|
|
|
|
app:layout_constraintLeft_toRightOf="@id/baoguang"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/takepic"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="20dp"
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:text="拍照"
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/iso" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/tojpg"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="20dp"
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:text="转jpg"
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/takepic" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|