am 77ddb026: Merge "Fix bug 3360953 - Toasts use the holo theme in non-HC apps" into honeycomb
* commit '77ddb0262094e0d30d50572e7b1a76d7b5977f46': Fix bug 3360953 - Toasts use the holo theme in non-HC apps
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 2.4 KiB |
BIN
core/res/res/drawable-hdpi/toast_frame_holo.9.png
Normal file
BIN
core/res/res/drawable-hdpi/toast_frame_holo.9.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.3 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 4.2 KiB |
BIN
core/res/res/drawable-mdpi/toast_frame_holo.9.png
Executable file
BIN
core/res/res/drawable-mdpi/toast_frame_holo.9.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 3.5 KiB |
@@ -22,7 +22,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/toast_frame">
|
||||
android:background="?android:attr/toastFrameBackground">
|
||||
|
||||
<TextView
|
||||
android:id="@android:id/message"
|
||||
|
||||
@@ -690,6 +690,9 @@
|
||||
<!-- Style for buttons without an explicit border, often used in groups. -->
|
||||
<attr name="borderlessButtonStyle" format="reference" />
|
||||
|
||||
<!-- Background to use for toasts -->
|
||||
<attr name="toastFrameBackground" format="reference" />
|
||||
|
||||
<!-- ============================ -->
|
||||
<!-- SearchView styles and assets -->
|
||||
<!-- ============================ -->
|
||||
|
||||
@@ -149,6 +149,8 @@
|
||||
<item name="alertDialogTheme">@android:style/Theme.Dialog.Alert</item>
|
||||
<item name="alertDialogCenterButtons">true</item>
|
||||
<item name="alertDialogIcon">@android:drawable/ic_dialog_alert</item>
|
||||
|
||||
<item name="toastFrameBackground">@android:drawable/toast_frame</item>
|
||||
|
||||
<!-- Panel attributes -->
|
||||
<item name="panelBackground">@android:drawable/menu_background</item>
|
||||
@@ -863,6 +865,8 @@
|
||||
<item name="alertDialogTheme">@android:style/Theme.Holo.Dialog.Alert</item>
|
||||
<item name="alertDialogCenterButtons">false</item>
|
||||
<item name="alertDialogIcon">@android:drawable/ic_dialog_alert_holo_dark</item>
|
||||
|
||||
<item name="toastFrameBackground">@android:drawable/toast_frame_holo</item>
|
||||
|
||||
<!-- Panel attributes -->
|
||||
<item name="panelBackground">@android:drawable/menu_background</item>
|
||||
@@ -1132,6 +1136,8 @@
|
||||
<item name="alertDialogCenterButtons">false</item>
|
||||
<item name="alertDialogTheme">@android:style/Theme.Holo.Light.Dialog.Alert</item>
|
||||
<item name="alertDialogIcon">@android:drawable/ic_dialog_alert_holo_light</item>
|
||||
|
||||
<item name="toastFrameBackground">@android:drawable/toast_frame_holo</item>
|
||||
|
||||
<!-- Panel attributes -->
|
||||
<item name="panelBackground">@android:drawable/menu_background</item>
|
||||
|
||||
Reference in New Issue
Block a user