Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5db9401f authored by cketti's avatar cketti
Browse files

Make colors of the floating action button part of the theme

parent 8988b85e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -33,6 +33,9 @@
        android:layout_margin="@dimen/floatingActionButtonMargin"
        android:contentDescription="@string/compose_action"
        android:text="@string/compose_action"
        app:icon="?attr/iconActionCompose" />
        android:textColor="?attr/floatingActionButtonForegroundColor"
        app:backgroundTint="?attr/floatingActionButtonBackgroundColor"
        app:icon="?attr/iconActionCompose"
        app:iconTint="?attr/floatingActionButtonForegroundColor" />

</androidx.coordinatorlayout.widget.CoordinatorLayout>
+2 −0
Original line number Diff line number Diff line
@@ -4,6 +4,8 @@
    <declare-styleable name="K9Styles">
        <attr name="toolbarColor" format="reference|color" />
        <attr name="bottomBarBackground" format="reference|color" />
        <attr name="floatingActionButtonBackgroundColor" format="reference|color" />
        <attr name="floatingActionButtonForegroundColor" format="reference|color" />
        <attr name="iconUnifiedInbox" format="reference" />
        <attr name="iconFolder" format="reference" />
        <attr name="iconFolderInbox" format="reference" />
+4 −0
Original line number Diff line number Diff line
@@ -22,6 +22,8 @@
        <item name="colorSecondaryVariant">@color/material_pink_200</item>
        <item name="colorOnSecondary">#ffffff</item>
        <item name="bottomBarBackground">@color/material_gray_50</item>
        <item name="floatingActionButtonBackgroundColor">?attr/colorSecondary</item>
        <item name="floatingActionButtonForegroundColor">?attr/colorOnSecondary</item>

        <item name="toolbarStyle">@style/Widget.K9.Toolbar</item>
        <item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
@@ -176,6 +178,8 @@
        <item name="colorSecondary">@color/material_pink_300</item>
        <item name="colorSecondaryVariant">@color/material_pink_500</item>
        <item name="bottomBarBackground">@color/material_gray_900</item>
        <item name="floatingActionButtonBackgroundColor">?attr/colorSecondary</item>
        <item name="floatingActionButtonForegroundColor">?attr/colorOnSecondary</item>

        <item name="toolbarStyle">@style/Widget.K9.Toolbar</item>
        <item name="preferenceTheme">@style/PreferenceThemeOverlay</item>