2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

[fenix] Closes https://github.com/mozilla-mobile/fenix/issues/4680 - Align collection creation text center vertical

This commit is contained in:
Emily Kager 2019-08-14 16:55:06 -07:00 committed by Emily Kager
parent 6c41d30fd8
commit b037ddee5a
3 changed files with 10 additions and 8 deletions

View File

@ -13,13 +13,13 @@
<Button
android:id="@+id/back_button"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_height="0dp"
android:layout_margin="16dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:drawableStart="@drawable/mozac_ic_back"
android:drawablePadding="8dp"
android:drawableTint="@color/neutral_text"
android:gravity="start"
android:gravity="start|center_vertical"
android:text="@string/create_collection_select_tabs"
android:textAppearance="@style/HeaderTextStyle"
android:textColor="@color/neutral_text"
@ -28,15 +28,15 @@
app:layout_constraintHorizontal_bias="0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintWidth_default="wrap"/>
app:layout_constraintWidth_default="wrap" />
<Button
android:id="@+id/select_all_button"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_height="0dp"
android:layout_margin="16dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:gravity="start"
android:gravity="start|center_vertical"
android:text="@string/create_collection_select_all"
android:textAllCaps="false"
android:textColor="@color/neutral_text"
@ -45,7 +45,7 @@
app:layout_constraintHorizontal_bias="1"
app:layout_constraintStart_toEndOf="@+id/guideline"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintWidth_default="wrap"/>
app:layout_constraintWidth_default="wrap" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline"

View File

@ -13,12 +13,13 @@
<Button
android:id="@+id/back_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="0dp"
android:layout_margin="16dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:drawableStart="@drawable/mozac_ic_back"
android:drawablePadding="8dp"
android:drawableTint="@color/neutral_text"
android:gravity="start|center_vertical"
android:text="@string/create_collection_name_collection"
android:textAppearance="@style/HeaderTextStyle"
android:textColor="@color/neutral_text"

View File

@ -13,11 +13,12 @@
<Button
android:id="@+id/back_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="0dp"
android:layout_margin="16dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:drawableStart="@drawable/mozac_ic_back"
android:drawablePadding="8dp"
android:gravity="start|center_vertical"
android:drawableTint="@color/neutral_text"
android:text="@string/create_collection_select_collection"
android:textAppearance="@style/HeaderTextStyle"