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

Commit e9e77e7e authored by Xiaowen Lei's avatar Xiaowen Lei
Browse files

Update point dimensions and also dash gap per UX spec.

Point: 12dp x 12dp, with 2dp corner radius.
  - down from 20dp x 20dp, 4dp corner radius.
Segment point gap: 8dp.
  - down from 4dp.
Dash gap: 8dp.
  - from 9dp.

Flag: android.app.api_rich_ongoing
Fix: 376266032
Fix: 376265307
Test: post a ProgressStyle notification with points.
Change-Id: Id0e52e018bc00e3e8d45bc4e84bf3bd35d3f6e5a
parent a8ef53cc
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -820,17 +820,17 @@
    <!-- The gap between segments in the notification progress bar -->
    <dimen name="notification_progress_segSeg_gap">2dp</dimen>
    <!-- The gap between a segment and a point in the notification progress bar -->
    <dimen name="notification_progress_segPoint_gap">4dp</dimen>
    <dimen name="notification_progress_segPoint_gap">8dp</dimen>
    <!-- The dash gap of the notification progress bar segments -->
    <dimen name="notification_progress_segments_dash_gap">9dp</dimen>
    <dimen name="notification_progress_segments_dash_gap">8dp</dimen>
    <!-- The dash width of the notification progress bar segments -->
    <dimen name="notification_progress_segments_dash_width">3dp</dimen>
    <!-- The height of the notification progress bar segments -->
    <dimen name="notification_progress_segments_height">6dp</dimen>
    <!-- The radius of the notification progress bar points -->
    <dimen name="notification_progress_points_radius">10dp</dimen>
    <dimen name="notification_progress_points_radius">6dp</dimen>
    <!-- The corner radius of the notification progress bar points drawn as rects -->
    <dimen name="notification_progress_points_corner_radius">4dp</dimen>
    <dimen name="notification_progress_points_corner_radius">2dp</dimen>
    <!-- The inset of the notification progress bar points drawn as rects -->
    <dimen name="notification_progress_points_inset">0dp</dimen>