gecko-dev/mobile/android/base/resources/values/attrs.xml

241 lines
8.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<resources>
<!-- Theme level attributes -->
<declare-styleable name="GeckoTheme">
<!-- Style for GeckoMenu ListView -->
<attr name="geckoMenuListViewStyle" format="reference"/>
<!-- Style for MenuItemActionBar -->
<attr name="menuItemActionBarStyle" format="reference"/>
<!-- Style for MenuItemActionBar -->
<attr name="menuItemActionModeStyle" format="reference"/>
<!-- Style for MenuItemActionView -->
<attr name="menuItemActionViewStyle" format="reference"/>
<!-- Style for MenuItemDefault -->
<attr name="menuItemDefaultStyle" format="reference"/>
<!-- Style for MenuItemActionBar when shown in SecondaryActionBar -->
<attr name="menuItemSecondaryActionBarStyle" format="reference"/>
<!-- Style for MenuItemActionView's ShareActionButton -->
<attr name="menuItemShareActionButtonStyle" format="reference"/>
<!-- Default style for the BookmarksListView -->
<attr name="bookmarksListViewStyle" format="reference" />
<!-- Default style for the TopSitesGridItemView -->
<attr name="topSitesGridItemViewStyle" format="reference" />
<!-- Style for the PanelGridView -->
<attr name="panelGridViewStyle" format="reference" />
<!-- Default style for the TopSitesGridView -->
<attr name="topSitesGridViewStyle" format="reference" />
<!-- Default style for the TopSitesThumbnailView -->
<attr name="topSitesThumbnailViewStyle" format="reference" />
<!-- Default style for the HomeListView -->
<attr name="homeListViewStyle" format="reference" />
</declare-styleable>
<!-- DoorHangers -->
<declare-styleable name="DoorHanger">
<attr name="arrowPopupWidth" format="dimension">
<enum name="fill_parent" value="-1" />
<enum name="match_parent" value="-1" />
<enum name="wrap_content" value="-2" />
</attr>
</declare-styleable>
<declare-styleable name="MenuItem">
<attr name="android:id"/>
<attr name="android:orderInCategory"/>
<attr name="android:title"/>
<attr name="android:icon"/>
<attr name="android:checkable"/>
<attr name="android:checked"/>
<attr name="android:visible"/>
<attr name="android:enabled"/>
<attr name="android:showAsAction"/>
</declare-styleable>
<declare-styleable name="MenuItemDefault">
<attr name="state_more" format="boolean"/>
</declare-styleable>
<declare-styleable name="FlowLayout">
<attr name="spacing" format="dimension"/>
</declare-styleable>
<declare-styleable name="MultiChoicePreference">
<attr name="entries" format="string"/>
<attr name="entryKeys" format="string"/>
<attr name="initialValues" format="string"/>
</declare-styleable>
<declare-styleable name="BrowserToolbarCurve">
<attr name="curveTowards">
<flag name="none" value="0x00" />
<flag name="left" value="0x01" />
<flag name="right" value ="0x02" />
</attr>
</declare-styleable>
<declare-styleable name="TabsTray">
<attr name="tabs">
<flag name="tabs_normal" value="0x00" />
<flag name="tabs_private" value ="0x01" />
</attr>
</declare-styleable>
<declare-styleable name="TextSelectionHandle">
<attr name="handleType">
<flag name="start" value="0x01" />
<flag name="middle" value="0x02" />
<flag name="end" value="0x03" />
</attr>
</declare-styleable>
<declare-styleable name="PrivateBrowsing">
<attr name="state_private" format="boolean"/>
</declare-styleable>
<declare-styleable name="LightweightTheme">
<attr name="state_light" format="boolean"/>
<attr name="state_dark" format="boolean"/>
<attr name="autoUpdateTheme" format="boolean"/>
</declare-styleable>
<declare-styleable name="TwoWayView">
<!-- Imported from View -->
<attr name="android:id"/>
<attr name="android:tag"/>
<attr name="android:scrollX"/>
<attr name="android:scrollY"/>
<attr name="android:background"/>
<attr name="android:padding"/>
<attr name="android:paddingLeft"/>
<attr name="android:paddingTop"/>
<attr name="android:paddingRight"/>
<attr name="android:paddingBottom"/>
<attr name="android:paddingStart"/>
<attr name="android:paddingEnd"/>
<attr name="android:focusable"/>
<attr name="android:focusableInTouchMode"/>
<attr name="android:visibility"/>
<attr name="android:fitsSystemWindows"/>
<attr name="android:scrollbars"/>
<attr name="android:scrollbarStyle"/>
<attr name="android:isScrollContainer"/>
<attr name="android:fadeScrollbars"/>
<attr name="android:scrollbarFadeDuration"/>
<attr name="android:scrollbarDefaultDelayBeforeFade"/>
<attr name="android:scrollbarSize"/>
<attr name="android:scrollbarThumbHorizontal"/>
<attr name="android:scrollbarThumbVertical"/>
<attr name="android:scrollbarTrackHorizontal"/>
<attr name="android:scrollbarTrackVertical"/>
<attr name="android:scrollbarAlwaysDrawHorizontalTrack"/>
<attr name="android:scrollbarAlwaysDrawVerticalTrack"/>
<attr name="android:fadingEdge"/>
<attr name="android:requiresFadingEdge"/>
<attr name="android:fadingEdgeLength"/>
<attr name="android:nextFocusLeft"/>
<attr name="android:nextFocusRight"/>
<attr name="android:nextFocusUp"/>
<attr name="android:nextFocusDown"/>
<attr name="android:nextFocusForward"/>
<attr name="android:clickable"/>
<attr name="android:longClickable"/>
<attr name="android:saveEnabled"/>
<attr name="android:filterTouchesWhenObscured"/>
<attr name="android:drawingCacheQuality"/>
<attr name="android:keepScreenOn"/>
<attr name="android:duplicateParentState"/>
<attr name="android:minHeight"/>
<attr name="android:minWidth"/>
<attr name="android:soundEffectsEnabled"/>
<attr name="android:hapticFeedbackEnabled"/>
<attr name="android:contentDescription"/>
<attr name="android:onClick"/>
<attr name="android:overScrollMode"/>
<attr name="android:alpha"/>
<attr name="android:translationX"/>
<attr name="android:translationY"/>
<attr name="android:transformPivotX"/>
<attr name="android:transformPivotY"/>
<attr name="android:rotation"/>
<attr name="android:rotationX"/>
<attr name="android:rotationY"/>
<attr name="android:scaleX"/>
<attr name="android:scaleY"/>
<attr name="android:verticalScrollbarPosition"/>
<attr name="android:layerType"/>
<attr name="android:layoutDirection"/>
<attr name="android:textDirection"/>
<attr name="android:textAlignment"/>
<!-- Imported from Android -->
<attr name="android:orientation"/>
<!-- Imported from AbsListView -->
<attr name="android:choiceMode"/>
<attr name="android:drawSelectorOnTop"/>
<attr name="android:listSelector"/>
</declare-styleable>
<declare-styleable name="HomeListView">
<!-- Draws a divider on top of the list, if true. Defaults to false. -->
<attr name="topDivider" format="boolean"/>
</declare-styleable>
<declare-styleable name="HomePagerTabStrip">
<attr name="tabIndicatorColor" format="color"/>
</declare-styleable>
<declare-styleable name="FadedTextView">
<attr name="fadeWidth" format="dimension"/>
</declare-styleable>
<declare-styleable name="BookmarkFolderView">
<attr name="state_open" format="boolean"/>
</declare-styleable>
<declare-styleable name="GeckoView">
<attr name="url" format="string"/>
<attr name="doinit" format="boolean"/>
</declare-styleable>
<declare-styleable name="IconTabWidget">
<attr name="android:layout"/>
<!-- Sets the tab's content type. Defaults to icon. -->
<attr name="display">
<enum name="icon" value="0x00" />
<enum name="text" value="0x01" />
</attr>
</declare-styleable>
<declare-styleable name="TopSitesGridView">
<attr name="android:horizontalSpacing"/>
<attr name="android:verticalSpacing"/>
</declare-styleable>
<declare-styleable name="TabMenuStrip">
<attr name="strip" format="reference"/>
</declare-styleable>
</resources>