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

Commit b994cada authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove unused padding around bubble view" into qt-r1-bubbles-dev

parents bf7a6893 3f4a83a3
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">16dp</dimen>
    <!-- Size of individual bubbles. -->
+0 −3
Original line number Diff line number Diff line
@@ -48,7 +48,6 @@ public class BubbleView extends FrameLayout {

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

    private boolean mSuppressDot = false;
@@ -70,8 +69,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);
    }