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

Commit 3f4a83a3 authored by Lyn Han's avatar Lyn Han
Browse files

Remove unused padding around bubble view

Bug: 134070807
Test: manual
Test: atest SystemUITests
Change-Id: I2f26321c413344dd72e32941ef91d3450676fc56
parent 5634105e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -24,7 +24,6 @@
        android:id="@+id/bubble_image"
        android:layout_width="@dimen/individual_bubble_size"
        android:layout_height="@dimen/individual_bubble_size"
        android:padding="@dimen/bubble_view_padding"
        android:clipToPadding="false"/>

</com.android.systemui.bubbles.BubbleView>
+0 −2
Original line number Diff line number Diff line
@@ -1107,8 +1107,6 @@
    <dimen name="bubble_flyout_pointer_size">6dp</dimen>
    <!-- How much space to leave between the flyout (tip of the arrow) and the bubble stack. -->
    <dimen name="bubble_flyout_space_from_bubble">8dp</dimen>
    <!-- Padding around a collapsed bubble -->
    <dimen name="bubble_view_padding">0dp</dimen>
    <!-- Padding between status bar and bubbles when displayed in expanded state -->
    <dimen name="bubble_padding_top">8dp</dimen>
    <!-- Size of individual bubbles. -->
+0 −3
Original line number Diff line number Diff line
@@ -49,7 +49,6 @@ public class BubbleView extends FrameLayout {

    private BadgedImageView mBadgedImageView;
    private int mBadgeColor;
    private int mPadding;
    private int mIconInset;

    private boolean mSuppressDot = false;
@@ -71,8 +70,6 @@ public class BubbleView extends FrameLayout {
    public BubbleView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
        super(context, attrs, defStyleAttr, defStyleRes);
        mContext = context;
        // XXX: can this padding just be on the view and we look it up?
        mPadding = getResources().getDimensionPixelSize(R.dimen.bubble_view_padding);
        mIconInset = getResources().getDimensionPixelSize(R.dimen.bubble_icon_inset);
    }