|
|
@ -3,180 +3,37 @@ |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:background="@android:color/white"> |
|
|
|
android:background="@android:color/white"> |
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:orientation="vertical"> |
|
|
|
android:orientation="vertical"> |
|
|
|
|
|
|
|
|
|
|
|
<FrameLayout |
|
|
|
<ImageView |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:id="@+id/image" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView |
|
|
|
|
|
|
|
android:id="@+id/image" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:layout_gravity="center_horizontal" |
|
|
|
|
|
|
|
android:adjustViewBounds="true" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</FrameLayout> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:orientation="vertical" |
|
|
|
android:layout_gravity="center_horizontal" |
|
|
|
android:padding="16dp"> |
|
|
|
android:adjustViewBounds="true" /> |
|
|
|
|
|
|
|
|
|
|
|
<FrameLayout |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:layout_marginTop="16dp"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<View |
|
|
|
|
|
|
|
android:layout_width="2.5dp" |
|
|
|
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
|
|
|
android:background="@color/colorPrimary" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:layout_marginLeft="10dp" |
|
|
|
|
|
|
|
android:orientation="vertical"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:layout_marginLeft="3dp" |
|
|
|
|
|
|
|
android:text="NATIVE CAPTURE RESOLUTION" |
|
|
|
|
|
|
|
android:textColor="@android:color/black" |
|
|
|
|
|
|
|
android:textSize="18sp" |
|
|
|
|
|
|
|
android:textStyle="bold" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
|
|
|
android:id="@+id/nativeCaptureResolution" |
|
|
|
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:layout_marginLeft="3dp" |
|
|
|
|
|
|
|
android:textColor="@android:color/black" |
|
|
|
|
|
|
|
android:textSize="14.5sp" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</FrameLayout> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<FrameLayout |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:layout_marginTop="24dp"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<View |
|
|
|
|
|
|
|
android:layout_width="2.5dp" |
|
|
|
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
|
|
|
android:background="@color/colorPrimary" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:layout_marginLeft="10dp" |
|
|
|
|
|
|
|
android:orientation="vertical"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:layout_marginLeft="3dp" |
|
|
|
|
|
|
|
android:text="ACTUAL RESOLUTION" |
|
|
|
|
|
|
|
android:textColor="@android:color/black" |
|
|
|
|
|
|
|
android:textSize="18sp" |
|
|
|
|
|
|
|
android:textStyle="bold" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
|
|
|
android:id="@+id/actualResolution" |
|
|
|
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:layout_marginLeft="3dp" |
|
|
|
|
|
|
|
android:textColor="@android:color/black" |
|
|
|
|
|
|
|
android:textSize="14.5sp" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
<com.otaliastudios.cameraview.demo.MessageView |
|
|
|
|
|
|
|
android:id="@+id/nativeCaptureResolution" |
|
|
|
</FrameLayout> |
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content"/> |
|
|
|
<FrameLayout |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:layout_marginTop="24dp"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<View |
|
|
|
|
|
|
|
android:layout_width="2.5dp" |
|
|
|
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
|
|
|
android:background="@color/colorPrimary" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:layout_marginLeft="10dp" |
|
|
|
|
|
|
|
android:orientation="vertical"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:layout_marginLeft="3dp" |
|
|
|
|
|
|
|
android:text="APPROX. UNCOMPRESSED SIZE" |
|
|
|
|
|
|
|
android:textColor="@android:color/black" |
|
|
|
|
|
|
|
android:textSize="18sp" |
|
|
|
|
|
|
|
android:textStyle="bold" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
|
|
|
android:id="@+id/approxUncompressedSize" |
|
|
|
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:layout_marginLeft="3dp" |
|
|
|
|
|
|
|
android:textColor="@android:color/black" |
|
|
|
|
|
|
|
android:textSize="14.5dp" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</FrameLayout> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<FrameLayout |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:layout_marginTop="24dp"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<View |
|
|
|
|
|
|
|
android:layout_width="2.5dp" |
|
|
|
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
|
|
|
android:background="@color/colorPrimary" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:layout_marginLeft="10dp" |
|
|
|
|
|
|
|
android:orientation="vertical"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:layout_marginLeft="3dp" |
|
|
|
|
|
|
|
android:text="CAPTURE LATENCY" |
|
|
|
|
|
|
|
android:textColor="@android:color/black" |
|
|
|
|
|
|
|
android:textSize="18sp" |
|
|
|
|
|
|
|
android:textStyle="bold" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
|
|
|
android:id="@+id/captureLatency" |
|
|
|
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:layout_marginLeft="3dp" |
|
|
|
|
|
|
|
android:textColor="@android:color/black" |
|
|
|
|
|
|
|
android:textSize="14.5sp" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
<com.otaliastudios.cameraview.demo.MessageView |
|
|
|
|
|
|
|
android:id="@+id/actualResolution" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content"/> |
|
|
|
|
|
|
|
|
|
|
|
</FrameLayout> |
|
|
|
<com.otaliastudios.cameraview.demo.MessageView |
|
|
|
|
|
|
|
android:id="@+id/approxUncompressedSize" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content"/> |
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
<com.otaliastudios.cameraview.demo.MessageView |
|
|
|
|
|
|
|
android:id="@+id/captureLatency" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content"/> |
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
|
|