diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index fc0f7921..ba90d2f9 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -28,7 +28,7 @@ + android:theme="@style/SplashTheme" /> @@ -36,7 +36,10 @@ android:name=".activities.ThreadActivity" android:parentActivityName=".activities.MainActivity" /> - + + @@ -116,8 +119,8 @@ android:targetActivity=".activities.SplashActivity"> - - + + @@ -129,8 +132,8 @@ android:targetActivity=".activities.SplashActivity"> - - + + @@ -142,8 +145,8 @@ android:targetActivity=".activities.SplashActivity"> - - + + @@ -155,8 +158,8 @@ android:targetActivity=".activities.SplashActivity"> - - + + @@ -168,8 +171,8 @@ android:targetActivity=".activities.SplashActivity"> - - + + @@ -181,8 +184,8 @@ android:targetActivity=".activities.SplashActivity"> - - + + @@ -194,8 +197,8 @@ android:targetActivity=".activities.SplashActivity"> - - + + @@ -207,8 +210,8 @@ android:targetActivity=".activities.SplashActivity"> - - + + @@ -220,8 +223,8 @@ android:targetActivity=".activities.SplashActivity"> - - + + @@ -233,8 +236,8 @@ android:targetActivity=".activities.SplashActivity"> - - + + @@ -246,8 +249,8 @@ android:targetActivity=".activities.SplashActivity"> - - + + @@ -259,8 +262,8 @@ android:targetActivity=".activities.SplashActivity"> - - + + @@ -272,8 +275,8 @@ android:targetActivity=".activities.SplashActivity"> - - + + @@ -285,8 +288,8 @@ android:targetActivity=".activities.SplashActivity"> - - + + @@ -297,8 +300,8 @@ android:roundIcon="@mipmap/ic_launcher" android:targetActivity=".activities.SplashActivity"> - - + + @@ -310,8 +313,8 @@ android:targetActivity=".activities.SplashActivity"> - - + + @@ -323,8 +326,8 @@ android:targetActivity=".activities.SplashActivity"> - - + + @@ -336,8 +339,8 @@ android:targetActivity=".activities.SplashActivity"> - - + + @@ -349,8 +352,8 @@ android:targetActivity=".activities.SplashActivity"> - - + + diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/MainActivity.kt index 8aa49456..dd7788e0 100644 --- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/MainActivity.kt @@ -61,6 +61,12 @@ class MainActivity : SimpleActivity() { startActivityForResult(intent, MAKE_DEFAULT_APP_REQUEST) } } + + messages_fab.setOnClickListener { + Intent(this, NewMessageActivity::class.java).apply { + startActivity(this) + } + } } override fun onResume() { diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/NewMessageActivity.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/NewMessageActivity.kt index 292edfa7..7db638b0 100644 --- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/NewMessageActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/NewMessageActivity.kt @@ -19,5 +19,6 @@ class NewMessageActivity : SimpleActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_new_message) + title = getString(R.string.create_new_message) } } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index a1e9db18..520a59d3 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -3,6 +3,7 @@ SMS Messenger Type a messageā€¦ Message has not been sent. + Create new message Received SMS