Add new res for small screens in avatar picker

This CL adds a dimens file for smaller screens to avoid the avatar
picker images being cropped.

Screenshot: https://screenshot.googleplex.com/4AcJTr3TTDJ3yc4.png

Bug: 238380225
Test: manual check screen on various screen sizes
Change-Id: I84478030145cadb9930989f0c077f2343fe36fe1
This commit is contained in:
João Victor Mendes Freire
2022-10-05 15:11:44 +00:00
parent b0a9e7883d
commit 8c699e7935

View File

@@ -0,0 +1,21 @@
<!--
Copyright (C) 2022 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
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.
-->
<resources>
<integer name="avatar_picker_columns">2</integer>
<dimen name="avatar_size_in_picker">96dp</dimen>
<dimen name="avatar_picker_padding">6dp</dimen>
<dimen name="avatar_picker_margin">2dp</dimen>
</resources>