Skip to content

Instantly share code, notes, and snippets.

@jafar260698
Created August 29, 2020 13:20
Show Gist options
  • Save jafar260698/2ef5dc28fef1e2eee9d6fbac232782d3 to your computer and use it in GitHub Desktop.
Save jafar260698/2ef5dc28fef1e2eee9d6fbac232782d3 to your computer and use it in GitHub Desktop.
<application
android:name=".viewModel.RestaurantApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:networkSecurityConfig="@xml/network_security_config"
android:requestLegacyExternalStorage="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/FullscreenDialogtheme"
android:usesCleartextTraffic="true"
tools:targetApi="q">
<uses-library android:name="org.apache.http.legacy"
android:required="false"/>
<activity android:name=".ui.MainActivity"
android:theme="@style/Theme.AppCompat.Light.NoActionBar"
android:windowSoftInputMode="stateAlwaysHidden|adjustPan"/>
<activity
android:name=".activity.SplashScreen"
android:theme="@style/ChalaFullscreen">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</activity
// style
<style name="FullscreenDialogtheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="android:windowContentTransitions">true</item>
<item name="android:windowNoTitle">true</item>
<item name="windowActionBar">false</item>
<item name="android:windowFullscreen">true</item>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment