File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed
kotlin/com/simplemobiletools/notes/activities Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 1010 android : label =" @string/app_launcher_name"
1111 android : supportsRtl =" true"
1212 android : theme =" @style/AppTheme" >
13+
1314 <activity
14- android : name =" .activities.MainActivity" >
15+ android : name =" .activities.SplashActivity"
16+ android : theme =" @style/SplashTheme" >
1517 <intent-filter >
1618 <action android : name =" android.intent.action.MAIN" />
1719
1820 <category android : name =" android.intent.category.LAUNCHER" />
1921 </intent-filter >
2022 </activity >
2123
24+ <activity
25+ android : name =" .activities.MainActivity" />
26+
2227 <activity
2328 android : name =" .activities.WidgetConfigureActivity"
2429 android : screenOrientation =" portrait"
Original file line number Diff line number Diff line change 1+ package com.simplemobiletools.notes.activities
2+
3+ import android.content.Intent
4+ import android.os.Bundle
5+ import android.support.v7.app.AppCompatActivity
6+
7+ class SplashActivity : AppCompatActivity () {
8+ override fun onCreate (savedInstanceState : Bundle ? ) {
9+ super .onCreate(savedInstanceState)
10+ startActivity(Intent (this , MainActivity ::class .java))
11+ finish()
12+ }
13+ }
You can’t perform that action at this time.
0 commit comments