Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c699e79 authored by João Victor Mendes Freire's avatar João Victor Mendes Freire
Browse files

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
parent b0a9e788
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
<!--
    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>