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

Commit 266e91b5 authored by Fahim Salam Chowdhury's avatar Fahim Salam Chowdhury 👽
Browse files

Fix app logo

parent b7481c7e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -609,7 +609,6 @@ public class MainActivity extends LockedActivity implements NoteClickListener, A
        // TODO We assume, that the background of the spinner is always white
        activityBinding.swiperefreshlayout.setColorSchemeColors(contrastRatioIsSufficient(Color.WHITE, mainColor) ? mainColor : Color.BLACK);
        binding.appName.setTextColor(textColor);
        DrawableCompat.setTint(binding.logo.getDrawable(), textColor);

        adapter.applyBrand(mainColor, textColor);
        adapterCategories.applyBrand(mainColor, textColor);
+54 −9
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:aapt="http://schemas.android.com/aapt"
    android:width="108dp"
    android:height="108dp"
    android:viewportWidth="32"
    android:viewportHeight="32">
    <group
        android:translateX="0"
        android:translateY="0">
        <path
            android:fillColor="#fff"
            android:pathData="m24.484 3.5156c-1.0237 0-2.0471 0.38887-2.8281 1.1699l5.6582 5.6582c1.5621-1.5621 1.5621-4.0961 0-5.6582-0.78105-0.78105-1.8064-1.1699-2.8301-1.1699zm-4.2422 2.584-12.02 12.021 5.6562 5.6562 12.021-12.02-5.6582-5.6582zm-13.436 13.436-2.1211 7.7793 7.7793-2.1211-5.6582-5.6582z" />
    android:viewportWidth="108"
    android:viewportHeight="108">
    <group>
        <clip-path
            android:pathData="M0,0h108v108h-108z"/>
        <path
            android:pathData="M0,0h108v108h-108z">
            <aapt:attr name="android:fillColor">
                <gradient
                    android:startX="54"
                    android:startY="19.84"
                    android:endX="54"
                    android:endY="127.97"
                    android:type="linear">
                    <item android:offset="0" android:color="#FFFFFFDD"/>
                    <item android:offset="1" android:color="#FFE5EED5"/>
                </gradient>
            </aapt:attr>
        </path>
        <path
            android:pathData="M0,0h108v36h-108z">
            <aapt:attr name="android:fillColor">
                <gradient
                    android:startX="54"
                    android:startY="3.29"
                    android:endX="54"
                    android:endY="35.3"
                    android:type="linear">
                    <item android:offset="0" android:color="#FFFF7300"/>
                    <item android:offset="0.37" android:color="#FFFB6C09"/>
                    <item android:offset="0.97" android:color="#FFF15B23"/>
                    <item android:offset="1" android:color="#FFF15A24"/>
                </gradient>
            </aapt:attr>
        </path>

        <path
            android:fillColor="#B2B2B2"
            android:fillType="evenOdd"
            android:pathData="M0,49.21H108V50.21H0V49.21Z" />
        <path
            android:fillColor="#B2B2B2"
            android:fillType="evenOdd"
            android:pathData="M0,63.38H108V64.38H0V63.38Z" />
        <path
            android:fillColor="#B2B2B2"
            android:fillType="evenOdd"
            android:pathData="M0,77.56H108V78.56H0V77.56Z" />
        <path
            android:fillColor="#B2B2B2"
            android:fillType="evenOdd"
            android:pathData="M0,91.73H108V92.73H0V91.73Z" />
    </group>
</vector>
+0 −1
Original line number Diff line number Diff line
@@ -22,7 +22,6 @@
            android:layout_gravity="center"
            android:layout_marginBottom="32dp"
            android:contentDescription="@null"
            android:tint="@color/fg_secondary"
            app:srcCompat="@drawable/ic_launcher_foreground_full" />

        <TextView
+1 −4
Original line number Diff line number Diff line
@@ -14,10 +14,7 @@
        android:layout_centerHorizontal="true"
        android:layout_marginBottom="10dp"
        android:contentDescription="@null"
        android:scaleX="1.5"
        android:scaleY="1.5"
        android:src="@drawable/ic_launcher_foreground"
        app:tint="@color/fg_default_high" />
        android:src="@drawable/ic_launcher_foreground_full" />

    <TextView
        android:id="@+id/empty_content_view_title"
+2 −2
Original line number Diff line number Diff line
@@ -112,8 +112,8 @@
    </style>

    <style name="Theme.App.Starting" parent="Theme.SplashScreen">
        <item name="windowSplashScreenBackground">@color/defaultBrand</item>
        <item name="windowSplashScreenAnimatedIcon">@drawable/ic_launcher_foreground</item>
        <item name="windowSplashScreenBackground">@color/e_background</item>
        <item name="windowSplashScreenAnimatedIcon">@drawable/ic_launcher_foreground_full</item>
        <item name="postSplashScreenTheme">@style/AppTheme</item>
    </style>
</resources>
 No newline at end of file