session-android/res/layout/camera_controls_landscape.xml

34 lines
1.2 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginRight="16dp"
android:layout_marginEnd="16dp"
android:layout_gravity="right|end">
<Button
android:id="@+id/camera_capture_button"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:background="@drawable/ic_camera_shutter" />
<ImageButton
android:id="@+id/camera_flip_button"
android:layout_width="48dp"
android:layout_height="wrap_content"
2019-03-13 16:05:25 -07:00
android:layout_above="@+id/camera_capture_button"
android:layout_marginBottom="40dp"
android:layout_centerHorizontal="true"
2019-03-14 17:01:23 -07:00
android:src="@drawable/ic_switch_camera_36"
android:scaleType="fitCenter"
android:background="?selectableItemBackgroundBorderless"
android:visibility="gone"
tools:visibility="visible" />
</RelativeLayout>