Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
231 changes: 0 additions & 231 deletions .idea/codeStyleSettings.xml

This file was deleted.

1 change: 0 additions & 1 deletion ncsmsgo/ncsmsgo.iml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<exclude-output />
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.gradle" />
<excludeFolder url="file://$MODULE_DIR$/build" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
Expand Down
8 changes: 4 additions & 4 deletions src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,14 @@
android:name=".activities.OCSMSSettingsActivity"
android:label="@string/title_activity_general_settings">
</activity>

<activity
android:name=".activities.MainActivity"
android:label="@string/app_name"
android:theme="@style/OcSmsTheme.Drawer">
android:theme="@style/SplashTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>

<category android:name="android.intent.category.LAUNCHER"/>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ public class MainActivity extends AppCompatActivity

@Override
protected void onCreate(Bundle savedInstanceState) {
setTheme(R.style.OcSmsTheme_Drawer);

if (_ConnectivityMonitor == null) {
_ConnectivityMonitor = new ConnectivityMonitor(getApplicationContext());
}
Expand Down
12 changes: 12 additions & 0 deletions src/main/res/drawable/splashscreen.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">

<item android:drawable="@color/oc_primary" />

<item>
<bitmap
android:gravity="center"
android:src="@drawable/logo" />
</item>

</layer-list>
4 changes: 4 additions & 0 deletions src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,8 @@

<style name="OcSmsTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light"/>

<style name="SplashTheme" parent="OcSmsTheme">
<item name="android:windowBackground">@drawable/splashscreen</item>
</style>

</resources>