<?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:layout_height="wrap_content"
	android:paddingLeft="16dp"
	android:paddingRight="16dp"
	android:paddingTop="5dp"
	android:paddingBottom="5dp"
	android:clipToPadding="false">

	<LinearLayout
		android:id="@+id/button"
		android:layout_width="match_parent"
		android:layout_height="48dp"
		android:outlineProvider="background"
		android:elevation="2dp"
		android:background="@drawable/bg_poll_option_clickable"
		android:duplicateParentState="true"
		android:layoutDirection="locale">

		<ImageView
			android:id="@+id/icon"
			android:layout_width="24dp"
			android:layout_height="24dp"
			android:layout_marginStart="12dp"
			android:layout_gravity="center_vertical"
			android:duplicateParentState="true"
			android:tint="?colorDarkIcon"
			android:src="@drawable/ic_poll_option_button"/>

		<TextView
			android:id="@+id/percent"
			android:layout_width="46dp"
			android:layout_height="wrap_content"
			android:layout_gravity="center_vertical"
			android:layout_marginStart="16dp"
			android:textAppearance="@style/m3_title_medium"
			android:visibility="gone"
			tools:visibility="visible"
			tools:text="00.0%"/>

		<TextView
			android:id="@+id/text"
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:layout_gravity="center_vertical"
			android:layout_marginLeft="16dp"
			android:layout_marginRight="16dp"
			android:textAppearance="@style/m3_title_medium"
			android:singleLine="true"
			android:ellipsize="end"
			tools:text="scream into void"/>

	</LinearLayout>

</FrameLayout>