Skip to content

Instantly share code, notes, and snippets.

@NinoDLC
Created March 3, 2021 17:17
Show Gist options
  • Save NinoDLC/78de032ecd3eed764cbf3199a1b87ffa to your computer and use it in GitHub Desktop.
Save NinoDLC/78de032ecd3eed764cbf3199a1b87ffa to your computer and use it in GitHub Desktop.
DispatcherActivity
<activity
android:name=".view.dispatcher.DispatcherActivity"
android:theme="@style/Theme.Go4Lunch.NoActionBar.Transparent">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<style name="Theme.Go4Lunch.NoActionBar" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<style name="Theme.Go4Lunch.NoActionBar.Transparent">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowIsFloating">true</item>
<item name="android:backgroundDimEnabled">false</item>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment