instantnoodlep: Import rounded corners config from OOS

* Set rounded_corner_radius instead of _top + _bottom
  as they are exactly the same.
* Overlay rounded.xml with _top drawable as _bottom one
  is the pretty much the same as _top after manually
  rotating it by 90 degrees.

Change-Id: I89ce857d15804f9a9361ff3825a9426a9382c578
This commit is contained in:
LuK1337 2021-02-05 15:56:02 +01:00
parent ced25a6b00
commit aea57606ea
2 changed files with 17 additions and 0 deletions

View File

@ -399,6 +399,9 @@
<item>7373</item>
</integer-array>
<!-- Default radius of the software rounded corners. -->
<dimen name="rounded_corner_radius">209px</dimen>
<!-- The bounding path of the cutout region of the main built-in display.
Must either be empty if there is no cutout region, or a string that is parsable by
{@link android.util.PathParser}.

View File

@ -0,0 +1,14 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="209dip"
android:height="209dip"
android:viewportWidth="209"
android:viewportHeight="209">
<path
android:fillColor="#ff000000"
android:pathData="M196.755,-0L-0,-0L-0,208.273C-0,116.958 2.154,70.516 39.062,36.485C75.202,3.163 108.538,-0 196.755,-0Z"
android:strokeColor="#00000000"
android:strokeWidth="1.0"
android:fillType="evenOdd" />
</vector>