Make Space creation screens more consistent

Signed-off-by: Timuçin Boldt <timucin.boldt@udo.edu>
This commit is contained in:
Timuçin Boldt 2022-01-31 09:12:10 +01:00
parent 0dce0342b3
commit 90c502b16a
3 changed files with 16 additions and 16 deletions

1
changelog.d/5099.misc Normal file
View File

@ -0,0 +1 @@
Make Space creation screens more consistent

View File

@ -13,7 +13,7 @@
<TextView
android:id="@+id/headerText"
style="@style/Widget.Vector.TextView.HeadlineMedium"
style="@style/Widget.Vector.TextView.Title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
@ -53,12 +53,23 @@
android:layout_marginBottom="16dp"
app:icon="@drawable/ic_member_small"
app:iconTint="?vctr_content_secondary"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintBottom_toTopOf="@id/changeLaterText"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:subTitle="@string/create_spaces_private_teammates"
app:title="@string/create_spaces_me_and_teammates" />
<TextView
android:id="@+id/changeLaterText"
style="@style/Widget.Vector.TextView.Body"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="24dp"
android:gravity="center"
android:text="@string/create_spaces_you_can_change_later"
android:textColor="?vctr_content_secondary"
app:layout_constraintBottom_toBottomOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>

View File

@ -12,26 +12,14 @@
<TextView
android:id="@+id/headerText"
style="@style/Widget.Vector.TextView.Subtitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/create_spaces_type_header"
android:textColor="?vctr_content_secondary"
app:layout_constraintTop_toTopOf="parent" />
<TextView
style="@style/Widget.Vector.TextView.Title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:gravity="center"
android:text="@string/create_spaces_choose_type_label"
android:textColor="?vctr_content_primary"
android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@id/joinInfoHelpText"
app:layout_constraintTop_toBottomOf="@id/headerText"
app:layout_constraintVertical_bias="1" />
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/joinInfoHelpText"
@ -42,7 +30,7 @@
android:gravity="center"
android:text="@string/create_spaces_join_info_help"
android:textColor="?vctr_content_secondary"
app:layout_constraintBottom_toTopOf="@id/publicButton" />
app:layout_constraintTop_toBottomOf="@id/headerText" />
<im.vector.app.features.spaces.create.WizardButtonView
android:id="@+id/publicButton"