mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
fix QRShowActivity screen
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user