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

Commit 332228e0 authored by narinder Rana's avatar narinder Rana
Browse files

update some color

parent c42048e9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@
    </style>

    <style name="OverflowButtonStyle" parent="@style/Widget.AppCompat.ActionButton.Overflow">
        <item name="android:tint">?android:colorControlNormal</item>
        <item name="android:tint">@color/color_default_blue1</item>
        <item name="android:minWidth">@dimen/button_touch_size</item>
    </style>

+1 −8
Original line number Diff line number Diff line
@@ -902,14 +902,7 @@ public abstract class BaseActivity
     * */

    private int fetchAccentColor() {
        TypedValue typedValue = new TypedValue();

        ContextThemeWrapper contextThemeWrapper = new ContextThemeWrapper(this,  android.R.style.Theme_DeviceDefault_Light);
        contextThemeWrapper.getTheme().resolveAttribute(android.R.attr.colorAccent,
                typedValue, true);
        int color = typedValue.data;


        int color=getResources().getColor(R.color.color_default_blue1);
        return color;
    }

+1 −6
Original line number Diff line number Diff line
@@ -264,13 +264,8 @@ public abstract class DrawerController implements DrawerListener {
     * */

    private static int fetchAccentColor(Activity activity) {
        TypedValue typedValue = new TypedValue();
        ContextThemeWrapper contextThemeWrapper = new ContextThemeWrapper(activity,  android.R.style.Theme_DeviceDefault_Light);
        contextThemeWrapper.getTheme().resolveAttribute(android.R.attr.colorAccent,
                typedValue, true);
        int color = typedValue.data;

        Log.e("TAG", "accent Colour  #"+Integer.toHexString(color));
        int color=activity.getResources().getColor(R.color.accent);
        //toolbar change color to accent color
        return color;
    }
+1 −9
Original line number Diff line number Diff line
@@ -180,15 +180,7 @@ public class LauncherActivity extends Activity {
     * */

    private int fetchAccentColor() {
        TypedValue typedValue = new TypedValue();
        ContextThemeWrapper contextThemeWrapper = new ContextThemeWrapper(this,  android.R.style.Theme_DeviceDefault_Light);
        contextThemeWrapper.getTheme().resolveAttribute(android.R.attr.colorAccent,
                typedValue, true);
        int color = typedValue.data;

        Log.e("TAG", "accent Colour  #"+Integer.toHexString(color));
        //toolbar change color to accent color

        int color=getResources().getColor(R.color.accent);
        return color;
    }