scroll complete poll create screen

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2022-07-20 14:12:17 +02:00 committed by Andy Scherzinger (Rebase PR Action)
parent 82ffd1f83c
commit fe217d9700

View File

@ -17,7 +17,8 @@
~ 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"
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
@ -26,6 +27,11 @@
android:padding="@dimen/standard_padding"
tools:background="@color/white">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -48,19 +54,11 @@
android:layout_marginTop="@dimen/standard_margin"
android:text="@string/polls_options" />
<LinearLayout
android:id="@+id/poll_create_options_list_wrapper"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:orientation="vertical">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/poll_create_options_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:listitem="@layout/poll_create_options_item" />
</LinearLayout>
<com.google.android.material.button.MaterialButton
android:id="@+id/poll_add_options_item"
@ -80,7 +78,6 @@
android:textStyle="bold"
android:layout_marginTop="@dimen/standard_margin"
android:layout_marginBottom="@dimen/standard_half_margin"
android:text="@string/polls_settings" />
<CheckBox
@ -100,7 +97,6 @@
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginTop="@dimen/standard_margin"
android:gravity="end">
<com.google.android.material.button.MaterialButton
@ -124,5 +120,5 @@
android:theme="@style/Button.Primary" />
</LinearLayout>
</LinearLayout>
</ScrollView>