diff --git a/app/src/main/res/layout/custom_bridge_bottom_sheet.xml b/app/src/main/res/layout/custom_bridge_bottom_sheet.xml index c4d8b2e36..4a853fb5b 100644 --- a/app/src/main/res/layout/custom_bridge_bottom_sheet.xml +++ b/app/src/main/res/layout/custom_bridge_bottom_sheet.xml @@ -52,7 +52,7 @@ android:id="@+id/tvCancel" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginTop="144dp" + android:layout_marginTop="28dp" android:text="@android:string/cancel" android:textColor="@android:color/white" android:textStyle="bold" @@ -64,7 +64,7 @@ android:id="@+id/btnAction" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginTop="128dp" + android:layout_marginTop="16dp" android:backgroundTint="@color/orbot_btn_enabled_purple" android:text="@string/connect" android:enabled="false" @@ -72,6 +72,6 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/tvCancel" app:layout_constraintTop_toBottomOf="@id/mainGuideline" - app:layout_goneMarginBottom="20dp" /> + app:layout_constraintHorizontal_bias="0.5" /> -</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file +</androidx.constraintlayout.widget.ConstraintLayout> diff --git a/app/src/main/res/layout/moat_bottom_sheet.xml b/app/src/main/res/layout/moat_bottom_sheet.xml index 4ac1f1bf3..e0d6ccd44 100644 --- a/app/src/main/res/layout/moat_bottom_sheet.xml +++ b/app/src/main/res/layout/moat_bottom_sheet.xml @@ -85,8 +85,7 @@ android:id="@+id/btnAction" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginTop="@dimen/activity_horizontal_margin" - android:layout_marginBottom="@dimen/activity_horizontal_margin" + android:layout_marginTop="16dp" android:backgroundTint="@color/orbot_btn_enabled_purple" android:text="@string/connect" android:enabled="false" @@ -94,7 +93,7 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/tvCancel" app:layout_constraintTop_toBottomOf="@id/mainGuideline" - app:layout_goneMarginBottom="20dp" /> + app:layout_constraintHorizontal_bias="0.5" /> -</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file +</androidx.constraintlayout.widget.ConstraintLayout>