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

Commit 48a76eb1 authored by Anthony Chen's avatar Anthony Chen
Browse files

Ensure facet bar icons are 56dp.

Test: manually inspected
Change-Id: I03b250601e67f105e973b7aefdc4d73a84cf37ca
parent 0acb7c29
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ package com.android.systemui.statusbar.car;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.widget.ImageView;
import android.widget.RelativeLayout;

import com.android.keyguard.AlphaOptimizedImageButton;
@@ -41,6 +42,7 @@ public class CarNavigationButton extends RelativeLayout {
    public void onFinishInflate() {
        super.onFinishInflate();
        mIcon = (AlphaOptimizedImageButton) findViewById(R.id.car_nav_button_icon);
        mIcon.setScaleType(ImageView.ScaleType.CENTER);
        mIcon.setClickable(false);
        mIcon.setBackgroundColor(android.R.color.transparent);
        mIcon.setAlpha(UNSELECTED_ALPHA);