<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:id="@+id/root"
    android:foreground="@drawable/onfido_secondary_button_border"
    android:layout_height="wrap_content">

    <Button
        android:id="@+id/buttonText"
        style="?android:attr/borderlessButtonStyle"
        android:textSize="@dimen/onfido_flat_button_text_size"
        android:lineSpacingExtra="@dimen/onfido_flat_button_text_line_spacing_extra"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@drawable/onfido_start_button_white"
        android:ellipsize="end"
        android:fontFamily="sans-serif"
        android:paddingLeft="@dimen/onfido_confirmation_buttons_inner_margin_horizontal"
        android:paddingTop="@dimen/onfido_confirmation_buttons_inner_margin_vertical"
        android:paddingRight="@dimen/onfido_confirmation_buttons_inner_margin_horizontal"
        android:paddingBottom="@dimen/onfido_confirmation_buttons_inner_margin_vertical"
        android:textAllCaps="false"
        android:textColor="@color/onfidoPrimaryButtonTextColor"
        tools:text="Take a new picture" />
</FrameLayout>