blob: e3070e2e4b01a5874358bee4fbb96116e06949d3 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2015 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>
<!-- START: Ported from WearableSupport -->
<declare-styleable name="CircledImageView">
<attr name="android:src" />
<attr name="circle_color" format="color" />
<attr name="circle_radius" format="dimension" />
<attr name="circle_radius_pressed" format="dimension" />
<attr name="circle_border_width" format="dimension" />
<attr name="circle_border_color" format="color" />
<attr name="circle_padding" format="dimension" />
<attr name="shadow_width" format="dimension" />
<attr name="image_circle_percentage" format="dimension" />
<attr name="image_horizontal_offcenter_percentage" format="dimension" />
<attr name="image_tint" format="color" />
<attr name="circle_radius_percent" format="fraction" />
<attr name="circle_radius_pressed_percent" format="fraction" />
</declare-styleable>
<!-- END: Ported from WearableSupport -->
<declare-styleable name="Theme">
<attr name="alertDialogCenterButtons" format="boolean" />
</declare-styleable>
<declare-styleable name="AlertDialog">
<attr name="fullDark" format="reference|color" />
<attr name="topDark" format="reference|color" />
<attr name="centerDark" format="reference|color" />
<attr name="bottomDark" format="reference|color" />
<attr name="fullBright" format="reference|color" />
<attr name="topBright" format="reference|color" />
<attr name="centerBright" format="reference|color" />
<attr name="bottomBright" format="reference|color" />
<attr name="bottomMedium" format="reference|color" />
<attr name="centerMedium" format="reference|color" />
<attr name="layout" format="reference" />
<attr name="buttonPanelSideLayout" format="reference" />
<attr name="listLayout" format="reference" />
<attr name="multiChoiceItemLayout" format="reference" />
<attr name="singleChoiceItemLayout" format="reference" />
<attr name="listItemLayout" format="reference" />
<attr name="progressLayout" format="reference" />
<attr name="horizontalProgressLayout" format="reference" />
<!-- @hide Not ready for public use. -->
<attr name="showTitle" format="boolean" />
<!-- Whether fullDark, etc. should use default values if null. -->
<attr name="needsDefaultBackgrounds" format="boolean" />
<!-- Workaround until we replace AlertController with custom layout. -->
<attr name="controllerType">
<!-- The default controller. -->
<enum name="normal" value="0" />
<!-- Controller for micro specific layout. -->
<enum name="micro" value="1" />
</attr>
<!-- Offset when scrolling to a selection. -->
<attr name="selectionScrollOffset" format="dimension" />
</declare-styleable>
<declare-styleable name="ButtonBarLayout">
<!-- Whether to automatically stack the buttons when there is not
enough space to lay them out side-by-side. -->
<attr name="allowStacking" format="boolean" />
</declare-styleable>
<declare-styleable name="TextAppearance">
<!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
<attr name="textSize" format="dimension" />
</declare-styleable>
</resources>