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

Commit 7928455a authored by Haijie Hong's avatar Haijie Hong
Browse files

Fix device icon overflow issue

Flag: EXEMPT minor fix
Bug: 373988997
Test: local tested
Change-Id: I13185e3fc0b57dd6079eb0bef5d8fbda5efbddb9
parent 75cae486
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -30,14 +30,20 @@
        android:layout_height="wrap_content"
        android:layout_gravity="center_horizontal">
        <ImageView
            android:layout_width="72dp"
            android:layout_height="72dp"
            android:layout_gravity="center"
            android:background="@drawable/bt_header_circle_outline" />

        <com.google.android.material.imageview.ShapeableImageView
            android:id="@+id/header_icon"
            android:layout_width="72dp"
            android:layout_height="72dp"
            android:layout_gravity="center"
            android:antialias="true"
            android:background="@drawable/bt_header_circle_outline"
            android:padding="8dp"
            android:scaleType="fitCenter" />
            android:scaleType="fitCenter"
            app:shapeAppearanceOverlay="@style/DeviceIconRoundedCornerStyle" />

        <com.google.android.material.progressindicator.CircularProgressIndicator
            android:id="@+id/battery_ring"
+5 −0
Original line number Diff line number Diff line
@@ -1037,4 +1037,9 @@
        <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item>
    </style>

    <style name="DeviceIconRoundedCornerStyle">
        <item name="cornerFamily">rounded</item>
        <item name="cornerSize">12dp</item>
    </style>

</resources>