Bug 737907: Resolution specific resources for Form validation. [r=mfinkle] [a=blocking-fennec]
authorSriram Ramasubramanian <sriram@mozilla.com>
Tue, 17 Apr 2012 13:00:26 -0700
changeset 95207 656d5df8c8de91e53ef12b6ffa09929723bd46bc
parent 95206 36c22a5ddbe5d92cc55d0fbbcbf827cc4ad02067
child 95208 fdfd683899fdc05eb8b2811de83951cfbff0b57d
push id886
push userlsblakk@mozilla.com
push dateMon, 04 Jun 2012 19:57:52 +0000
treeherdermozilla-beta@bbd8d5efd6d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle, blocking-fennec
bugs737907
milestone14.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 737907: Resolution specific resources for Form validation. [r=mfinkle] [a=blocking-fennec]
mobile/android/base/Makefile.in
mobile/android/base/resources/drawable-hdpi/validation_arrow.png
mobile/android/base/resources/drawable-hdpi/validation_bg.9.png
mobile/android/base/resources/drawable-xhdpi-v11/validation_arrow.png
mobile/android/base/resources/drawable-xhdpi-v11/validation_bg.9.png
mobile/android/base/resources/drawable/validation_arrow.png
mobile/android/base/resources/drawable/validation_bg.9.png
mobile/android/base/resources/layout/validation_message.xml
--- a/mobile/android/base/Makefile.in
+++ b/mobile/android/base/Makefile.in
@@ -415,16 +415,18 @@ RES_DRAWABLE_HDPI = \
   res/drawable-hdpi/address_bar_url_outline.9.png \
   res/drawable-hdpi/doorhanger_arrow.png \
   res/drawable-hdpi/doorhanger_bg.9.png \
   res/drawable-hdpi/doorhanger_shadow_bg.9.png \
   res/drawable-hdpi/doorhanger_popup_bg.9.png \
   res/drawable-hdpi/site_security_identified.png \
   res/drawable-hdpi/site_security_verified.png \
   res/drawable-hdpi/urlbar_stop.png \
+  res/drawable-hdpi/validation_arrow.png \
+  res/drawable-hdpi/validation_bg.9.png \
   $(addprefix res/drawable-hdpi/,$(notdir $(SYNC_RES_DRAWABLE_HDPI))) \
   $(NULL)
 
 RES_DRAWABLE_MDPI_V11 = \
   res/drawable-mdpi-v11/ic_menu_bookmark_add.png \
   res/drawable-mdpi-v11/ic_menu_bookmark_remove.png \
   res/drawable-mdpi-v11/ic_menu_find_in_page.png \
   res/drawable-mdpi-v11/ic_menu_reload.png \
@@ -476,16 +478,18 @@ RES_DRAWABLE_XHDPI_V11 = \
   res/drawable-xhdpi-v11/tabs_plus.png \
   res/drawable-xhdpi-v11/address_bar_texture_port.png \
   res/drawable-xhdpi-v11/address_bar_url_bg.9.png \
   res/drawable-xhdpi-v11/address_bar_url_outline.9.png \
   res/drawable-xhdpi-v11/urlbar_stop.png \
   res/drawable-xhdpi-v11/site_security_identified.png \
   res/drawable-xhdpi-v11/site_security_verified.png \
   res/drawable-xhdpi-v11/tabs_button_tail.9.png \
+  res/drawable-xhdpi-v11/validation_arrow.png \
+  res/drawable-xhdpi-v11/validation_bg.9.png \
   $(NULL)
 
 RES_DRAWABLE_LAND_V14 = \
   res/drawable-land-v14/address_bar_bg.xml \
   $(NULL)
 
 RES_DRAWABLE_LAND_MDPI_V14 = \
   res/drawable-land-mdpi-v14/ic_awesomebar_go.png \
new file mode 100644
index 0000000000000000000000000000000000000000..b38fa0ddb28a4f89cbd0eb5337f74a43cc64942d
GIT binary patch
literal 364
zc$@)j0h9iTP)<h;3K|Lk000e1NJLTq001Na000jN1^@s6jB9Oe0000PbVXQnQ*UN;
zcVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBUz4oO5oRCwBA{Qv(y!(akT41)}?6jU~n
zt5*_;^MKeFh{b{UHV`iZ;yFP4gIGh(pFWA|ATk{j1H{vTm<LHr1c)u6j*JH4)AWck
zMj-A7;>Bo=K?bTod<2L?$%--(9X|tzQ;AT^2E@yOm>r0h&?1DGfp|WVjzQM50Em;R
z?I2dDFXPCF0g$6+193LB90UsbRX`j;K~4sxyU9RYOsRu7fOtI+2T-AS0XeD%h%3o;
z5El?{0%9*JmwRnM+(fE_c!78u5WCW-Fs=pSE@B-d1jIXm*q+8UL@5wY!4@FM0-#d%
zER?1P0Oh=0hNk9H=mnz{5N85$)Bser&Om$v=%`81(*G7ffB^tDyeRNeF5`^=0000<
KMNUMnLSTYx_=+$9
new file mode 100644
index 0000000000000000000000000000000000000000..62c52329ce2e409acbd3659559ad2431ff665755
GIT binary patch
literal 562
zc$@(;0?qx2P)<h;3K|Lk000e1NJLTq002G!002G+1^@s6bHS)Y0005`Nkl<Zc-rmT
z%T5|m9LI6H=-RFABWMgsS*r;(sn{xBxx+BrhucUI#w&H{EBJ&iZ1fR+J=3^^!TwzR
zn)6S-OHR&*nSsrjrKPtG#Ij?@j-5Bn2eIBa#k%MAC(|eY;toogJ--xO&tcu4`{U`e
zADG1i>z&^`8pFz>|L9p0^MhYd&KTCC%$V~`#|M)slnV`Wp806Fc~+nt4<Fw`IT~($
zAfTLu|0}#Zx`uKzyz}!4%FTi|n-3os!oA@ol$!+)g8Su#@b=jSl%sF;wjV$_8s0J=
zR*r@@2NNhq!yElEl%wJG-Z_+`;kE7v%F*y@X9(qJxa*xkIT~JR`%sRCJFNkfqv7R7
zAIj12QoRS|Xn3*Kg>p2!Q0+iD8lHDOC`ZF{l{S>4;aR5z<!E@O+=Oy8JY8x)IU0Ui
ztU);%ep0AHIU0VPccB~)&sCrt4L`~{P>zNlW*jI-!w=GBC`ZFn=@OKq;rpjWD96K3
z3Q&%Q?;Yo%91Z_*l!tQffajnb4c|S;;QL`#vT*N<;PXx^#}hj#BvTo)NLH$F&*9!9
z;E~6)<D1*b=dJBsD7KN<d1T;!5Am+X;v=)b@6E4CD7BIJ_OiDAWf*aYH~QH2>o=y{
z3VUY#Q+VYC!Lip1XJ5^*W5<r2c`vX0S1;B60nQsnkIIcfrT_o{07*qoM6N<$f@!)F
A<p2Nx
new file mode 100644
index 0000000000000000000000000000000000000000..136e43ade390233b610140b5b55a4eba70486827
GIT binary patch
literal 460
zc$@*u0W<!IP)<h;3K|Lk000e1NJLTq001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iMQ|2Df$9{8XOOeS5
zuis2SC8ysi0*#m!<*aeMIcJ`;rBupB!v>(N(_;Ro854e1@dHiFezu^%<V4I?ZlK6b
zFLt0V<EdsqgQrCY^s&v<+X^(^C^W|jsCUzah9Z{}RzMTgKA8fY(epeDXy44WAUU1r
zMxePF%XomMOf2C9ni~u@cXNm!(8R+hnSds$opF4aF=2V94Um1T7-)K>&}m0YsVAQ!
z#DMA-O9GALnVAe^DrW+jHg?|5mP#pHK<)j9JT=l4!+DGBMVvpFXhuG;cqLJEbN0_Y
z=fCwm`@OKka?XU8A5`)LlyBVQjk9hjF?s*^?cV%n3L>{Z{j|5LSUP=i<-435nVg?x
z`+xmuxAzHn@$%fk?`PHjeb3uoeO%&BvctW7m0PApmrvYw;7i9t+dY*+nH}G*ZYYC*
hL!0H<ex0pjdNy<2lN<leivv>~gQu&X%Q~loCIC!dIdA{~
index 709dd1e991518eda927d2086cd3372c8f674abb1..252239de4c7ea77b7cefeb8dce19a41915b3d44a
GIT binary patch
literal 251
zc%17D@N?(olHy`uVBq!ia0vp^5<tww!3HGPWzNe0Qj#UE5hcO-X(i=}MX3yqDfvmM
z3ZA)%>8U}fi7AzZCsS>JispK{IEGZ*O8WEvzdf@qqqk$K^2V&cjXO9xQX7772$(Z}
zl#S^+Ki`gXV*^KXWMhStz;cC7O~yh20d<CtQ8lw>b{N!1&U$EYfcc1aqs62c?u54X
z2Z4uqj&y&FJmk{&&;>{?eE4FTi{PdPnZpxxBU|z~H?h`S5D|28+|(X9iSs<W!x`Qq
wb`E#Aj+_cP5v}08Omfz&-Ho5P92yuI{;*3=RoQT`1n5u(Pgg&ebxsLQ0MNf%t^fc4
index b66c2695582957931f1be84e500907d70d9407e3..750c37d31cca1ce8a7839920ec401627c453166f
GIT binary patch
literal 439
zc%17D@N?(olHy`uVBq!ia0vp^S|H591|*LjJ{irxz*y($;uunK>+Q|cUQCG+$36-+
zN0|gX*tQ^V;nePfO3EI+CZ_$BS!bM$)0SOoTzQ*gSO1H3IrDAKwlp3I$)8;r^W#AM
z_k-VWpLr(j`m^@Kj-Ssa=Xjd4pP#$X)TsU1?CFxs*&*h?{kJ6sGR3~<kv~@U;LDFZ
z>1%brHZ9+t%BN#c%#(L4bH#bflrOplvmI*do%GkeKj_1g`~BSkAQ^kNX{N-jH}@KV
z<O?34_}bab2Exvzi}}-%UPSI@PfN<!dX?4KaLc6~EI_g(52(Cqm2`qyn^;yZP~qpR
zYBM?)-YjB1bL4{0N<N_ST`QVrO3c!_0yN$BTquzAO*suze$3wsNXjkk29e9SKq8YW
zfd(w@l$r6DC3K(j_he6(N0MIW?&<{`6_w(0KX$u1(4gquGzWY6lTA@SOhxP%7BATL
z`_U(lXS;l#FIcrMOS|zv-}IHMR{2hl7FzMERrRUD^#7kfz1bf9!Q%g)gY{u%#`Z_-
Y7+x$h)Vtr}42l{CPgg&ebxsLQ0KL4&Pyhe`
--- a/mobile/android/base/resources/layout/validation_message.xml
+++ b/mobile/android/base/resources/layout/validation_message.xml
@@ -1,28 +1,28 @@
 <?xml version="1.0" encoding="utf-8"?>
 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                 android:layout_width="wrap_content"
                 android:layout_height="fill_parent">
 
     <TextView android:id="@+id/validation_message_text"
               android:layout_width="wrap_content"
-              android:layout_height="50dip"
-              android:layout_marginTop="8dip"
+              android:layout_height="40dip"
+              android:layout_marginTop="6dip"
               android:paddingLeft="20dp"
               android:paddingRight="20dp"
               android:textAppearance="?android:attr/textAppearanceSmall"
               android:textColor="@color/validation_message_text"
               android:background="@drawable/validation_bg"
               android:gravity="center"
               android:singleLine="true"
               android:scrollHorizontally="true"
               android:ellipsize="marquee"
               android:layout_alignParentTop="true"/>
 
-    <ImageView android:layout_width="wrap_content"
-               android:layout_height="14dip"
+    <ImageView android:layout_width="24dip"
+               android:layout_height="10dip"
                android:layout_centerHorizontal="true"
                android:layout_alignParentTop="true"
                android:src="@drawable/validation_arrow"
                android:scaleType="fitXY"/>
 
 </RelativeLayout>