Add MainActivity
This commit is contained in:
parent
2bc54c0b4e
commit
5457565244
3 changed files with 24 additions and 2 deletions
|
@ -14,14 +14,16 @@
|
|||
android:theme="@style/Theme.CausaArcana"
|
||||
tools:ignore="AllowBackup">
|
||||
<activity
|
||||
android:name=".ArticleActivity"
|
||||
android:name=".MainActivity"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN"/>
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER"/>
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".ArticleActivity"
|
||||
android:exported="true"/>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
|
|
11
app/src/main/java/com/causa_arcana/MainActivity.kt
Normal file
11
app/src/main/java/com/causa_arcana/MainActivity.kt
Normal file
|
@ -0,0 +1,11 @@
|
|||
package com.causa_arcana
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import android.os.Bundle
|
||||
|
||||
class MainActivity : AppCompatActivity() {
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
setContentView(R.layout.activity_main)
|
||||
}
|
||||
}
|
9
app/src/main/res/layout/activity_main.xml
Normal file
9
app/src/main/res/layout/activity_main.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".MainActivity">
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
Reference in a new issue