80 lines
3.0 KiB
XML
80 lines
3.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
~ Copyright 2023 Dash Core Group.
|
|
~
|
|
~ This program is free software: you can redistribute it and/or modify
|
|
~ it under the terms of the GNU General Public License as published by
|
|
~ the Free Software Foundation, either version 3 of the License, or
|
|
~ (at your option) any later version.
|
|
~
|
|
~ This program is distributed in the hope that it will be useful,
|
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
~ GNU General Public License for more details.
|
|
~
|
|
~ You should have received a copy of the GNU General Public License
|
|
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
-->
|
|
<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="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<View
|
|
android:id="@+id/drag_indicator"
|
|
android:layout_width="35dp"
|
|
android:layout_height="4dp"
|
|
android:layout_gravity="center"
|
|
android:layout_marginVertical="7dp"
|
|
android:background="@drawable/rounded_background"
|
|
android:theme="@style/DragIndicatorBackground"
|
|
tools:background="@color/light_gray" />
|
|
|
|
<TextView
|
|
style="@style/Headline5"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="17dp"
|
|
android:gravity="center_horizontal"
|
|
android:textAlignment="gravity"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:text="@string/quick_vote" />
|
|
|
|
<TextView
|
|
android:id="@+id/subtitle"
|
|
style="@style/Body2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="2dp"
|
|
android:gravity="center_horizontal"
|
|
android:textAlignment="gravity"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:text="@string/quick_vote_subtitle" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_marginTop="30dp"
|
|
android:layout_marginBottom="15dp">
|
|
|
|
<Button
|
|
android:id="@+id/dismiss_btn"
|
|
style="@style/Button.Primary.Large.Grey"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="15dp"
|
|
android:layout_weight="1"
|
|
android:text="@string/cancel" />
|
|
|
|
<Button
|
|
android:id="@+id/vote_btn"
|
|
style="@style/Button.Primary.Large.Blue"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_marginEnd="15dp"
|
|
android:layout_weight="1"
|
|
android:text="@string/vote_for_all" />
|
|
</LinearLayout>
|
|
</LinearLayout> |