From 98b44e4f5951a3d393ad628f14843adc53a4bb46 Mon Sep 17 00:00:00 2001 From: William Brawner Date: Tue, 29 Dec 2020 12:09:18 -0700 Subject: [PATCH] Rename activity_transaction_list to activity_main --- android/src/main/java/com/wbrawner/budget/ui/MainActivity.kt | 4 ++-- .../{activity_transaction_list.xml => activity_main.xml} | 0 android/src/main/res/navigation/auth_graph.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename android/src/main/res/layout/{activity_transaction_list.xml => activity_main.xml} (100%) diff --git a/android/src/main/java/com/wbrawner/budget/ui/MainActivity.kt b/android/src/main/java/com/wbrawner/budget/ui/MainActivity.kt index 95a05bf..34c7fa1 100644 --- a/android/src/main/java/com/wbrawner/budget/ui/MainActivity.kt +++ b/android/src/main/java/com/wbrawner/budget/ui/MainActivity.kt @@ -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) diff --git a/android/src/main/res/layout/activity_transaction_list.xml b/android/src/main/res/layout/activity_main.xml similarity index 100% rename from android/src/main/res/layout/activity_transaction_list.xml rename to android/src/main/res/layout/activity_main.xml diff --git a/android/src/main/res/navigation/auth_graph.xml b/android/src/main/res/navigation/auth_graph.xml index c1a5908..c0f3fd7 100644 --- a/android/src/main/res/navigation/auth_graph.xml +++ b/android/src/main/res/navigation/auth_graph.xml @@ -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" /> \ No newline at end of file