Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Material 3 Redesign and Material You Theming #4

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

InfiniteCoder06
Copy link
Contributor

Linked to #2

Comment on lines +9 to +25
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/topAppBarLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toRightOf="parent"
app:layout_constraintRight_toLeftOf="parent">

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

</com.google.android.material.appbar.AppBarLayout>
Copy link
Contributor Author

@InfiniteCoder06 InfiniteCoder06 Apr 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has to be done to maintain consistency of Theming otherwise it would use default colors in the app bar

@InfiniteCoder06 InfiniteCoder06 changed the title Material 3 Rededign and Material You Theming Material 3 Redesign and Material You Theming Apr 3, 2024
@karasevm
Copy link
Owner

karasevm commented Apr 3, 2024

Thanks for your contribution, everything looks good to me.

@karasevm karasevm merged commit afa2398 into karasevm:main Apr 3, 2024
@InfiniteCoder06 InfiniteCoder06 deleted the feature-m3 branch April 7, 2024 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants