diff options
| author | Beverly <beverlyt@google.com> | 2018-07-20 14:35:05 -0400 |
|---|---|---|
| committer | Beverly <beverlyt@google.com> | 2018-07-24 11:15:27 -0400 |
| commit | 68a521a410050ffd4acde71738ea1d02c5378dee (patch) | |
| tree | 060d79a7b0f8cef61cf221d00f92ee6d9a9ad870 /crosshatch | |
| parent | 04647e9e760d1c4e5847e752f7fe5480f44f71e5 (diff) | |
Update device specific rounded corners
- rounded corners should be in px instead of dp,
so on display size change corners don't change
Bug: 75949920
Test: manual
Change-Id: I667d0f977b008c37c6649d5b13dd44195277d57f
Diffstat (limited to 'crosshatch')
| -rw-r--r-- | crosshatch/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded.xml | 24 | ||||
| -rw-r--r-- | crosshatch/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml | 6 |
2 files changed, 27 insertions, 3 deletions
diff --git a/crosshatch/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded.xml b/crosshatch/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded.xml new file mode 100644 index 0000000..e02106c --- /dev/null +++ b/crosshatch/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded.xml @@ -0,0 +1,24 @@ +<!-- + Copyright (C) 2018 The Android Open Source Project + + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="8dp" + android:height="8dp" + android:viewportWidth="8" + android:viewportHeight="8"> + + <path + android:fillColor="#000000" + android:pathData="M8,0H0v8C0,3,3,0,8,0z" /> + +</vector> diff --git a/crosshatch/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml b/crosshatch/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml index 44dc5f5..9b0fafb 100644 --- a/crosshatch/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml +++ b/crosshatch/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml @@ -16,9 +16,9 @@ */ --> <resources> - <dimen name="rounded_corner_radius_top">35dp</dimen> - <dimen name="rounded_corner_radius_bottom">20dp</dimen> - <dimen name="rounded_corner_content_padding">8dp</dimen> + <dimen name="rounded_corner_radius_top">133px</dimen> + <dimen name="rounded_corner_radius_bottom">70px</dimen> + <dimen name="rounded_corner_content_padding">28px</dimen> <dimen name="display_cutout_margin_consumption">0px</dimen> |
