Skip to content

Commit

Permalink
add toolbar with app name
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishan09811 authored Jan 30, 2024
1 parent 228e072 commit 9c22c57
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/pandroid/app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
android:layout_height="match_parent"
tools:context=".app.MainActivity">

<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/topAppBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?colorSurfaceVariant"
android:minHeight="?attr/actionBarSize"
app:title="@string/app_name" />

<androidx.fragment.app.FragmentContainerView
android:id="@+id/fragment_container"
android:layout_width="0dp"
Expand All @@ -26,4 +34,4 @@
app:menu="@menu/main_activity_navigation"
style="@style/ThemedNavigationBottom"/>

</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

0 comments on commit 9c22c57

Please sign in to comment.