fix button alignments in some places. Fixes #1418

This commit is contained in:
Phillip Thelen 2020-11-16 12:00:27 +01:00
parent 412a37e0d8
commit db1e8cccd6
3 changed files with 7 additions and 3 deletions

View file

@ -114,19 +114,20 @@
android:paddingEnd="@dimen/spacing_large"
android:paddingTop="12dp"
android:paddingBottom="12dp"
android:orientation="horizontal">
android:orientation="horizontal"
android:gravity="center_vertical">
<Button
android:id="@+id/invite_button"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="@dimen/button_height"
android:layout_height="wrap_content"
android:text="@string/invite_to_guild"
style="@style/HabiticaButton.Purple" />
<Button
android:id="@+id/join_button"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="@dimen/button_height"
android:layout_height="wrap_content"
android:text="@string/join_guild"
style="@style/HabiticaButton.Green"
android:layout_marginStart="@dimen/spacing_large"/>

View file

@ -118,6 +118,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
android:visibility="gone">
<Button

View file

@ -106,6 +106,7 @@
android:layout_height="wrap_content"
android:orientation="horizontal"
android:visibility="gone"
android:gravity="center_vertical"
android:padding="@dimen/content_border">
<Button
@ -131,6 +132,7 @@
android:layout_height="wrap_content"
android:orientation="horizontal"
android:visibility="gone"
android:gravity="center_vertical"
android:padding="@dimen/content_border">
<Button
android:id="@+id/quest_begin_button"