mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 19:32:16 +00:00
Improve: Top Appbar Text Alignment
This commit is contained in:
parent
b9d283a671
commit
d1c3454635
@ -31,7 +31,7 @@
|
||||
android:id="@+id/section_name"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/text_margin"
|
||||
android:layout_marginStart="20dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="?android:attr/textColor"
|
||||
@ -42,6 +42,7 @@
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginStart="12dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:src="@drawable/ic_arrow_down"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
|
@ -90,14 +90,16 @@
|
||||
|
||||
<style name="Theme.CollapsingToolbar" parent="Widget.Material3.CollapsingToolbar.Large">
|
||||
<item name="titleCollapseMode">scale</item>
|
||||
<item name="android:backgroundTint">?attr/colorSurface</item>
|
||||
<item name="expandedTitleMarginStart">32dp</item>
|
||||
<item name="contentScrim">@android:color/transparent</item>
|
||||
<item name="android:backgroundTint">?attr/colorSurface</item>
|
||||
<item name="expandedTitleTextAppearance">?textAppearanceHeadlineLarge</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Toolbar" parent="Widget.Material3.Toolbar.Surface">
|
||||
<item name="android:background">@drawable/bottom_corner</item>
|
||||
<item name="android:backgroundTint">?attr/colorSurface</item>
|
||||
<item name="layout_collapseMode">pin</item>
|
||||
<item name="android:backgroundTint">?attr/colorSurface</item>
|
||||
<item name="android:background">@drawable/bottom_corner</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Tab" parent="Widget.Material3.TabLayout">
|
||||
|
Loading…
x
Reference in New Issue
Block a user