From 8910f6ab1414aa140115d152e1cbdb85a4de006d Mon Sep 17 00:00:00 2001 From: Denis Date: Thu, 11 Dec 2014 14:16:09 +0200 Subject: [PATCH] Changed size of divider to 1dp. Updated floating button. --- OsmAnd/res/drawable-hdpi/ic_action_map.png | Bin 0 -> 1402 bytes OsmAnd/res/drawable-mdpi/ic_action_map.png | Bin 0 -> 1269 bytes OsmAnd/res/drawable-xhdpi/ic_action_map.png | Bin 0 -> 1557 bytes OsmAnd/res/drawable-xxhdpi/ic_action_map.png | Bin 0 -> 1737 bytes OsmAnd/res/layout/main.xml | 2 +- .../osmand/plus/activities/MainMenuActivity.java | 4 ++-- 6 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 OsmAnd/res/drawable-hdpi/ic_action_map.png create mode 100644 OsmAnd/res/drawable-mdpi/ic_action_map.png create mode 100644 OsmAnd/res/drawable-xhdpi/ic_action_map.png create mode 100644 OsmAnd/res/drawable-xxhdpi/ic_action_map.png diff --git a/OsmAnd/res/drawable-hdpi/ic_action_map.png b/OsmAnd/res/drawable-hdpi/ic_action_map.png new file mode 100644 index 0000000000000000000000000000000000000000..1cce0afd8052638ac2da8b41e88fb4d1e6cd3f5d GIT binary patch literal 1402 zcmbVMeM}o=7%v-4!-g@&k8Ln=J4nEd>s_zcUVG9J+N0920v0C3$nbji7H-g9dv{$6 z8HNnm0=f?-Dq?hT5;k2zf-uJvL^6Ra6A1o) z0C9M^3g7~qP!qTYGBujbhsEMjwbZ$v;U%w@i|A;>UOz-@G?`gpKgU-A6>)R9BqF_Nw3{Jx7w}DDAw^jy4wfV(-Z53}8(5!t(W|)Bnyg=oUu(#T$FkuV2VwZvE z$Tf~4D=KQ01zioQ)LDqwBpDzEtr6o19fieaae9kTN{X`Ei|=z`fo`UMt#)>H`0Uv7xq7 zT;m703n)@h=3zZNDN!)w?!k^CiZB|cKo((9xN277gI?fM9jpa~U$lZKFh-KnduYy$ zQ65MeCs1(l06k_PJRD^<5=PRkkJ{M?Z`aW#o5^T0=}4namqVG!Y@0osuoG50ZMEjC zV;w$4<$OGd`WB(@H7xx=EMt=ar%H0MBvnVdps-R>C8bjGBR1Pg)sgfP(I-eD<>^S7 zR6|n*>})uXSdFb zgciq)opt)29%14BqB1o--+ymu;N73^KTmJ7Z7pJZPY(~KUr4?*SXP*J#+3c!<*A|c zJ)6HSI~nUL?`qFl+;lD%Y216&ag&saW2wxG@>k;tZKI9j z2dI)mu1~D(qe5ff554?E%j?5C|E!+95I0ShecYeb{=wYjN63NGdvc%Xh|pwzF?k zXZ-YL!tRFik0rO-x4ruLpp|OtwB5>l#{S3gZ_D>C6xGLQ3XYsloVoksuE^iek(1AM ISzkK(4-?h;IRF3v literal 0 HcmV?d00001 diff --git a/OsmAnd/res/drawable-mdpi/ic_action_map.png b/OsmAnd/res/drawable-mdpi/ic_action_map.png new file mode 100644 index 0000000000000000000000000000000000000000..88ef06c41e048d597acc0007aae058ffccd0ca42 GIT binary patch literal 1269 zcmbVMU1%It6rSw1$u=>#R+6S|B$r8r1~dONJ3B+h>~??5N;k&sYS;QhW@qkXht1Ax zXC~QADAkrIQ7S4*k?MmYrFoEQ5L6J<(qO4b0t!}qC~*rSSSg}t9+Y@@lZ`%vJ~%M< z-gD=C=jS`;%=2TT4|KNgYsWCGGc^*=puMO523pa&T2a=}w%1GKyd$>ZRa6IJQQgi% zkSeJYFauS6=J-`Ogkk<^Gn?~r>BF*Smq@j)Lsm;=gvPL;;c8jciqHdjIAK}}e(RIZ zaA4{RepE=)>2eGf%#m3K9+@4@YO_U6((&Q@!BAC321?LVLA5k#xpGy(8+K)Mu3u9) zXsCEa1>XoNmmUK#+krqJLxe^%JP;+45kjIQ4gwa*6dk5mnxG|F;AENwn-7k>Il3Wd z;>k^4NK){E=aprOs#Gdug(Gcef?^~|qG*<4SpsPg?u_NBRl;)nn-=2G)f}_znYIP$ z7S+5xAZ*tK>2Ur_5aHsg@U5$&GMh-XMDERb`zOEB^w%B)XRkcm_P+mk z;JJfm4|VQ6v9tDM?uB3P8M)aDuAfd&%U}OK5M0@j?*l*1eYxmc+!Lf)YAfO1-#X_1 zjQqUo-pOv>zql*N)fN`VU*A99|F&?g13cBf^h4yUm(t3Om+eQe9X%LVyf_WM{rhVD ON0ds8#xEWkKm88|9H3zU literal 0 HcmV?d00001 diff --git a/OsmAnd/res/drawable-xhdpi/ic_action_map.png b/OsmAnd/res/drawable-xhdpi/ic_action_map.png new file mode 100644 index 0000000000000000000000000000000000000000..a149624dfece45b967bbb5c4b6dfb13e31cc5280 GIT binary patch literal 1557 zcmbVMeNYr-7+(%K0nsEBrIgmA@B?nY?)%^pxIOR`@Z`|D8Won?y}J!=_t;zHKomkJ zYH~^}LlfK4rFb1N`G(-d}WpwI2@Tfl=|7d6Sec$KZ=l6X4 zp6A(DEcrRJqo0U|AZWIE6XtIk|-YHg60t02zd02cd#Gh~MJ{Xb4JQ>Gx8OQbvSJ7#GVKWH(QIDT7(s zAhW6RuspAkakHzc1;$#PU+AbVb?9i>%4gwpzaALyFd_x}J!PCv?>ERM?drifc#X>7 zNfoiwAe#!xo@arLyuiRJL@jqLM+UqJ zv{PR|W-n3!P_kbus8S1CJD2`yL#}mwJQrjmMF#m?}P;Fmf zm6t&a7$09DI6ys|Ng*)c?$M5diXa;OT7d;cp~^_!QQ=`Y(M%d-;0r>tv|ddp6;2IR zB3C*AZ4|8pi<42vRhW}f>eQH;C{cv$JPdEjRFFm^iD_{{jpHU|mI_yCNpOiPG0c>i z6~dZ1pGa{ICght1zNfIp>_=ktMuDM3UMS@GvQQUT+`P#9+`Jby8Yim`FSD^6%~$%C z2g@{-HOUC<7KY9icn>_uvz~oO47gImC>2^lu2Sf5xznLk$+ZNbk*hQcMuU}T00AKX zDLnmu`9ncaXs}uS(>$Ro(2>F8^e6yfdYBjvOppLZrS-<1D-a}6naRvTfA7%#H7TZb z^UnM=pD7+_Ot`Xsb9h{LT2g|)Ez*XMMC8`Q7G*Trq{m|{d(sPH7W$ipckXwY&0n0U z{jB+Sv8U73zZKyweo%C5_&L|j+x?}7`mWX1>}B4kUz^wT>kvDI8 zPjtZ@n$*#{w4>7e!TEDNX@PDO>O4I2$DM)gJ&W5fNV`6~e5-bKM%z8v~L>Z znBl+Q=r<0JADAG-zDq0U?TsnVm-DZI@f3{kGn#MeBP{pZsJ~&xYRc+hZ?Om!Ipbm%sJ;Z=Lx3 zk+!3277g_0G{;@tvAw2b@$rcqma%e_PBnEwVrlZw7vHWB3pN7n)eDb5L H;`)C8rZO~y literal 0 HcmV?d00001 diff --git a/OsmAnd/res/drawable-xxhdpi/ic_action_map.png b/OsmAnd/res/drawable-xxhdpi/ic_action_map.png new file mode 100644 index 0000000000000000000000000000000000000000..7d7fac2d75705d22cb773337dad59be64a2b6ecd GIT binary patch literal 1737 zcmbVNYfuwc6b=t*5dnGCia4wbwIFOZ*}O!4c4Etuj(jS_Pcisa2+Q1H|@+Kr;pxk{p=3~baP!?qcWj5doEyWD0(bp<#LXz@IPl!D_e?I1v4 zQZQSfG*!+52% zMO|XV;SAhD6`6HRJ@jEtWd^&~J8}pz(MZzF1XC2WP)_NJ3^++EFrJsl-%Hp{kK@1lWa=D3oag2y77V(Ag z2*MF_6XZ@^1!0`04T5``-NvJ0GLNt4|lu!l$#EWuZWOk zwRIG6jx6X|-pKa^aq-5XN8h4>E<-1M( z{S{M}K31>ZnQJdesT*>K%Kyv-QzIY5x@33kQI*zi@jv6E?<@$)?BymEAiFyZ&`@7n zc)oY5OP|JN@^nb;&sb8{u505@E-%{WpW_APN7T}5-M`WLHqRR?YZ+YO5?R^Nlsf_r z=iNU)74P+HV?;Y>uQaLe)dVbyj(VRKq~(R5df-01@V7%JD+l)X?pge9mp-~cHhHIW zTox#I(#0BJ?qMfs)924w?Ii9j!VJ#!225Z)_~X}hk4{}clj}{S=LL43T{>!ETTcTw zeHzP`jxDL`>2I({B?L#;1>Pz?MT!r0A!VNnhXVch8sXUHiF1jvvx}1hM!c$rmvt>I zTh|mM3%>q9eZ#)FW__o7@gE;}-#TFv4qZM%lY4Bvm(LyEzVF0a{nxrvx3tjb#|5VL zM&tLjt%5Y_66E)E;Ns%3#?r}M$d2EarAS6!G!a>(N+YeR$!avg@(bF^mQ}5fHSwvx z7&Vb4{tu%gcK_wt;Jen%_i6LJzGk*(H`H~zRTpwS=$)tnb@twy*Pkq@AJN{`g}7O1 zd|h(M7apmae!M-D&d4742)Z)px$T)->f{~SENE@PQ*+*CRi0)2bWFH6*YR^vB&y^m I<2Ckw08_q&lK=n! literal 0 HcmV?d00001 diff --git a/OsmAnd/res/layout/main.xml b/OsmAnd/res/layout/main.xml index 26f704d15d..341d033692 100644 --- a/OsmAnd/res/layout/main.xml +++ b/OsmAnd/res/layout/main.xml @@ -47,6 +47,6 @@ android:layout_gravity="start" android:choiceMode="singleChoice" android:divider="@drawable/divider" - android:dividerHeight="1px" /> + android:dividerHeight="1dp" /> \ No newline at end of file diff --git a/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java b/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java index f09786ecc6..585239d98d 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java @@ -108,8 +108,8 @@ public class MainMenuActivity extends BaseDownloadActivity { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { FloatingActionButton fabButton = new FloatingActionButton.Builder(this) - .withDrawable(getResources().getDrawable(R.drawable.ic_ac_settings)) - .withButtonColor(Color.WHITE) + .withDrawable(getResources().getDrawable(R.drawable.ic_action_map)) + .withButtonColor(Color.parseColor("#ff8f00")) .withGravity(Gravity.BOTTOM | Gravity.RIGHT) .withMargins(0, 0, 16, 16) .create();