Rename activity_transaction_list to activity_main
This commit is contained in:
parent
97aab0624e
commit
98b44e4f59
3 changed files with 3 additions and 3 deletions
|
@ -7,13 +7,13 @@ import androidx.emoji.text.EmojiCompat
|
||||||
import androidx.navigation.findNavController
|
import androidx.navigation.findNavController
|
||||||
import androidx.navigation.ui.setupWithNavController
|
import androidx.navigation.ui.setupWithNavController
|
||||||
import com.wbrawner.budget.R
|
import com.wbrawner.budget.R
|
||||||
import kotlinx.android.synthetic.main.activity_transaction_list.*
|
import kotlinx.android.synthetic.main.activity_main.*
|
||||||
|
|
||||||
class MainActivity : AppCompatActivity() {
|
class MainActivity : AppCompatActivity() {
|
||||||
override fun onCreate(savedInstanceState: Bundle?) {
|
override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
EmojiCompat.init(androidx.emoji.bundled.BundledEmojiCompatConfig(this))
|
EmojiCompat.init(androidx.emoji.bundled.BundledEmojiCompatConfig(this))
|
||||||
setContentView(R.layout.activity_transaction_list)
|
setContentView(R.layout.activity_main)
|
||||||
setSupportActionBar(action_bar)
|
setSupportActionBar(action_bar)
|
||||||
val navController = findNavController(R.id.content_container)
|
val navController = findNavController(R.id.content_container)
|
||||||
menu_main.setupWithNavController(navController)
|
menu_main.setupWithNavController(navController)
|
||||||
|
|
|
@ -28,5 +28,5 @@
|
||||||
android:id="@+id/mainActivity"
|
android:id="@+id/mainActivity"
|
||||||
android:name="com.wbrawner.budget.ui.MainActivity"
|
android:name="com.wbrawner.budget.ui.MainActivity"
|
||||||
android:label="activity_transaction_list"
|
android:label="activity_transaction_list"
|
||||||
tools:layout="@layout/activity_transaction_list" />
|
tools:layout="@layout/activity_main" />
|
||||||
</navigation>
|
</navigation>
|
Loading…
Reference in a new issue