Rename activity_transaction_list to activity_main

This commit is contained in:
William Brawner 2020-12-29 12:09:18 -07:00
parent 97aab0624e
commit 98b44e4f59
3 changed files with 3 additions and 3 deletions

View file

@ -7,13 +7,13 @@ import androidx.emoji.text.EmojiCompat
import androidx.navigation.findNavController
import androidx.navigation.ui.setupWithNavController
import com.wbrawner.budget.R
import kotlinx.android.synthetic.main.activity_transaction_list.*
import kotlinx.android.synthetic.main.activity_main.*
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
EmojiCompat.init(androidx.emoji.bundled.BundledEmojiCompatConfig(this))
setContentView(R.layout.activity_transaction_list)
setContentView(R.layout.activity_main)
setSupportActionBar(action_bar)
val navController = findNavController(R.id.content_container)
menu_main.setupWithNavController(navController)

View file

@ -28,5 +28,5 @@
android:id="@+id/mainActivity"
android:name="com.wbrawner.budget.ui.MainActivity"
android:label="activity_transaction_list"
tools:layout="@layout/activity_transaction_list" />
tools:layout="@layout/activity_main" />
</navigation>