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

Commit 2d0430fe authored by Romain Hunault's avatar Romain Hunault 💻
Browse files

Revert "implement e ui sdk, update navigation drawer background"

This reverts commit 3d5c4b4c.
parent 9db8e83b
Loading
Loading
Loading
Loading
+5 −8
Original line number Diff line number Diff line
@@ -40,10 +40,8 @@
    <!-- Color of the status bar above the contextual selection bar. -->
    <color name="contextual_selection_bar_status_bar_color">#bababa</color>

    <color name="primary_color_dark">@lineageos.platform:color/color_default_primary</color>
    <color name="primary_color">@lineageos.platform:color/color_default_primary_dark</color>
    <color name="accent">@lineageos.platform:color/color_default_accent</color>

    <color name="primary_color_dark">#1c3aa9</color>
    <color name="primary_color">#2a56c6</color>

    <color name="group_primary_color_dark">#546E7A</color>
    <color name="group_primary_color">#607D8B</color>
@@ -207,9 +205,8 @@
    <color name="search_shortcut_icon_color">@color/dialtacts_theme_color</color>

    <!-- Color of the background of the contact detail and editor pages -->
    <color name="background_primary">@lineageos.platform:color/color_default_background</color>
    <color name="contact_all_list_background_color">@lineageos.platform:color/color_default_background</color>

    <color name="background_primary">#f9f9f9</color>
    <color name="contact_all_list_background_color">#FFFFFF</color>

    <!-- Text color used for character counter when the max limit has been exceeded -->
    <color name="call_subject_limit_exceeded">#d1041c</color>
@@ -251,7 +248,7 @@
    <color name="drawer_divider_color">#E5E5E5</color>

    <!-- Background color for the navigation drawer -->
    <color name="navigation_drawer_background_color">@lineageos.platform:color/color_default_background</color>
    <color name="navigation_drawer_background_color">#FAFAFA</color>

    <!-- Background color for the current selected item in the navigation drawer -->
    <color name="drawer_selected_color">#E8E8E8</color>
+16 −1
Original line number Diff line number Diff line
@@ -1306,7 +1306,22 @@ public class PeopleActivity extends AppCompatContactsActivity implements
     * */

    private int fetchAccentColor() {
        int color=getResources().getColor(R.color.accent);
        TypedValue typedValue = new TypedValue();

        TypedArray a = this.obtainStyledAttributes(typedValue.data, new int[] { R.attr.colorAccent });
        int color = a.getColor(0, 0);

        a.recycle();
        Log.e("TAG", "accent Colour  #"+Integer.toHexString(color));

        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
            Window window = getWindow();
            window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
            window.setStatusBarColor(color);
        }

        getSupportActionBar().setBackgroundDrawable(
                new ColorDrawable(color));
        return color;
    }