fix QRShowActivity screen

This commit is contained in:
adbenitez
2025-11-04 20:43:15 +01:00
parent 90a0f75823
commit 4b903c73dc
2 changed files with 12 additions and 5 deletions
@@ -46,6 +46,7 @@ public class QrShowActivity extends AppCompatActivity {
ActionBar supportActionBar = getSupportActionBar();
assert supportActionBar != null;
supportActionBar.setDisplayHomeAsUpEnabled(true);
supportActionBar.setElevation(0); // edge-to-edge: avoid top shadow
if (chatId != 0) {
// verified-group
+11 -5
View File
@@ -1,9 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<fragment xmlns:android="http://schemas.android.com/apk/res/android"
android:name="org.thoughtcrime.securesms.qr.QrShowFragment"
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:background="?attr/colorPrimary"
android:fitsSystemWindows="true"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/qrScannerFragment">
android:layout_height="match_parent">
<fragment xmlns:android="http://schemas.android.com/apk/res/android"
android:name="org.thoughtcrime.securesms.qr.QrShowFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/qrScannerFragment" />
</fragment>
</RelativeLayout>