Skip to content

Commit

Permalink
Fix button on moat and custom bridges
Browse files Browse the repository at this point in the history
  • Loading branch information
syphyr committed Jan 27, 2024
1 parent 4524a42 commit 1174011
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions app/src/main/res/layout/custom_bridge_bottom_sheet.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -64,14 +64,14 @@
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"
android:textColor="@android:color/white"
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>
</androidx.constraintlayout.widget.ConstraintLayout>
7 changes: 3 additions & 4 deletions app/src/main/res/layout/moat_bottom_sheet.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,15 @@
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"
android:textColor="@android:color/white"
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>
</androidx.constraintlayout.widget.ConstraintLayout>

0 comments on commit 1174011

Please sign in to comment.