Skip to content

Commit

Permalink
fix : display the toolbar subtitle properly [#1217] (#1218)
Browse files Browse the repository at this point in the history
  • Loading branch information
rayworks authored May 6, 2024
1 parent 35e763a commit f8a76b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion library/src/main/res/layout/chucker_activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appBarLayout"
android:layout_width="0dp"
android:layout_height="?attr/actionBarSize"
android:layout_height="wrap_content"
android:theme="@style/ThemeOverlay.MaterialComponents.Dark.ActionBar"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
Expand All @@ -20,6 +20,8 @@
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="4dp"
app:subtitleTextAppearance="?attr/textAppearanceSubtitle2"
app:popupTheme="@style/Chucker.Theme" />

</com.google.android.material.appbar.AppBarLayout>
Expand Down

0 comments on commit f8a76b1

Please sign in to comment.