<?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:paddingBottom="8dp"
	android:clipToPadding="false">

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

		<LinearLayout
			android:layout_width="0dp"
			android:layout_height="match_parent"
			android:layout_weight="1"
			android:orientation="horizontal">

			<ImageView
				android:id="@+id/icon"
				android:layout_width="wrap_content"
				android:layout_height="wrap_content"
				android:layout_marginStart="16dp"
				android:layout_gravity="center_vertical"
				android:tint="?colorM3OnSecondaryContainer"
				android:scaleType="center"
				android:src="@drawable/ic_poll_option_button" />

			<TextView
				android:id="@+id/text"
				android:layout_width="wrap_content"
				android:layout_height="wrap_content"
				android:layout_gravity="center_vertical"
				android:layout_marginStart="16dp"
				android:layout_marginEnd="8dp"
				android:textAppearance="@style/m3_label_large"
				android:textColor="?colorM3Primary"
				android:singleLine="true"
				android:ellipsize="end"
				android:paddingEnd="26dp"
				tools:text="scream into void jsfdklfjdalskfjdsalkfjdsalkfjdsalkfdjsalkfdsajlk"/>

		</LinearLayout>

		<TextView
			android:id="@+id/percent"
			android:layout_width="wrap_content"
			android:layout_height="wrap_content"
			android:layout_marginEnd="24dp"
			android:layout_gravity="center_vertical"
			android:textAppearance="@style/m3_label_large"
			android:textColor="?colorM3OnSecondaryContainer"
			android:visibility="gone"
			android:gravity="end"
			tools:visibility="visible"
			tools:text="00.0%"/>

	</LinearLayout>

</FrameLayout>