Skip to content

Commit

Permalink
[fix] incoming call layout
Browse files Browse the repository at this point in the history
  • Loading branch information
chaymankala committed Nov 20, 2023
1 parent 0868653 commit 86c4ed9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</config-file>

<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:configChanges="orientation|keyboardHidden|screenSize" android:exported="false" android:label="@string/title_activity_fullscreen" android:launchMode="singleTop" android:name="com.chariotsolutions.nfc.plugin.IncomingCallActivity" android:screenOrientation="portrait" android:showOnLockScreen="true" android:theme="@style/Theme.Design.NoActionBar"/>
<activity android:configChanges="orientation|keyboardHidden|screenSize" android:exported="false" android:launchMode="singleTop" android:name="com.chariotsolutions.nfc.plugin.IncomingCallActivity" android:screenOrientation="portrait" android:showOnLockScreen="true" android:theme="@style/Theme.Design.NoActionBar"/>
<meta-data android:name="com.onesignal.NotificationServiceExtension" android:value="com.chariotsolutions.nfc.plugin.QRNotificationHandler"/>
<receiver android:exported="true" android:name="com.chariotsolutions.nfc.plugin.QRNotificationHandler">
<intent-filter>
Expand Down
7 changes: 1 addition & 6 deletions src/android/res/layout/activity_incomingcall.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
Expand All @@ -8,9 +9,6 @@
android:theme="@style/Theme.Design.NoActionBar"
tools:context="com.chariotsolutions.nfc.plugin.IncomingCallActivity">

<!-- The primary full-screen view. This can be replaced with whatever view
is needed to present your content, e.g. VideoView, SurfaceView,
TextureView, etc. -->
<TextView
android:id="@+id/fullscreen_content"
android:layout_width="match_parent"
Expand Down Expand Up @@ -54,8 +52,6 @@

</androidx.constraintlayout.widget.ConstraintLayout>

<!-- This FrameLayout insets its children based on system windows using
android:fitsSystemWindows. -->
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
Expand Down Expand Up @@ -88,5 +84,4 @@

</LinearLayout>
</FrameLayout>

</FrameLayout>

0 comments on commit 86c4ed9

Please sign in to comment.