From 553b10d067a423efb17338c955e568e2137e4452 Mon Sep 17 00:00:00 2001 From: Brian Nicholson Date: Tue, 4 Mar 2014 12:57:23 -0800 Subject: [PATCH] Bug 962103 - Make progress bar overlap content. r=lucasr --- mobile/android/base/GeckoApp.java | 5 +++++ .../resources/drawable-hdpi/progress.9.png | Bin 315 -> 811 bytes .../resources/drawable-mdpi/progress.9.png | Bin 255 -> 524 bytes .../resources/drawable-xhdpi/progress.9.png | Bin 440 -> 1044 bytes .../base/resources/layout/browser_toolbar.xml | 3 ++- .../base/resources/layout/gecko_app.xml | 5 ++++- 6 files changed, 11 insertions(+), 2 deletions(-) diff --git a/mobile/android/base/GeckoApp.java b/mobile/android/base/GeckoApp.java index 51e6d801845..341343fa1b2 100644 --- a/mobile/android/base/GeckoApp.java +++ b/mobile/android/base/GeckoApp.java @@ -1305,6 +1305,11 @@ public abstract class GeckoApp mGeckoLayout = (RelativeLayout) findViewById(R.id.gecko_layout); mMainLayout = (RelativeLayout) findViewById(R.id.main_layout); + // Removing the view clipping causes layout issues on < 3.0 (bug 978796). + if (Build.VERSION.SDK_INT < Build.VERSION_CODES.HONEYCOMB) { + mMainLayout.setClipChildren(true); + } + // Determine whether we should restore tabs. mShouldRestore = getSessionRestoreState(savedInstanceState); if (mShouldRestore && savedInstanceState != null) { diff --git a/mobile/android/base/resources/drawable-hdpi/progress.9.png b/mobile/android/base/resources/drawable-hdpi/progress.9.png index f3fe0bdaf5a83b22709ba611985b47d399c9cdde..ae39f6583c7ebdc21b64b8e07f169e8b7f5f1e58 100644 GIT binary patch delta 801 zcmV++1K#|*0;>j)7k?lK1^@s6k8e>v00006VoOIv0RI600RN!9r;`8x010qNS#tmY z3yA;#3yA?Y$;+((000McNliru-U0>}0v{b50l@$O0=P*;K~z}7?Uy@J+&~b9zrRP) zE^q?w!4aHt1Ls`9nH~BH&bh%xzJtq&V}~|=Kfp_|Xf^F%Mt@=uyZA{N$~#q4J<_~> z_2cgr?hfEZzf~>cyM4gMIE_2d?g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-L@Z2$XM z|93F|?_yajH$54sldB}iFPPzd_<#9KPakHfw~pO`oIqg@PZ!4!j_ajoErl8kc$gg; z8y#wn@csF}Rzgc-Q!iJq8-w7ntfVx-z_S6{OV(5~Hoj`VRr$5!g_*wp&-kw0Td(EZ fx|dql_kfLQF7r_)gN*_}GZ{Qx{an^LB{Ts5Kr34~ diff --git a/mobile/android/base/resources/drawable-xhdpi/progress.9.png b/mobile/android/base/resources/drawable-xhdpi/progress.9.png index a37de873f1d150b2b0dbeeb093eddef527e25399..f9cfb79c91e5faf762e0d0140b39700b01da8502 100644 GIT binary patch delta 1036 zcmV+n1oQj21C$7m7k?@U1^@s6_)(}m00006VoOIv0RI600RN!9r;`8x010qNS#tmY z3yA;#3yA?Y$;+((000McNliru-U0>}0v8jL4$J+>~z6>J4t!B(*U?ugIY`@8qqsl0w8 z0PSzQt^+D3Rh{PEY>=+~jq~<;@zr{YfzNu#Jou%7j=xzs^Y6)xtI!3~jfB{J5 zbnR~vzzm@4(tiw}b$(vAs#G)cbv>3c;4ZwtBo8Dvq*(e02qSriyFhVzt&|W)P!HSz zCxY%U4ZsOV+TWxG&g0B1w*Z>ilh(|3m{GwBn3dm+%nv?VNyn2WTp@G6Qe~ zKLH{5Yy=3^y{>9E)*qJcTYnOPlr}h#c zkU_m8v6&RiLm6;ViD@^O?hzf%4#yE)QT61n-=Ipp2;kq98$bQBpy`5*k>=Z|x$r4x zFLtfjx_|91ZFjWFbAug-;RnK(-x6(u>9({!6lEV_?)}o&1Fvk5U+zO*bXUHvC&E<0 zX}OQSzoO@Bl7E4-tyazx`!RoTF|T+i7JLG*$`q-XpsIZMb*4;?Af*VrLR^*c$GIi- z|3x0-@*P#Wq}H+>(DOtd`b0lJ09NlOKL<;dVt-33!-4w&hS(z=vJ03Twm%+h$#~2f z3@sZE2ZnJ;wSkmZuovKl&=c)PR2+5oV`)(_eUrN^eysLW@e|E_TfZu0Hv2=`GI*d* zuSg!t<~PI!h$P?OKDr45bu|uR4;%>g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