Material 3: Simplify paddings and margins

Signed-off-by: Stefan Niedermann <info@niedermann.it>
This commit is contained in:
Stefan Niedermann 2022-11-04 15:15:58 +01:00
parent 855ede810e
commit 0d3e32a2f7
26 changed files with 43 additions and 93 deletions

View file

@ -16,8 +16,7 @@
android:id="@+id/toolbar" android:id="@+id/toolbar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize" android:layout_height="?attr/actionBarSize"
android:layout_marginStart="@dimen/spacer_activity_sides" android:layout_marginHorizontal="@dimen/spacer_activity_sides"
android:layout_marginEnd="@dimen/spacer_activity_sides"
app:contentInsetStartWithNavigation="0dp" app:contentInsetStartWithNavigation="0dp"
app:navigationIcon="@drawable/ic_arrow_back_grey600_24dp" app:navigationIcon="@drawable/ic_arrow_back_grey600_24dp"
app:titleMarginStart="0dp" app:titleMarginStart="0dp"
@ -36,7 +35,6 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/colorPrimary" android:background="?attr/colorPrimary"
android:paddingStart="@dimen/spacer_1x" android:paddingHorizontal="@dimen/spacer_1x" />
android:paddingEnd="@dimen/spacer_1x" />
</LinearLayout> </LinearLayout>

View file

@ -15,8 +15,7 @@
android:id="@+id/toolbar" android:id="@+id/toolbar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize" android:layout_height="?attr/actionBarSize"
android:layout_marginStart="@dimen/spacer_activity_sides" android:layout_marginHorizontal="@dimen/spacer_activity_sides"
android:layout_marginEnd="@dimen/spacer_activity_sides"
app:contentInsetStartWithNavigation="0dp" app:contentInsetStartWithNavigation="0dp"
app:navigationIcon="@drawable/ic_arrow_back_grey600_24dp" app:navigationIcon="@drawable/ic_arrow_back_grey600_24dp"
app:titleMarginStart="0dp" app:titleMarginStart="0dp"

View file

@ -11,8 +11,7 @@
android:id="@+id/toolbar" android:id="@+id/toolbar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize" android:layout_height="?attr/actionBarSize"
android:layout_marginStart="@dimen/spacer_activity_sides" android:layout_marginHorizontal="@dimen/spacer_activity_sides"
android:layout_marginEnd="@dimen/spacer_activity_sides"
app:contentInsetStartWithNavigation="0dp" app:contentInsetStartWithNavigation="0dp"
app:elevation="4dp" app:elevation="4dp"
app:titleMarginStart="0dp" app:titleMarginStart="0dp"
@ -56,8 +55,7 @@
<HorizontalScrollView <HorizontalScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_marginStart="@dimen/spacer_2x" android:layout_marginHorizontal="@dimen/spacer_2x"
android:layout_marginEnd="@dimen/spacer_2x"
android:layout_weight="1"> android:layout_weight="1">
<TextView <TextView
@ -95,8 +93,7 @@
style="@style/Widget.Material3.Button" style="@style/Widget.Material3.Button"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginTop="6dp" android:layout_marginVertical="6dp"
android:layout_marginBottom="6dp"
android:layout_weight=".5" android:layout_weight=".5"
android:text="@string/simple_copy" android:text="@string/simple_copy"
app:backgroundTint="@color/defaultBrand" app:backgroundTint="@color/defaultBrand"

View file

@ -16,8 +16,7 @@
android:id="@+id/toolbar" android:id="@+id/toolbar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize" android:layout_height="?attr/actionBarSize"
android:layout_marginStart="@dimen/spacer_activity_sides" android:layout_marginHorizontal="@dimen/spacer_activity_sides"
android:layout_marginEnd="@dimen/spacer_activity_sides"
app:contentInsetStartWithNavigation="0dp" app:contentInsetStartWithNavigation="0dp"
app:navigationIcon="@drawable/ic_arrow_back_grey600_24dp" app:navigationIcon="@drawable/ic_arrow_back_grey600_24dp"
app:title="@string/action_formatting_help" app:title="@string/action_formatting_help"
@ -34,8 +33,7 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacer_activity_sides" android:layout_marginHorizontal="@dimen/spacer_activity_sides"
android:layout_marginEnd="@dimen/spacer_activity_sides"
android:orientation="vertical" android:orientation="vertical"
android:padding="@dimen/spacer_2x"> android:padding="@dimen/spacer_2x">

View file

@ -43,10 +43,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/welcome_text" android:layout_below="@id/welcome_text"
android:layout_centerHorizontal="true" android:layout_centerHorizontal="true"
android:paddingStart="32dp" android:paddingHorizontal="32dp"
android:paddingTop="24dp" android:paddingVertical="@dimen/spacer_3x"
android:paddingEnd="32dp"
android:paddingBottom="24dp"
android:text="@string/choose_account" android:text="@string/choose_account"
app:backgroundTint="@color/defaultBrand" /> app:backgroundTint="@color/defaultBrand" />

View file

@ -16,8 +16,7 @@
android:id="@+id/toolbar" android:id="@+id/toolbar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize" android:layout_height="?attr/actionBarSize"
android:layout_marginStart="@dimen/spacer_activity_sides" android:layout_marginHorizontal="@dimen/spacer_activity_sides"
android:layout_marginEnd="@dimen/spacer_activity_sides"
app:contentInsetStartWithNavigation="0dp" app:contentInsetStartWithNavigation="0dp"
app:navigationIcon="@drawable/ic_arrow_back_grey600_24dp" app:navigationIcon="@drawable/ic_arrow_back_grey600_24dp"
app:title="@string/manage_accounts" app:title="@string/manage_accounts"

View file

@ -24,10 +24,8 @@
<com.google.android.material.card.MaterialCardView <com.google.android.material.card.MaterialCardView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacer_activity_sides" android:layout_marginHorizontal="@dimen/spacer_activity_sides"
android:layout_marginTop="@dimen/spacer_1hx" android:layout_marginVertical="@dimen/spacer_1hx"
android:layout_marginEnd="@dimen/spacer_activity_sides"
android:layout_marginBottom="@dimen/spacer_1hx"
app:cardBackgroundColor="@color/appbar" app:cardBackgroundColor="@color/appbar"
app:cardCornerRadius="@dimen/spacer_4x" app:cardCornerRadius="@dimen/spacer_4x"
app:cardElevation="2dp" app:cardElevation="2dp"
@ -88,8 +86,7 @@
android:id="@+id/search_toolbar" android:id="@+id/search_toolbar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginStart="@dimen/spacer_activity_sides" android:layout_marginHorizontal="@dimen/spacer_activity_sides"
android:layout_marginEnd="@dimen/spacer_activity_sides"
android:visibility="gone" android:visibility="gone"
app:contentInsetStartWithNavigation="0dp" app:contentInsetStartWithNavigation="0dp"
app:navigationIcon="@drawable/ic_arrow_back_grey600_24dp" app:navigationIcon="@drawable/ic_arrow_back_grey600_24dp"

View file

@ -14,8 +14,7 @@
android:id="@+id/toolbar" android:id="@+id/toolbar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize" android:layout_height="?attr/actionBarSize"
android:layout_marginStart="@dimen/spacer_activity_sides" android:layout_marginHorizontal="@dimen/spacer_activity_sides"
android:layout_marginEnd="@dimen/spacer_activity_sides"
app:contentInsetStartWithNavigation="0dp" app:contentInsetStartWithNavigation="0dp"
app:navigationIcon="@drawable/ic_arrow_back_grey600_24dp" app:navigationIcon="@drawable/ic_arrow_back_grey600_24dp"
app:title="@string/action_settings" app:title="@string/action_settings"

View file

@ -14,8 +14,7 @@
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="horizontal" android:orientation="horizontal"
android:padding="@dimen/spacer_2x" android:padding="@dimen/spacer_2x"
android:paddingStart="@dimen/spacer_1x" android:paddingHorizontal="@dimen/spacer_1x">
android:paddingEnd="@dimen/spacer_1x">
<androidx.appcompat.widget.AppCompatImageView <androidx.appcompat.widget.AppCompatImageView
android:id="@+id/currentAccountItemAvatar" android:id="@+id/currentAccountItemAvatar"

View file

@ -31,8 +31,7 @@
android:id="@+id/stacktrace" android:id="@+id/stacktrace"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_marginTop="@dimen/spacer_2x" android:layout_marginVertical="@dimen/spacer_2x"
android:layout_marginBottom="@dimen/spacer_2x"
android:layout_weight="1" android:layout_weight="1"
android:background="@color/bg_highlighted" android:background="@color/bg_highlighted"
android:padding="@dimen/spacer_1x" android:padding="@dimen/spacer_1x"

View file

@ -63,8 +63,7 @@
android:id="@+id/navigationList" android:id="@+id/navigationList"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="@dimen/spacer_1x" android:paddingVertical="@dimen/spacer_1x"
android:paddingBottom="@dimen/spacer_1x"
app:layoutManager="LinearLayoutManager" app:layoutManager="LinearLayoutManager"
tools:itemCount="6" tools:itemCount="6"
tools:listitem="@layout/item_navigation" /> tools:listitem="@layout/item_navigation" />
@ -73,8 +72,7 @@
android:id="@+id/navigationMenu" android:id="@+id/navigationMenu"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="@dimen/spacer_1x" android:paddingVertical="@dimen/spacer_1x"
android:paddingBottom="@dimen/spacer_1x"
app:layoutManager="LinearLayoutManager" app:layoutManager="LinearLayoutManager"
tools:itemCount="3" tools:itemCount="3"
tools:listitem="@layout/item_navigation" /> tools:listitem="@layout/item_navigation" />

View file

@ -14,8 +14,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:layout_marginTop="30dp" android:layout_marginVertical="30dp"
android:layout_marginBottom="30dp"
android:text="@string/app_name" android:text="@string/app_name"
android:textAppearance="?android:attr/textAppearanceMedium" android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@color/fg_default_low" android:textColor="@color/fg_default_low"

View file

@ -27,16 +27,13 @@
android:id="@+id/editContent" android:id="@+id/editContent"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacer_activity_sides" android:layout_marginHorizontal="@dimen/spacer_activity_sides"
android:layout_marginEnd="@dimen/spacer_activity_sides"
android:background="?attr/colorPrimary" android:background="?attr/colorPrimary"
android:ems="10" android:ems="10"
android:gravity="top" android:gravity="top"
android:inputType="textMultiLine|textCapSentences" android:inputType="textMultiLine|textCapSentences"
android:lineSpacingMultiplier="@dimen/note_line_spacing" android:lineSpacingMultiplier="@dimen/note_line_spacing"
android:padding="@dimen/spacer_2x" android:padding="@dimen/spacer_2x"
android:paddingStart="@dimen/spacer_2x"
android:paddingEnd="@dimen/spacer_2x"
android:textColor="@color/fg_default" android:textColor="@color/fg_default"
tools:text="@tools:sample/lorem/random" /> tools:text="@tools:sample/lorem/random" />
</ScrollView> </ScrollView>

View file

@ -24,12 +24,10 @@
android:id="@+id/single_note_content" android:id="@+id/single_note_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacer_activity_sides" android:layout_marginHorizontal="@dimen/spacer_activity_sides"
android:layout_marginEnd="@dimen/spacer_activity_sides"
android:lineSpacingMultiplier="@dimen/note_line_spacing" android:lineSpacingMultiplier="@dimen/note_line_spacing"
android:padding="@dimen/spacer_2x" android:padding="@dimen/spacer_2x"
android:paddingStart="@dimen/spacer_2x" android:paddingHorizontal="@dimen/spacer_2x"
android:paddingEnd="@dimen/spacer_2x"
android:textAppearance="?android:attr/textAppearanceMedium" android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@color/fg_default" android:textColor="@color/fg_default"
android:textIsSelectable="true" android:textIsSelectable="true"

View file

@ -8,8 +8,7 @@
android:gravity="center" android:gravity="center"
android:orientation="horizontal" android:orientation="horizontal"
android:padding="@dimen/spacer_2x" android:padding="@dimen/spacer_2x"
android:paddingStart="@dimen/spacer_1x" android:paddingHorizontal="@dimen/spacer_1x">
android:paddingEnd="@dimen/spacer_1x">
<FrameLayout <FrameLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"

View file

@ -21,15 +21,13 @@
android:id="@+id/noteTitle" android:id="@+id/noteTitle"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacer_2x" android:layout_marginHorizontal="@dimen/spacer_2x"
android:layout_marginTop="@dimen/spacer_2x" android:layout_marginTop="@dimen/spacer_2x"
android:layout_marginEnd="@dimen/spacer_2x"
android:layout_marginBottom="@dimen/spacer_1x" android:layout_marginBottom="@dimen/spacer_1x"
android:hyphenationFrequency="full" android:hyphenationFrequency="full"
android:textAppearance="?attr/textAppearanceHeadline5" android:textAppearance="?attr/textAppearanceHeadline5"
android:textColor="@color/fg_default" android:textColor="@color/fg_default"
tools:maxLength="50" tools:maxLength="50"
tools:targetApi="m"
tools:text="@tools:sample/lorem/random" /> tools:text="@tools:sample/lorem/random" />
@ -37,8 +35,7 @@
android:id="@+id/noteExcerpt" android:id="@+id/noteExcerpt"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacer_2x" android:layout_marginHorizontal="@dimen/spacer_2x"
android:layout_marginEnd="@dimen/spacer_2x"
android:textAppearance="?android:attr/textAppearanceMedium" android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@color/fg_default" android:textColor="@color/fg_default"
tools:maxLength="200" tools:maxLength="200"

View file

@ -55,7 +55,6 @@
android:textAppearance="?attr/textAppearanceHeadline5" android:textAppearance="?attr/textAppearanceHeadline5"
android:textColor="@color/fg_default" android:textColor="@color/fg_default"
tools:maxLength="50" tools:maxLength="50"
tools:targetApi="m"
tools:text="@tools:sample/lorem/random" /> tools:text="@tools:sample/lorem/random" />
</LinearLayout> </LinearLayout>
</com.google.android.material.card.MaterialCardView> </com.google.android.material.card.MaterialCardView>

View file

@ -65,9 +65,8 @@
android:layout_weight="1" android:layout_weight="1"
android:orientation="vertical" android:orientation="vertical"
android:paddingStart="0dp" android:paddingStart="0dp"
android:paddingTop="@dimen/spacer_2x" android:paddingVertical="@dimen/spacer_2x"
android:paddingEnd="@dimen/spacer_2x" android:paddingEnd="@dimen/spacer_2x">
android:paddingBottom="@dimen/spacer_2x">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
@ -97,8 +96,7 @@
android:layout_weight="1" android:layout_weight="1"
android:ellipsize="end" android:ellipsize="end"
android:maxLines="1" android:maxLines="1"
android:paddingTop="1dp" android:paddingVertical="1dp"
android:paddingBottom="1dp"
android:textSize="@dimen/secondary_font_size" android:textSize="@dimen/secondary_font_size"
tools:text="@tools:sample/lorem/random" /> tools:text="@tools:sample/lorem/random" />
@ -109,10 +107,8 @@
android:layout_marginStart="@dimen/spacer_1x" android:layout_marginStart="@dimen/spacer_1x"
android:background="@drawable/border" android:background="@drawable/border"
android:maxLines="1" android:maxLines="1"
android:paddingStart="@dimen/spacer_1x" android:paddingVertical="1dp"
android:paddingTop="1dp" android:paddingHorizontal="@dimen/spacer_1x"
android:paddingEnd="@dimen/spacer_1x"
android:paddingBottom="1dp"
android:singleLine="true" android:singleLine="true"
android:textColor="?android:textColorPrimary" android:textColor="?android:textColorPrimary"
android:textSize="@dimen/secondary_font_size" android:textSize="@dimen/secondary_font_size"

View file

@ -63,13 +63,11 @@
android:id="@+id/noteTitle" android:id="@+id/noteTitle"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="10sp" android:layout_marginVertical="10sp"
android:layout_marginBottom="10sp"
android:layout_weight="1" android:layout_weight="1"
android:ellipsize="end" android:ellipsize="end"
android:maxLines="1" android:maxLines="1"
android:paddingTop="@dimen/spacer_2x" android:paddingVertical="@dimen/spacer_2x"
android:paddingBottom="@dimen/spacer_2x"
android:textColor="?android:textColorPrimary" android:textColor="?android:textColorPrimary"
android:textSize="@dimen/primary_font_size" android:textSize="@dimen/primary_font_size"
tools:text="@tools:sample/lorem/random" /> tools:text="@tools:sample/lorem/random" />
@ -83,8 +81,7 @@
android:layout_marginEnd="@dimen/spacer_2x" android:layout_marginEnd="@dimen/spacer_2x"
android:background="@drawable/border" android:background="@drawable/border"
android:maxLines="1" android:maxLines="1"
android:paddingStart="@dimen/spacer_1x" android:paddingHorizontal="@dimen/spacer_1x"
android:paddingEnd="@dimen/spacer_1x"
android:paddingBottom="1dp" android:paddingBottom="1dp"
android:singleLine="true" android:singleLine="true"
android:textColor="?android:textColorPrimary" android:textColor="?android:textColorPrimary"

View file

@ -4,8 +4,7 @@
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:gravity="center_vertical"
android:paddingStart="@dimen/spacer_activity_sides" android:paddingHorizontal="@dimen/spacer_activity_sides"
android:paddingEnd="@dimen/spacer_activity_sides"
android:minHeight="?android:attr/listPreferredItemHeight"> android:minHeight="?android:attr/listPreferredItemHeight">
<ImageView <ImageView

View file

@ -5,8 +5,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
android:paddingTop="@dimen/spacer_1x" android:paddingVertical="@dimen/spacer_1x">
android:paddingBottom="@dimen/spacer_1x">
<TextView <TextView
android:id="@+id/tip" android:id="@+id/tip"

View file

@ -6,10 +6,9 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" android:orientation="horizontal"
android:paddingTop="@dimen/spacer_1x" android:paddingVertical="@dimen/spacer_1x"
android:paddingStart="@null" android:paddingStart="@null"
android:paddingEnd="@dimen/spacer_1hx" android:paddingEnd="@dimen/spacer_1hx">
android:paddingBottom="@dimen/spacer_1x">
<ImageView <ImageView
android:id="@+id/widget_entry_fav_icon" android:id="@+id/widget_entry_fav_icon"

View file

@ -31,8 +31,7 @@
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:contentDescription="@string/widget_entry_fav_contentDescription" android:contentDescription="@string/widget_entry_fav_contentDescription"
android:foregroundGravity="center_vertical" android:foregroundGravity="center_vertical"
android:paddingStart="@dimen/spacer_1x" android:paddingHorizontal="@dimen/spacer_1x"
android:paddingEnd="@dimen/spacer_1x"
android:paddingBottom="@dimen/spacer_1x" android:paddingBottom="@dimen/spacer_1x"
app:srcCompat="@drawable/ic_add_blue_24dp" /> app:srcCompat="@drawable/ic_add_blue_24dp" />
</LinearLayout> </LinearLayout>

View file

@ -5,10 +5,8 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@drawable/widget_background" android:background="@drawable/widget_background"
android:orientation="vertical" android:orientation="vertical"
android:paddingStart="@dimen/widget_inner_padding_horizontal" android:paddingVertical="@dimen/widget_inner_padding_vertical"
android:paddingTop="@dimen/widget_inner_padding_vertical" android:paddingHorizontal="@dimen/widget_inner_padding_horizontal">
android:paddingEnd="@dimen/widget_inner_padding_horizontal"
android:paddingBottom="@dimen/widget_inner_padding_vertical">
<ListView <ListView
android:id="@+id/note_list_widget_lv" android:id="@+id/note_list_widget_lv"

View file

@ -9,10 +9,8 @@
android:id="@+id/single_note_widget_lv" android:id="@+id/single_note_widget_lv"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:paddingStart="@dimen/widget_inner_padding_horizontal" android:paddingVertical="@dimen/widget_inner_padding_vertical"
android:paddingTop="@dimen/widget_inner_padding_vertical" android:paddingHorizontal="@dimen/widget_inner_padding_horizontal"
android:paddingEnd="@dimen/widget_inner_padding_horizontal"
android:paddingBottom="@dimen/widget_inner_padding_vertical"
tools:listitem="@layout/widget_single_note_content" /> tools:listitem="@layout/widget_single_note_content" />
<TextView <TextView

View file

@ -18,16 +18,11 @@
<item name="materialAlertDialogTheme">@style/MaterialAlertDialogTheme</item> <item name="materialAlertDialogTheme">@style/MaterialAlertDialogTheme</item>
<item name="actionModeStyle">@style/actionModeStyle</item> <item name="actionModeStyle">@style/actionModeStyle</item>
<item name="toolbarStyle">@style/toolbarStyle</item>
<item name="tabStyle">@style/tabStyle</item> <item name="tabStyle">@style/tabStyle</item>
</style> </style>
<style name="AppTheme" parent="BaseTheme" /> <style name="AppTheme" parent="BaseTheme" />
<style name="toolbarStyle" parent="@style/Widget.Material3.Toolbar">
<item name="android:background">?attr/colorPrimary</item>
</style>
<style name="actionModeStyle" parent="@style/Widget.Material3.ActionMode"> <style name="actionModeStyle" parent="@style/Widget.Material3.ActionMode">
<item name="android:paddingStart">@dimen/spacer_activity_sides</item> <item name="android:paddingStart">@dimen/spacer_activity_sides</item>
<item name="android:paddingEnd">@dimen/spacer_activity_sides</item> <item name="android:paddingEnd">@dimen/spacer_activity_sides</item>