mobile/android/base/resources/values/attrs.xml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mobile/android/base/resources/values/attrs.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,248 @@
     1.4 +<?xml version="1.0" encoding="utf-8"?>
     1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.8 +
     1.9 +<resources>
    1.10 +
    1.11 +    <!-- Theme level attributes -->
    1.12 +    <declare-styleable name="GeckoTheme">
    1.13 +
    1.14 +        <!-- Style for GeckoMenu ListView -->
    1.15 +        <attr name="geckoMenuListViewStyle" format="reference"/>
    1.16 +
    1.17 +        <!-- Style for MenuItemActionBar -->
    1.18 +        <attr name="menuItemActionBarStyle" format="reference"/>
    1.19 +
    1.20 +        <!-- Style for MenuItemActionBar -->
    1.21 +        <attr name="menuItemActionModeStyle" format="reference"/>
    1.22 +
    1.23 +        <!-- Style for MenuItemActionView -->
    1.24 +        <attr name="menuItemActionViewStyle" format="reference"/>
    1.25 +
    1.26 +        <!-- Style for MenuItemDefault -->
    1.27 +        <attr name="menuItemDefaultStyle" format="reference"/>
    1.28 +
    1.29 +        <!-- Style for MenuItemActionBar when shown in SecondaryActionBar -->
    1.30 +        <attr name="menuItemSecondaryActionBarStyle" format="reference"/>
    1.31 +
    1.32 +        <!-- Style for MenuItemActionView's ShareActionButton -->
    1.33 +        <attr name="menuItemShareActionButtonStyle" format="reference"/>
    1.34 +
    1.35 +        <!-- Default style for the BookmarksListView -->
    1.36 +        <attr name="bookmarksListViewStyle" format="reference" />
    1.37 +
    1.38 +        <!-- Default style for the TopSitesGridItemView -->
    1.39 +        <attr name="topSitesGridItemViewStyle" format="reference" />
    1.40 +
    1.41 +        <!-- Style for the PanelGridView -->
    1.42 +        <attr name="panelGridViewStyle" format="reference" />
    1.43 +
    1.44 +        <!-- Default style for the TopSitesGridView -->
    1.45 +        <attr name="topSitesGridViewStyle" format="reference" />
    1.46 +
    1.47 +        <!-- Default style for the TopSitesThumbnailView -->
    1.48 +        <attr name="topSitesThumbnailViewStyle" format="reference" />
    1.49 +
    1.50 +        <!-- Default style for the HomeListView -->
    1.51 +        <attr name="homeListViewStyle" format="reference" />
    1.52 +
    1.53 +    </declare-styleable>
    1.54 +
    1.55 +    <!-- DoorHangers -->
    1.56 +    <declare-styleable name="DoorHanger">
    1.57 +        <attr name="arrowPopupWidth" format="dimension">
    1.58 +             <enum name="fill_parent" value="-1" />
    1.59 +             <enum name="match_parent" value="-1" />
    1.60 +             <enum name="wrap_content" value="-2" />
    1.61 +        </attr>
    1.62 +    </declare-styleable>
    1.63 +
    1.64 +    <declare-styleable name="MenuItem">
    1.65 +        <attr name="android:id"/>
    1.66 +        <attr name="android:orderInCategory"/>
    1.67 +        <attr name="android:title"/>
    1.68 +        <attr name="android:icon"/>
    1.69 +        <attr name="android:checkable"/>
    1.70 +        <attr name="android:checked"/>
    1.71 +        <attr name="android:visible"/>
    1.72 +        <attr name="android:enabled"/>
    1.73 +        <attr name="android:showAsAction"/>
    1.74 +    </declare-styleable>
    1.75 +
    1.76 +    <declare-styleable name="MenuItemDefault">
    1.77 +        <attr name="state_more" format="boolean"/>
    1.78 +    </declare-styleable>
    1.79 +
    1.80 +    <declare-styleable name="TabThumbnailWrapper">
    1.81 +        <attr name="state_recording" format="boolean"/>
    1.82 +    </declare-styleable>
    1.83 +
    1.84 +    <declare-styleable name="FlowLayout">
    1.85 +        <attr name="spacing" format="dimension"/>
    1.86 +    </declare-styleable>
    1.87 +
    1.88 +    <declare-styleable name="MultiChoicePreference">
    1.89 +        <attr name="entries" format="string"/>
    1.90 +        <attr name="entryKeys" format="string"/>
    1.91 +        <attr name="initialValues" format="string"/>
    1.92 +    </declare-styleable>
    1.93 +
    1.94 +    <declare-styleable name="BrowserToolbarCurve">
    1.95 +        <attr name="curveTowards">
    1.96 +            <flag name="none" value="0x00" />
    1.97 +            <flag name="left" value="0x01" />
    1.98 +            <flag name="right" value ="0x02" />
    1.99 +        </attr>
   1.100 +    </declare-styleable>
   1.101 +
   1.102 +    <declare-styleable name="TabsTray">
   1.103 +        <attr name="tabs">
   1.104 +            <flag name="tabs_normal" value="0x00" />
   1.105 +            <flag name="tabs_private" value ="0x01" />
   1.106 +        </attr>
   1.107 +    </declare-styleable>
   1.108 +
   1.109 +    <declare-styleable name="TextSelectionHandle">
   1.110 +        <attr name="handleType">
   1.111 +            <flag name="start" value="0x01" />
   1.112 +            <flag name="middle" value="0x02" />
   1.113 +            <flag name="end" value="0x03" />
   1.114 +        </attr>
   1.115 +    </declare-styleable>
   1.116 +
   1.117 +    <declare-styleable name="PrivateBrowsing">
   1.118 +        <attr name="state_private" format="boolean"/>
   1.119 +    </declare-styleable>
   1.120 +
   1.121 +    <declare-styleable name="LightweightTheme">
   1.122 +        <attr name="state_light" format="boolean"/>
   1.123 +        <attr name="state_dark" format="boolean"/>
   1.124 +        <attr name="autoUpdateTheme" format="boolean"/>
   1.125 +    </declare-styleable>
   1.126 +
   1.127 +    <declare-styleable name="TwoWayView">
   1.128 +        <!-- Imported from View -->
   1.129 +        <attr name="android:id"/>
   1.130 +        <attr name="android:tag"/>
   1.131 +        <attr name="android:scrollX"/>
   1.132 +        <attr name="android:scrollY"/>
   1.133 +        <attr name="android:background"/>
   1.134 +        <attr name="android:padding"/>
   1.135 +        <attr name="android:paddingLeft"/>
   1.136 +        <attr name="android:paddingTop"/>
   1.137 +        <attr name="android:paddingRight"/>
   1.138 +        <attr name="android:paddingBottom"/>
   1.139 +        <attr name="android:paddingStart"/>
   1.140 +        <attr name="android:paddingEnd"/>
   1.141 +        <attr name="android:focusable"/>
   1.142 +        <attr name="android:focusableInTouchMode"/>
   1.143 +        <attr name="android:visibility"/>
   1.144 +        <attr name="android:fitsSystemWindows"/>
   1.145 +        <attr name="android:scrollbars"/>
   1.146 +        <attr name="android:scrollbarStyle"/>
   1.147 +        <attr name="android:isScrollContainer"/>
   1.148 +        <attr name="android:fadeScrollbars"/>
   1.149 +        <attr name="android:scrollbarFadeDuration"/>
   1.150 +        <attr name="android:scrollbarDefaultDelayBeforeFade"/>
   1.151 +        <attr name="android:scrollbarSize"/>
   1.152 +        <attr name="android:scrollbarThumbHorizontal"/>
   1.153 +        <attr name="android:scrollbarThumbVertical"/>
   1.154 +        <attr name="android:scrollbarTrackHorizontal"/>
   1.155 +        <attr name="android:scrollbarTrackVertical"/>
   1.156 +        <attr name="android:scrollbarAlwaysDrawHorizontalTrack"/>
   1.157 +        <attr name="android:scrollbarAlwaysDrawVerticalTrack"/>
   1.158 +        <attr name="android:fadingEdge"/>
   1.159 +        <attr name="android:requiresFadingEdge"/>
   1.160 +        <attr name="android:fadingEdgeLength"/>
   1.161 +        <attr name="android:nextFocusLeft"/>
   1.162 +        <attr name="android:nextFocusRight"/>
   1.163 +        <attr name="android:nextFocusUp"/>
   1.164 +        <attr name="android:nextFocusDown"/>
   1.165 +        <attr name="android:nextFocusForward"/>
   1.166 +        <attr name="android:clickable"/>
   1.167 +        <attr name="android:longClickable"/>
   1.168 +        <attr name="android:saveEnabled"/>
   1.169 +        <attr name="android:filterTouchesWhenObscured"/>
   1.170 +        <attr name="android:drawingCacheQuality"/>
   1.171 +        <attr name="android:keepScreenOn"/>
   1.172 +        <attr name="android:duplicateParentState"/>
   1.173 +        <attr name="android:minHeight"/>
   1.174 +        <attr name="android:minWidth"/>
   1.175 +        <attr name="android:soundEffectsEnabled"/>
   1.176 +        <attr name="android:hapticFeedbackEnabled"/>
   1.177 +        <attr name="android:contentDescription"/>
   1.178 +        <attr name="android:onClick"/>
   1.179 +        <attr name="android:overScrollMode"/>
   1.180 +        <attr name="android:alpha"/>
   1.181 +        <attr name="android:translationX"/>
   1.182 +        <attr name="android:translationY"/>
   1.183 +        <attr name="android:transformPivotX"/>
   1.184 +        <attr name="android:transformPivotY"/>
   1.185 +        <attr name="android:rotation"/>
   1.186 +        <attr name="android:rotationX"/>
   1.187 +        <attr name="android:rotationY"/>
   1.188 +        <attr name="android:scaleX"/>
   1.189 +        <attr name="android:scaleY"/>
   1.190 +        <attr name="android:verticalScrollbarPosition"/>
   1.191 +        <attr name="android:layerType"/>
   1.192 +        <attr name="android:layoutDirection"/>
   1.193 +        <attr name="android:textDirection"/>
   1.194 +        <attr name="android:textAlignment"/>
   1.195 +
   1.196 +        <!-- Imported from Android -->
   1.197 +        <attr name="android:orientation"/>
   1.198 +
   1.199 +        <!-- Imported from AbsListView -->
   1.200 +        <attr name="android:choiceMode"/>
   1.201 +        <attr name="android:drawSelectorOnTop"/>
   1.202 +        <attr name="android:listSelector"/>
   1.203 +    </declare-styleable>
   1.204 +
   1.205 +    <declare-styleable name="HomeListView">
   1.206 +        <!-- Draws a divider on top of the list, if true. Defaults to false. -->
   1.207 +        <attr name="topDivider" format="boolean"/>
   1.208 +    </declare-styleable>
   1.209 +
   1.210 +    <declare-styleable name="HomePagerTabStrip">
   1.211 +        <attr name="tabIndicatorColor" format="color"/>
   1.212 +    </declare-styleable>
   1.213 +
   1.214 +    <declare-styleable name="FadedTextView">
   1.215 +        <attr name="fadeWidth" format="dimension"/>
   1.216 +    </declare-styleable>
   1.217 +
   1.218 +    <declare-styleable name="BookmarkFolderView">
   1.219 +        <attr name="state_open" format="boolean"/>
   1.220 +    </declare-styleable>
   1.221 +
   1.222 +    <declare-styleable name="GeckoView">
   1.223 +        <attr name="url" format="string"/>
   1.224 +        <attr name="doinit" format="boolean"/>
   1.225 +    </declare-styleable>
   1.226 +
   1.227 +    <declare-styleable name="IconTabWidget">
   1.228 +        <attr name="android:layout"/>
   1.229 +
   1.230 +        <!-- Sets the tab's content type. Defaults to icon. -->
   1.231 +        <attr name="display">
   1.232 +            <enum name="icon" value="0x00" />
   1.233 +            <enum name="text" value="0x01" />
   1.234 +        </attr>
   1.235 +    </declare-styleable>
   1.236 +
   1.237 +    <declare-styleable name="TopSitesGridView">
   1.238 +        <attr name="android:horizontalSpacing"/>
   1.239 +        <attr name="android:verticalSpacing"/>
   1.240 +    </declare-styleable>
   1.241 +
   1.242 +    <declare-styleable name="TabMenuStrip">
   1.243 +        <attr name="strip" format="reference"/>
   1.244 +    </declare-styleable>
   1.245 +
   1.246 +    <declare-styleable name="EllipsisTextView">
   1.247 +        <attr name="ellipsizeAtLine" format="integer"/>
   1.248 +    </declare-styleable>
   1.249 +
   1.250 +</resources>
   1.251 +

mercurial