aboutsummaryrefslogtreecommitdiffstats
path: root/play-services-base/res/values/common_attrs.xml
blob: 8740250de71fdb2d45d2c7b960d51b2a08b808fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="UTF-8"?>

<!-- Copyright 2014 Google Inc. All Rights Reserved. -->
<resources>

    <!-- Attributes for LoadingImageView -->
    <declare-styleable name="LoadingImageView">

        <!--
        What kind of aspect ratio adjustment to do.  It must be one of "none", "adjust_width",
        or "adjust_height".
        -->
        <attr name="imageAspectRatioAdjust" format="enum">
            <enum name="none" value="0" />
            <enum name="adjust_width" value="1" />
            <enum name="adjust_height" value="2" />
        </attr>

        <!--
        The fixed aspect ratio to use in aspect ratio adjustments.
        -->
        <attr name="imageAspectRatio" format="float" />

        <!--
        Whether or not this view should have a circular clip applied
        -->
        <attr name="circleCrop" format="boolean" />

    </declare-styleable>

</resources>