mirror of https://github.com/sk22/megalodon.git
52 lines
1.6 KiB
XML
52 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
|
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:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/wrapper"
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:id="@+id/text"
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginVertical="6dp"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp"
|
|
android:textAppearance="@style/m3_body_medium"
|
|
android:layout_gravity="center_vertical"
|
|
android:textColor="?colorM3OnSurfaceVariant"
|
|
tools:text="fdsafdsafsdafds"/>
|
|
|
|
<Button
|
|
android:id="@+id/results_btn"
|
|
style="@style/Widget.Mastodon.M3.Button.Tonal"
|
|
android:background="@drawable/bg_button_m3_tonal_selector"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginVertical="4dp"
|
|
android:textAppearance="@style/m3_label_small"
|
|
android:text="@string/sk_poll_show_results"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<Button
|
|
android:id="@+id/vote_btn"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="16dp"
|
|
android:layout_marginBottom="4dp"
|
|
android:enabled="false"
|
|
style="@style/Widget.Mastodon.M3.Button.Filled.Elevated"
|
|
android:text="@string/action_vote"/>
|
|
|
|
</LinearLayout> |