Bug 751205 - (Part 4) Rename resources to be more generic for arrow popups. r=sriram

--HG--
rename : mobile/android/base/resources/drawable-hdpi/doorhanger_popup_bg.9.png => mobile/android/base/resources/drawable-hdpi/arrow_popup_bg.9.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/doorhanger_popup_bg.9.png => mobile/android/base/resources/drawable-large-hdpi-v11/arrow_popup_bg.9.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/doorhanger_popup_bg.9.png => mobile/android/base/resources/drawable-large-mdpi-v11/arrow_popup_bg.9.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/doorhanger_popup_bg.9.png => mobile/android/base/resources/drawable-large-xhdpi-v11/arrow_popup_bg.9.png
rename : mobile/android/base/resources/drawable-mdpi/doorhanger_popup_bg.9.png => mobile/android/base/resources/drawable-mdpi/arrow_popup_bg.9.png
rename : mobile/android/base/resources/drawable-xhdpi/doorhanger_popup_bg.9.png => mobile/android/base/resources/drawable-xhdpi/arrow_popup_bg.9.png
This commit is contained in:
Margaret Leibovic 2013-06-20 08:06:15 -07:00
parent 3a3887bdc7
commit ef0171964a
13 changed files with 16 additions and 15 deletions

View File

@ -616,6 +616,7 @@ RES_DRAWABLE_MDPI = \
res/drawable-mdpi/alert_camera.png \
res/drawable-mdpi/alert_mic.png \
res/drawable-mdpi/alert_mic_camera.png \
res/drawable-mdpi/arrow_popup_bg.9.png \
res/drawable-mdpi/autocomplete_list_bg.9.png \
res/drawable-mdpi/awesomebar_tab_center.9.png \
res/drawable-mdpi/awesomebar_tab_left.9.png \
@ -673,7 +674,6 @@ RES_DRAWABLE_MDPI = \
res/drawable-mdpi/address_bar_url_default_pb.9.png \
res/drawable-mdpi/address_bar_url_pressed.9.png \
res/drawable-mdpi/address_bar_url_pressed_pb.9.png \
res/drawable-mdpi/doorhanger_popup_bg.9.png \
res/drawable-mdpi/find_close.png \
res/drawable-mdpi/find_next.png \
res/drawable-mdpi/find_prev.png \
@ -739,6 +739,7 @@ RES_DRAWABLE_HDPI = \
res/drawable-hdpi/alert_camera.png \
res/drawable-hdpi/alert_mic.png \
res/drawable-hdpi/alert_mic_camera.png \
res/drawable-hdpi/arrow_popup_bg.9.png \
res/drawable-hdpi/awesomebar_tab_center.9.png \
res/drawable-hdpi/awesomebar_tab_left.9.png \
res/drawable-hdpi/awesomebar_tab_right.9.png \
@ -777,7 +778,6 @@ RES_DRAWABLE_HDPI = \
res/drawable-hdpi/address_bar_url_default_pb.9.png \
res/drawable-hdpi/address_bar_url_pressed.9.png \
res/drawable-hdpi/address_bar_url_pressed_pb.9.png \
res/drawable-hdpi/doorhanger_popup_bg.9.png \
res/drawable-hdpi/find_close.png \
res/drawable-hdpi/find_next.png \
res/drawable-hdpi/find_prev.png \
@ -835,6 +835,7 @@ RES_DRAWABLE_XHDPI = \
res/drawable-xhdpi/alert_camera.png \
res/drawable-xhdpi/alert_mic.png \
res/drawable-xhdpi/alert_mic_camera.png \
res/drawable-xhdpi/arrow_popup_bg.9.png \
res/drawable-xhdpi/awesomebar_tab_center.9.png \
res/drawable-xhdpi/awesomebar_tab_left.9.png \
res/drawable-xhdpi/awesomebar_tab_right.9.png \
@ -866,7 +867,6 @@ RES_DRAWABLE_XHDPI = \
res/drawable-xhdpi/tab_thumbnail_shadow.png \
res/drawable-xhdpi/tabs_count.png \
res/drawable-xhdpi/tabs_count_foreground.png \
res/drawable-xhdpi/doorhanger_popup_bg.9.png \
res/drawable-xhdpi/find_close.png \
res/drawable-xhdpi/find_next.png \
res/drawable-xhdpi/find_prev.png \
@ -989,21 +989,21 @@ RES_DRAWABLE_XHDPI_V11 = \
$(NULL)
RES_DRAWABLE_LARGE_MDPI_V11 = \
res/drawable-large-mdpi-v11/doorhanger_popup_bg.9.png \
res/drawable-large-mdpi-v11/arrow_popup_bg.9.png \
res/drawable-large-mdpi-v11/ic_menu_reload.png \
res/drawable-large-mdpi-v11/ic_menu_forward.png \
res/drawable-large-mdpi-v11/menu.png \
$(NULL)
RES_DRAWABLE_LARGE_HDPI_V11 = \
res/drawable-large-hdpi-v11/doorhanger_popup_bg.9.png \
res/drawable-large-hdpi-v11/arrow_popup_bg.9.png \
res/drawable-large-hdpi-v11/ic_menu_reload.png \
res/drawable-large-hdpi-v11/ic_menu_forward.png \
res/drawable-large-hdpi-v11/menu.png \
$(NULL)
RES_DRAWABLE_LARGE_XHDPI_V11 = \
res/drawable-large-xhdpi-v11/doorhanger_popup_bg.9.png \
res/drawable-large-xhdpi-v11/arrow_popup_bg.9.png \
res/drawable-large-xhdpi-v11/ic_menu_reload.png \
res/drawable-large-xhdpi-v11/ic_menu_forward.png \
res/drawable-large-xhdpi-v11/menu.png \

View File

Before

Width:  |  Height:  |  Size: 213 B

After

Width:  |  Height:  |  Size: 213 B

View File

Before

Width:  |  Height:  |  Size: 164 B

After

Width:  |  Height:  |  Size: 164 B

View File

@ -4,13 +4,13 @@
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="?attr/doorhangerWidth"
android:layout_width="?attr/arrowPopupWidth"
android:layout_height="wrap_content">
<ScrollView android:layout_width="?attr/doorhangerWidth"
<ScrollView android:layout_width="?attr/arrowPopupWidth"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:background="@drawable/doorhanger_popup_bg">
android:background="@drawable/arrow_popup_bg">
<LinearLayout android:id="@+id/content"
android:layout_width="fill_parent"

View File

@ -13,7 +13,7 @@
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowActionBar">false</item>
<item name="android:windowNoTitle">true</item>
<item name="doorhangerWidth">@dimen/doorhanger_width</item>
<item name="arrowPopupWidth">@dimen/arrow_popup_width</item>
</style>
</resources>

View File

@ -13,7 +13,7 @@
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowActionBar">false</item>
<item name="android:windowNoTitle">true</item>
<item name="doorhangerWidth">fill_parent</item>
<item name="arrowPopupWidth">fill_parent</item>
</style>
<style name="GeckoDialogBase" parent="@android:style/Theme.Holo.Light.Dialog">

View File

@ -27,7 +27,7 @@
<!-- DoorHangers -->
<declare-styleable name="DoorHanger">
<attr name="doorhangerWidth" format="dimension">
<attr name="arrowPopupWidth" format="dimension">
<enum name="fill_parent" value="-1" />
<enum name="match_parent" value="-1" />
<enum name="wrap_content" value="-2" />

View File

@ -34,8 +34,9 @@
<dimen name="favicon_bg">32dp</dimen>
<dimen name="favicon_bg_radius">1dp</dimen>
<!-- Max width of the doorhanger on tablets -->
<dimen name="doorhanger_width">400dp</dimen>
<!-- Max width of arrow popups on tablets -->
<dimen name="arrow_popup_width">400dp</dimen>
<dimen name="doorhanger_input_width">250dp</dimen>
<dimen name="doorhanger_spinner_textsize">9sp</dimen>
<dimen name="doorhanger_padding">15dp</dimen>

View File

@ -12,7 +12,7 @@
<style name="GeckoBase" parent="@android:style/Theme.Light">
<item name="android:windowNoTitle">true</item>
<item name="android:windowContentOverlay">@null</item>
<item name="doorhangerWidth">fill_parent</item>
<item name="arrowPopupWidth">fill_parent</item>
</style>
<style name="GeckoDialogBase" parent="@android:style/Theme.Dialog">