tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 182356860cd99bd784cf36a72e2063007c3253c8
parent cd3a65e948081d6257042e0d703c40d674a90527
Author: Harrison Oglesby <oglesby.harrison@gmail.com>
Date:   Thu, 11 Dec 2025 17:20:28 +0000

Bug 2005309 - Fix QR Scanner back button disappearing on foldable devices r=android-reviewers,moyin

Differential Revision: https://phabricator.services.mozilla.com/D275902

Diffstat:
Mmobile/android/android-components/components/feature/qr/src/main/res/layout/fragment_layout.xml | 24++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/mobile/android/android-components/components/feature/qr/src/main/res/layout/fragment_layout.xml b/mobile/android/android-components/components/feature/qr/src/main/res/layout/fragment_layout.xml @@ -12,18 +12,6 @@ android:focusable="true" tools:ignore="Overdraw"> - <androidx.appcompat.widget.AppCompatImageButton - android:id="@+id/back_button" - android:layout_width="48dp" - android:layout_height="48dp" - android:layout_alignParentTop="true" - android:layout_alignParentLeft="true" - android:layout_marginTop="48dp" - android:layout_marginLeft="12dp" - app:srcCompat="@drawable/mozac_ic_back_24" - android:backgroundTint="@android:color/transparent" - /> - <TextView android:id="@+id/camera_error" android:layout_width="wrap_content" @@ -46,4 +34,16 @@ android:layout_height="match_parent" android:layout_centerInParent="true" /> + <androidx.appcompat.widget.AppCompatImageButton + android:id="@+id/back_button" + android:layout_width="48dp" + android:layout_height="48dp" + android:layout_alignParentTop="true" + android:layout_alignParentLeft="true" + android:layout_marginTop="48dp" + android:layout_marginLeft="12dp" + app:srcCompat="@drawable/mozac_ic_back_24" + android:backgroundTint="@android:color/transparent" + /> + </RelativeLayout>