2022-06-14 12:32:19 +03:00
|
|
|
<!--
|
|
|
|
Nextcloud Android client application
|
|
|
|
|
|
|
|
@author Marcel Hibbe
|
|
|
|
Copyright (C) 2021 Marcel Hibbe <dev@mhibbe.de>
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License version 2,
|
|
|
|
as published by the Free Software Foundation.
|
|
|
|
|
|
|
|
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/>.
|
|
|
|
-->
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
tools:background="@color/white">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/poll_results_list_wrapper"
|
|
|
|
android:layout_width="match_parent"
|
2022-06-25 00:13:40 +03:00
|
|
|
android:layout_height="wrap_content"
|
2022-06-14 12:32:19 +03:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/poll_results_list"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
tools:listitem="@layout/poll_result_item" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
2022-06-22 14:33:14 +03:00
|
|
|
<com.google.android.material.button.MaterialButton
|
2022-06-22 17:37:58 +03:00
|
|
|
android:id="@+id/poll_results_close_poll_button"
|
2022-06-22 14:33:14 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-06-24 14:56:29 +03:00
|
|
|
android:text="@string/polls_end_poll"
|
2022-06-22 21:34:50 +03:00
|
|
|
style="@style/OutlinedButton"
|
|
|
|
android:layout_marginEnd="@dimen/standard_margin"
|
2022-06-22 14:33:14 +03:00
|
|
|
app:cornerRadius="@dimen/button_corner_radius"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/edit_vote_button"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/poll_results_list_wrapper" />
|
|
|
|
|
2022-06-14 12:32:19 +03:00
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/edit_vote_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/edit"
|
|
|
|
android:theme="@style/Button.Primary"
|
|
|
|
app:cornerRadius="@dimen/button_corner_radius"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/poll_results_list_wrapper" />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|