mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-10-31 23:45:00 -04:00
225 lines
11 KiB
XML
225 lines
11 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<resources>
|
|
<attr name="titleTextStyle" format="reference" />
|
|
<attr name="subtitleTextStyle" format="reference" />
|
|
<attr name="background" format="reference" />
|
|
<attr name="backgroundSplit" format="reference" />
|
|
<attr name="height" format="dimension" />
|
|
<attr name="divider" format="reference" />
|
|
|
|
<declare-styleable name="SherlockTheme">
|
|
<!-- =================== -->
|
|
<!-- Action bar styles -->
|
|
<!-- =================== -->
|
|
<eat-comment />
|
|
<!-- Default style for tabs within an action bar -->
|
|
<attr name="actionBarTabStyle" format="reference" />
|
|
<attr name="actionBarTabBarStyle" format="reference" />
|
|
<attr name="actionBarTabTextStyle" format="reference" />
|
|
<attr name="actionOverflowButtonStyle" format="reference" />
|
|
<!-- Reference to a style for the Action Bar -->
|
|
<attr name="actionBarStyle" format="reference" />
|
|
<!-- Reference to a style for the split Action Bar. This style
|
|
controls the split component that holds the menu/action
|
|
buttons. actionBarStyle is still used for the primary
|
|
bar. -->
|
|
<attr name="actionBarSplitStyle" format="reference" />
|
|
<!-- Reference to a theme that should be used to inflate widgets
|
|
and layouts destined for the action bar. Most of the time
|
|
this will be a reference to the current theme, but when
|
|
the action bar has a significantly different contrast
|
|
profile than the rest of the activity the difference
|
|
can become important. If this is set to @null the current
|
|
theme will be used.-->
|
|
<attr name="actionBarWidgetTheme" format="reference" />
|
|
<!-- Size of the Action Bar, including the contextual
|
|
bar used to present Action Modes. -->
|
|
<attr name="actionBarSize" format="dimension" >
|
|
<enum name="wrap_content" value="0" />
|
|
</attr>
|
|
<!-- Custom divider drawable to use for elements in the action bar. -->
|
|
<attr name="actionBarDivider" format="reference" />
|
|
<!-- Custom item state list drawable background for action bar items. -->
|
|
<attr name="actionBarItemBackground" format="reference" />
|
|
<!-- TextAppearance style that will be applied to text that
|
|
appears within action menu items. -->
|
|
<attr name="actionMenuTextAppearance" format="reference" />
|
|
<!-- Color for text that appears within action menu items. -->
|
|
<attr name="actionMenuTextColor" format="color|reference" />
|
|
|
|
<!-- =================== -->
|
|
<!-- Action mode styles -->
|
|
<!-- =================== -->
|
|
<eat-comment />
|
|
<attr name="actionModeStyle" format="reference" />
|
|
<attr name="actionModeCloseButtonStyle" format="reference" />
|
|
<!-- Background drawable to use for action mode UI -->
|
|
<attr name="actionModeBackground" format="reference" />
|
|
<!-- Background drawable to use for action mode UI in the lower split bar -->
|
|
<attr name="actionModeSplitBackground" format="reference" />
|
|
<!-- Drawable to use for the close action mode button -->
|
|
<attr name="actionModeCloseDrawable" format="reference" />
|
|
|
|
<!-- PopupWindow style to use for action modes when showing as a window overlay. -->
|
|
<attr name="actionModePopupWindowStyle" format="reference" />
|
|
|
|
<!-- ============= -->
|
|
<!-- Button styles -->
|
|
<!-- ============= -->
|
|
<eat-comment />
|
|
|
|
<!-- Small Button style. -->
|
|
<attr name="buttonStyleSmall" format="reference" />
|
|
|
|
|
|
|
|
<!-- This Drawable is overlaid over the foreground of the Window's content area, usually
|
|
to place a shadow below the title. -->
|
|
<attr name="windowContentOverlay" format="reference" />
|
|
|
|
<!-- Text color, typeface, size, and style for the text inside of a popup menu. -->
|
|
<attr name="textAppearanceLargePopupMenu" format="reference" />
|
|
|
|
<!-- Text color, typeface, size, and style for small text inside of a popup menu. -->
|
|
<attr name="textAppearanceSmallPopupMenu" format="reference" />
|
|
|
|
|
|
<!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. -->
|
|
<attr name="textAppearanceSmall" format="reference" />
|
|
|
|
<attr name="textColorPrimary" format="color" />
|
|
|
|
|
|
|
|
<!-- =========== -->
|
|
<!-- List styles -->
|
|
<!-- =========== -->
|
|
<eat-comment />
|
|
|
|
<!-- A smaller, sleeker list item height. -->
|
|
<attr name="listPreferredItemHeightSmall" format="dimension" />
|
|
|
|
<!-- The preferred padding along the left edge of list items. -->
|
|
<attr name="listPreferredItemPaddingLeft" format="dimension" />
|
|
<!-- The preferred padding along the right edge of list items. -->
|
|
<attr name="listPreferredItemPaddingRight" format="dimension" />
|
|
|
|
<!-- The preferred TextAppearance for the primary text of small list items. -->
|
|
<attr name="textAppearanceListItemSmall" format="reference" />
|
|
|
|
|
|
|
|
|
|
<!-- Drawable to use for generic vertical dividers. -->
|
|
<attr name="dividerVertical" format="reference" />
|
|
|
|
<attr name="actionDropDownStyle" format="reference" />
|
|
<attr name="actionButtonStyle" format="reference" />
|
|
<attr name="homeAsUpIndicator" format="reference" />
|
|
<attr name="dropDownListViewStyle" format="reference" />
|
|
<attr name="popupMenuStyle" format="reference" />
|
|
<attr name="dropdownListPreferredItemHeight" format="dimension" />
|
|
<attr name="actionSpinnerItemStyle" format="reference" />
|
|
<attr name="windowNoTitle" format="boolean"/>
|
|
<attr name="windowActionBar" format="boolean"/>
|
|
<attr name="windowActionBarOverlay" format="boolean"/>
|
|
<attr name="windowActionModeOverlay" format="boolean"/>
|
|
<attr name="windowSplitActionBar" format="boolean" />
|
|
|
|
<!-- Specified if we are forcing an action item overflow menu. -->
|
|
<attr name="absForceOverflow" format="boolean" />
|
|
</declare-styleable>
|
|
|
|
|
|
<!-- Attributes used to style the Action Bar. -->
|
|
<declare-styleable name="SherlockActionBar">
|
|
<!-- The type of navigation to use. -->
|
|
<attr name="navigationMode">
|
|
<!-- Normal static title text -->
|
|
<enum name="normal" value="0" />
|
|
<!-- The action bar will use a selection list for navigation. -->
|
|
<enum name="listMode" value="1" />
|
|
<!-- The action bar will use a series of horizontal tabs for navigation. -->
|
|
<enum name="tabMode" value="2" />
|
|
</attr>
|
|
<!-- Options affecting how the action bar is displayed. -->
|
|
<attr name="displayOptions">
|
|
<flag name="useLogo" value="0x1" />
|
|
<flag name="showHome" value="0x2" />
|
|
<flag name="homeAsUp" value="0x4" />
|
|
<flag name="showTitle" value="0x8" />
|
|
<flag name="showCustom" value="0x10" />
|
|
<flag name="disableHome" value="0x20" />
|
|
</attr>
|
|
<!-- Specifies title text used for navigationMode="normal" -->
|
|
<attr name="title" format="string" />
|
|
<!-- Specifies subtitle text used for navigationMode="normal" -->
|
|
<attr name="subtitle" format="string" />
|
|
<!-- Specifies a style to use for title text. -->
|
|
<attr name="titleTextStyle" />
|
|
<!-- Specifies a style to use for subtitle text. -->
|
|
<attr name="subtitleTextStyle" />
|
|
<!-- Specifies the drawable used for the application icon. -->
|
|
<attr name="icon" format="reference" />
|
|
<!-- Specifies the drawable used for the application logo. -->
|
|
<attr name="logo" format="reference" />
|
|
<!-- Specifies the drawable used for item dividers. -->
|
|
<attr name="divider" />
|
|
<!-- Specifies a background drawable for the action bar. -->
|
|
<attr name="background" />
|
|
<!-- Specifies a background drawable for a second stacked row of the action bar. -->
|
|
<attr name="backgroundStacked" format="reference|color" />
|
|
<!-- Specifies a background drawable for the bottom component of a split action bar. -->
|
|
<attr name="backgroundSplit" />
|
|
<!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
|
|
<attr name="customNavigationLayout" format="reference" />
|
|
<!-- Specifies a fixed height. -->
|
|
<attr name="height" />
|
|
<!-- Specifies a layout to use for the "home" section of the action bar. -->
|
|
<attr name="homeLayout" format="reference" />
|
|
<!-- Specifies a style resource to use for an embedded progress bar. -->
|
|
<attr name="progressBarStyle" format="reference" />
|
|
<!-- Specifies a style resource to use for an indeterminate progress spinner. -->
|
|
<attr name="indeterminateProgressStyle" format="reference" />
|
|
<!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
|
|
<attr name="progressBarPadding" format="dimension" />
|
|
<!-- Specifies padding that should be applied to the left and right sides of
|
|
system-provided items in the bar. -->
|
|
<attr name="itemPadding" format="dimension" />
|
|
</declare-styleable>
|
|
|
|
|
|
<declare-styleable name="SherlockActionMode">
|
|
<!-- Specifies a style to use for title text. -->
|
|
<attr name="titleTextStyle" />
|
|
<!-- Specifies a style to use for subtitle text. -->
|
|
<attr name="subtitleTextStyle" />
|
|
<!-- Specifies a background for the action mode bar. -->
|
|
<attr name="background" />
|
|
<!-- Specifies a background for the split action mode bar. -->
|
|
<attr name="backgroundSplit" />
|
|
<!-- Specifies a fixed height for the action mode bar. -->
|
|
<attr name="height" />
|
|
</declare-styleable>
|
|
|
|
<declare-styleable name="SherlockMenuView">
|
|
<!-- Default appearance of menu item text. -->
|
|
<attr name="itemTextAppearance" format="reference" />
|
|
<!-- Default horizontal divider between rows of menu items. -->
|
|
<attr name="horizontalDivider" format="reference" />
|
|
<!-- Default vertical divider between menu items. -->
|
|
<attr name="verticalDivider" format="reference" />
|
|
<!-- Default background for the menu header. -->
|
|
<attr name="headerBackground" format="color|reference" />
|
|
<!-- Default background for each menu item. -->
|
|
<attr name="itemBackground" format="color|reference" />
|
|
<!-- Default animations for the menu. -->
|
|
<attr name="windowAnimationStyle" format="reference" />
|
|
<!-- Default disabled icon alpha for each menu item that shows an icon. -->
|
|
<attr name="itemIconDisabledAlpha" format="float" />
|
|
<!-- Whether space should be reserved in layout when an icon is missing. -->
|
|
<attr name="preserveIconSpacing" format="boolean" />
|
|
</declare-styleable>
|
|
</resources>
|