blob: 006a8e75ccba010de342dd9b7657d2e4e6116892 [file] [log] [blame]
Loïc Sireteaafc6b2017-09-27 11:18:54 -04001<?xml version="1.0" encoding="utf-8"?>
2<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
Pierre Duchemina5529292017-12-18 17:25:54 -05003 xmlns:app="http://schemas.android.com/apk/res-auto"
4 android:layout_width="match_parent"
5 android:layout_height="match_parent">
Loïc Sireteaafc6b2017-09-27 11:18:54 -04006
7 <FrameLayout
8 android:id="@+id/camera_preview"
Pierre Duchemina5529292017-12-18 17:25:54 -05009 android:layout_width="match_parent"
10 android:layout_height="match_parent" />
Loïc Sireteaafc6b2017-09-27 11:18:54 -040011
Adrien Béraud8bc95102018-08-25 22:34:51 -040012 <com.google.android.material.floatingactionbutton.FloatingActionButton
Loïc Sireteaafc6b2017-09-27 11:18:54 -040013 android:id="@+id/button_capture"
14 android:layout_width="wrap_content"
15 android:layout_height="wrap_content"
Pierre Duchemina5529292017-12-18 17:25:54 -050016 android:layout_alignParentBottom="true"
17 android:layout_centerHorizontal="true"
Loïc Sireteaafc6b2017-09-27 11:18:54 -040018 android:contentDescription="@string/action_call_decline"
Pierre Duchemina5529292017-12-18 17:25:54 -050019 android:padding="16dp"
Loïc Sireteaafc6b2017-09-27 11:18:54 -040020 app:backgroundTint="@color/holo_green_dark"
Loïc Sireteaafc6b2017-09-27 11:18:54 -040021 app:rippleColor="@android:color/white"
Pierre Ducheminc0842a02018-01-15 10:43:53 -050022 app:srcCompat="@drawable/ic_photo_camera"
Pierre Duchemina5529292017-12-18 17:25:54 -050023 app:useCompatPadding="true" />
Loïc Sireteaafc6b2017-09-27 11:18:54 -040024</RelativeLayout>