Add public attr for fragmentBreadCrumbStyle, apply in constructor
BUG: 10680808 Change-Id: I7c22c1ff0b91892e62ea6bf6a311d33df6f13d78
This commit is contained in:
@@ -518,6 +518,7 @@ package android {
|
||||
field public static final int format12Hour = 16843722; // 0x10103ca
|
||||
field public static final int format24Hour = 16843723; // 0x10103cb
|
||||
field public static final int fragment = 16843491; // 0x10102e3
|
||||
field public static final int fragmentBreadCrumbsStyle = 16843759; // 0x10103ef
|
||||
field public static final int fragmentCloseEnterAnimation = 16843495; // 0x10102e7
|
||||
field public static final int fragmentCloseExitAnimation = 16843496; // 0x10102e8
|
||||
field public static final int fragmentFadeEnterAnimation = 16843497; // 0x10102e9
|
||||
@@ -1854,6 +1855,7 @@ package android {
|
||||
field public static final int Widget_DeviceDefault_DropDownItem_Spinner = 16974178; // 0x1030162
|
||||
field public static final int Widget_DeviceDefault_EditText = 16974154; // 0x103014a
|
||||
field public static final int Widget_DeviceDefault_ExpandableListView = 16974155; // 0x103014b
|
||||
field public static final int Widget_DeviceDefault_FragmentBreadCrumbs = 16974307; // 0x10301e3
|
||||
field public static final int Widget_DeviceDefault_GridView = 16974156; // 0x103014c
|
||||
field public static final int Widget_DeviceDefault_HorizontalScrollView = 16974171; // 0x103015b
|
||||
field public static final int Widget_DeviceDefault_ImageButton = 16974157; // 0x103014d
|
||||
@@ -1887,6 +1889,7 @@ package android {
|
||||
field public static final int Widget_DeviceDefault_Light_DropDownItem_Spinner = 16974233; // 0x1030199
|
||||
field public static final int Widget_DeviceDefault_Light_EditText = 16974206; // 0x103017e
|
||||
field public static final int Widget_DeviceDefault_Light_ExpandableListView = 16974207; // 0x103017f
|
||||
field public static final int Widget_DeviceDefault_Light_FragmentBreadCrumbs = 16974308; // 0x10301e4
|
||||
field public static final int Widget_DeviceDefault_Light_GridView = 16974208; // 0x1030180
|
||||
field public static final int Widget_DeviceDefault_Light_HorizontalScrollView = 16974226; // 0x1030192
|
||||
field public static final int Widget_DeviceDefault_Light_ImageButton = 16974209; // 0x1030181
|
||||
@@ -1974,6 +1977,7 @@ package android {
|
||||
field public static final int Widget_Holo_DropDownItem_Spinner = 16973995; // 0x10300ab
|
||||
field public static final int Widget_Holo_EditText = 16973971; // 0x1030093
|
||||
field public static final int Widget_Holo_ExpandableListView = 16973972; // 0x1030094
|
||||
field public static final int Widget_Holo_FragmentBreadCrumbs = 16974305; // 0x10301e1
|
||||
field public static final int Widget_Holo_GridView = 16973973; // 0x1030095
|
||||
field public static final int Widget_Holo_HorizontalScrollView = 16973988; // 0x10300a4
|
||||
field public static final int Widget_Holo_ImageButton = 16973974; // 0x1030096
|
||||
@@ -2007,6 +2011,7 @@ package android {
|
||||
field public static final int Widget_Holo_Light_DropDownItem_Spinner = 16974041; // 0x10300d9
|
||||
field public static final int Widget_Holo_Light_EditText = 16974014; // 0x10300be
|
||||
field public static final int Widget_Holo_Light_ExpandableListView = 16974015; // 0x10300bf
|
||||
field public static final int Widget_Holo_Light_FragmentBreadCrumbs = 16974306; // 0x10301e2
|
||||
field public static final int Widget_Holo_Light_GridView = 16974016; // 0x10300c0
|
||||
field public static final int Widget_Holo_Light_HorizontalScrollView = 16974034; // 0x10300d2
|
||||
field public static final int Widget_Holo_Light_ImageButton = 16974017; // 0x10300c1
|
||||
|
||||
@@ -81,7 +81,7 @@ public class FragmentBreadCrumbs extends ViewGroup
|
||||
}
|
||||
|
||||
public FragmentBreadCrumbs(Context context, AttributeSet attrs) {
|
||||
this(context, attrs, android.R.style.Widget_FragmentBreadCrumbs);
|
||||
this(context, attrs, com.android.internal.R.attr.fragmentBreadCrumbsStyle);
|
||||
}
|
||||
|
||||
public FragmentBreadCrumbs(Context context, AttributeSet attrs, int defStyleAttr) {
|
||||
|
||||
@@ -599,6 +599,8 @@
|
||||
<attr name="popupMenuStyle" format="reference" />
|
||||
<!-- Default StackView style. -->
|
||||
<attr name="stackViewStyle" format="reference" />
|
||||
<!-- Default style for the FragmentBreadCrumbs widget. -->
|
||||
<attr name="fragmentBreadCrumbsStyle" format="reference" />
|
||||
|
||||
<!-- NumberPicker style. -->
|
||||
<attr name="numberPickerStyle" format="reference" />
|
||||
|
||||
@@ -2078,5 +2078,11 @@
|
||||
<public type="attr" name="requireDeviceUnlock" />
|
||||
<public type="attr" name="apduServiceBanner" />
|
||||
<public type="attr" name="provideAssistData" />
|
||||
<public type="attr" name="fragmentBreadCrumbsStyle" />
|
||||
|
||||
<public type="style" name="Widget.Holo.FragmentBreadCrumbs" />
|
||||
<public type="style" name="Widget.Holo.Light.FragmentBreadCrumbs" />
|
||||
<public type="style" name="Widget.DeviceDefault.FragmentBreadCrumbs" />
|
||||
<public type="style" name="Widget.DeviceDefault.Light.FragmentBreadCrumbs" />
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -516,6 +516,11 @@ please see styles_device_defaults.xml.
|
||||
<item name="android:childDivider">@android:drawable/divider_horizontal_bright_opaque</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.FragmentBreadCrumbs">
|
||||
<item name="android:padding">4dp</item>
|
||||
<item name="android:animateLayoutChanges">true</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.ImageWell">
|
||||
<item name="android:background">@android:drawable/panel_picture_frame_background</item>
|
||||
</style>
|
||||
@@ -687,12 +692,6 @@ please see styles_device_defaults.xml.
|
||||
<item name="android:popupAnimationStyle">@android:style/Animation.PopupWindow</item>
|
||||
</style>
|
||||
|
||||
<!-- Default style for {@link android.app.FragmentBreadCrumbs} view. -->
|
||||
<style name="Widget.FragmentBreadCrumbs">
|
||||
<item name="android:padding">4dp</item>
|
||||
<item name="android:animateLayoutChanges">true</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.KeyboardView" parent="android:Widget">
|
||||
<item name="android:background">@android:drawable/keyboard_background</item>
|
||||
<item name="android:keyBackground">@android:drawable/btn_keyboard_key</item>
|
||||
@@ -1664,6 +1663,9 @@ please see styles_device_defaults.xml.
|
||||
<style name="Widget.Holo.ExpandableListView.White">
|
||||
</style>
|
||||
|
||||
<style name="Widget.Holo.FragmentBreadCrumbs" parent="Widget.FragmentBreadCrumbs">
|
||||
</style>
|
||||
|
||||
<style name="Widget.Holo.Gallery" parent="Widget.Gallery">
|
||||
</style>
|
||||
|
||||
@@ -2093,6 +2095,9 @@ please see styles_device_defaults.xml.
|
||||
<style name="Widget.Holo.Light.ExpandableListView.White">
|
||||
</style>
|
||||
|
||||
<style name="Widget.Holo.Light.FragmentBreadCrumbs" parent="Widget.FragmentBreadCrumbs">
|
||||
</style>
|
||||
|
||||
<style name="Widget.Holo.Light.Gallery" parent="Widget.Gallery">
|
||||
</style>
|
||||
|
||||
|
||||
@@ -205,6 +205,9 @@ easier.
|
||||
</style>
|
||||
<style name="Widget.DeviceDefault.ExpandableListView.White" parent="Widget.Holo.ExpandableListView.White">
|
||||
|
||||
</style>
|
||||
<style name="Widget.DeviceDefault.FragmentBreadCrumbs" parent="Widget.Holo.FragmentBreadCrumbs">
|
||||
|
||||
</style>
|
||||
<style name="Widget.DeviceDefault.Gallery" parent="Widget.Holo.Gallery">
|
||||
|
||||
@@ -308,6 +311,9 @@ easier.
|
||||
</style>
|
||||
<style name="Widget.DeviceDefault.Light.ExpandableListView" parent="Widget.Holo.Light.ExpandableListView" >
|
||||
|
||||
</style>
|
||||
<style name="Widget.DeviceDefault.Light.FragmentBreadCrumbs" parent="Widget.Holo.Light.FragmentBreadCrumbs">
|
||||
|
||||
</style>
|
||||
<style name="Widget.DeviceDefault.Light.GridView" parent="Widget.Holo.Light.GridView" >
|
||||
|
||||
|
||||
@@ -223,6 +223,7 @@
|
||||
|
||||
<java-symbol type="attr" name="actionModeShareDrawable" />
|
||||
<java-symbol type="attr" name="alertDialogCenterButtons" />
|
||||
<java-symbol type="attr" name="fragmentBreadCrumbsStyle" />
|
||||
<java-symbol type="attr" name="gestureOverlayViewStyle" />
|
||||
<java-symbol type="attr" name="keyboardViewStyle" />
|
||||
<java-symbol type="attr" name="numberPickerStyle" />
|
||||
|
||||
@@ -294,8 +294,8 @@ please see themes_device_defaults.xml.
|
||||
<item name="listPopupWindowStyle">@android:style/Widget.ListPopupWindow</item>
|
||||
<item name="popupMenuStyle">@android:style/Widget.PopupMenu</item>
|
||||
<item name="activityChooserViewStyle">@android:style/Widget.ActivityChooserView</item>
|
||||
|
||||
<item name="mediaRouteButtonStyle">@android:style/Widget.DeviceDefault.MediaRouteButton</item>
|
||||
<item name="fragmentBreadCrumbsStyle">@android:style/Widget.FragmentBreadCrumbs</item>
|
||||
|
||||
<!-- Preference styles -->
|
||||
<item name="preferenceScreenStyle">@android:style/Preference.PreferenceScreen</item>
|
||||
@@ -1133,6 +1133,7 @@ please see themes_device_defaults.xml.
|
||||
<item name="popupMenuStyle">@android:style/Widget.Holo.PopupMenu</item>
|
||||
<item name="stackViewStyle">@android:style/Widget.Holo.StackView</item>
|
||||
<item name="activityChooserViewStyle">@android:style/Widget.Holo.ActivityChooserView</item>
|
||||
<item name="fragmentBreadCrumbsStyle">@android:style/Widget.Holo.FragmentBreadCrumbs</item>
|
||||
|
||||
<!-- Preference styles -->
|
||||
<item name="preferenceScreenStyle">@android:style/Preference.Holo.PreferenceScreen</item>
|
||||
@@ -1448,6 +1449,7 @@ please see themes_device_defaults.xml.
|
||||
<item name="popupMenuStyle">@android:style/Widget.Holo.Light.PopupMenu</item>
|
||||
<item name="stackViewStyle">@android:style/Widget.Holo.StackView</item>
|
||||
<item name="activityChooserViewStyle">@android:style/Widget.Holo.Light.ActivityChooserView</item>
|
||||
<item name="fragmentBreadCrumbsStyle">@android:style/Widget.Holo.Light.FragmentBreadCrumbs</item>
|
||||
|
||||
<!-- Preference styles -->
|
||||
<item name="preferenceScreenStyle">@android:style/Preference.Holo.PreferenceScreen</item>
|
||||
|
||||
Reference in New Issue
Block a user