Merge "Increase the thickness of the fill protection for the battery icon"
This commit is contained in:
committed by
Android (Google) Code Review
commit
edbf177d15
@@ -411,8 +411,8 @@ open class ThemedBatteryDrawable(private val context: Context, frameColor: Int)
|
||||
private const val CRITICAL_LEVEL = 15
|
||||
// On a 12x20 grid, how wide to make the fill protection stroke.
|
||||
// Scales when our size changes
|
||||
private const val PROTECTION_STROKE_WIDTH = 1.4f
|
||||
private const val PROTECTION_STROKE_WIDTH = 3f
|
||||
// Arbitrarily chosen for visibility at small sizes
|
||||
private const val PROTECTION_MIN_STROKE_WIDTH = 5f
|
||||
private const val PROTECTION_MIN_STROKE_WIDTH = 6f
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user