Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2016 The Android Open Source Project
      3 
      4 Licensed under the Apache License, Version 2.0 (the "License");
      5 you may not use this file except in compliance with the License.
      6 You may obtain a copy of the License at
      7 
      8   http://www.apache.org/licenses/LICENSE-2.0
      9 
     10 Unless required by applicable law or agreed to in writing, software
     11 distributed under the License is distributed on an "AS IS" BASIS,
     12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13 See the License for the specific language governing permissions and
     14 limitations under the License.
     15 -->
     16 <resources>
     17     <declare-styleable name="PagedListView">
     18         <!-- Fade duration in ms -->
     19         <attr name="fadeLastItem" format="boolean" />
     20         <!-- Set to true/false to offset rows as they slide off screen. Defaults to true -->
     21         <attr name="offsetRows" format="boolean" />
     22         <attr name="glowColor" format="color" />
     23         <!-- Whether offsetting the list view by the amount of left scroll bar -->
     24         <attr name="offsetScrollBar" format="boolean" />
     25         <!-- Whether or not to show a diving line between each item of the list. -->
     26         <attr name="showDivider" format="boolean" />
     27         <!-- An optional id that specifies a child View whose starting edge will be used to
     28              determine the start position of the dividing line. -->
     29         <attr name="alignDividerStartTo" format="reference" />
     30         <!-- An optional id that specifies a child View whose ending edge will be used to
     31              determine the end position of the dividing line. -->
     32         <attr name="alignDividerEndTo" format="reference" />
     33         <!-- A starting margin before the drawing of the dividing line. This margin will be an
     34              offset from the view specified by "alignDividerStartTo" if given. -->
     35         <attr name="dividerStartMargin" format="dimension" />
     36         <!-- The width of the container for the scroll -->
     37         <attr name="scrollbarContainerWidth" format="dimension" />
     38         <!-- The width of the margin on the right side of the list -->
     39         <attr name="rightMargin" format="dimension" />
     40     </declare-styleable>
     41 
     42     <declare-styleable name="StreamCardView">
     43         <!-- The number of columns that this StreamCardView should span across. This value will
     44              determine the width of the StreamCardView. -->
     45         <attr name="columnSpan" format="integer" />
     46     </declare-styleable>
     47 
     48     <declare-styleable name="DrawerArrowDrawable">
     49         <!-- The drawing color for the bars -->
     50         <attr name="carArrowColor" format="color"/>
     51         <!-- Whether bars should rotate or not during transition -->
     52         <attr name="carArrowSpinBars" format="boolean"/>
     53         <!-- The total size of the drawable -->
     54         <attr name="carArrowDrawableSize" format="dimension"/>
     55         <!-- The max gap between the bars when they are parallel to each other -->
     56         <attr name="carArrowGapBetweenBars" format="dimension"/>
     57         <!-- The size of the top and bottom bars when they merge to the middle bar to form an arrow -->
     58         <attr name="carArrowTopBottomBarSize" format="dimension"/>
     59         <!-- The size of the middle bar when top and bottom bars merge into middle bar to form an arrow -->
     60         <attr name="carArrowMiddleBarSize" format="dimension"/>
     61         <!-- The size of the bars when they are parallel to each other -->
     62         <attr name="carArrowBarSize" format="dimension"/>
     63         <!-- The thickness (stroke size) for the bar paint -->
     64         <attr name="carArrowThickness" format="dimension"/>
     65     </declare-styleable>
     66 
     67     <declare-styleable name="MaxWidthLayout">
     68         <attr name="carMaxWidth" format="dimension" />
     69     </declare-styleable>
     70 </resources>
     71