I am creating an app which is basically an activity that automatically runs starts a service. I have defined the activity as transparent, just like the post here suggests :
How do I create a transparent Activity on Android?
however when the app starts, the transparent activity makes the phone "locked". I can't press anything . I know that it's because I am currently focused on a transparent activity, but I thought transparent also means that everything underneath it is clickable.
how do I fix that?
my manifest :
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.imagine.imagineinputmanager">
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<receiver android:name=".BootReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
</receiver>
<service android:name=".InputService">
<intent-filter>
<action android:name=".InputBinder"/>
</intent-filter>
</service>
</application>
</manifest>