Fix screenshot preview border radii

Currently the corner radii are the same (20dp) for both the preview
and the border around it. However, this looks wrong because the
border is larger. To match the curve it needs to have 24dp radii
corners (=20 + 4dp border).

Old: https://screenshot.googleplex.com/5SLGsc4Erqus9r6
New: https://screenshot.googleplex.com/Cz7w72BzjgqfqbV

Bug: 190630434
Fix: 190630434
Test: visual verification
Change-Id: I737c4091a607ffdf854d5b7418634f1bdcba75a0
This commit is contained in:
Miranda Kephart
2021-06-09 19:05:42 +00:00
parent 7674c1fa6b
commit b99d9af1dc

View File

@@ -19,5 +19,5 @@
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
android:shape="rectangle">
<solid android:color="?androidprv:attr/colorSurface"/>
<corners android:radius="20dp"/>
<corners android:radius="24dp"/>
</shape>