From 96ef6c34a8a4e33cf0c470075c4db4a23405e397 Mon Sep 17 00:00:00 2001 From: virvar Date: Tue, 31 May 2016 14:39:38 +0300 Subject: [PATCH] Fix drag icon --- .../main/res/drawable-hdpi/icon_drag_white.png | Bin 244 -> 151 bytes .../main/res/drawable-mdpi/icon_drag_white.png | Bin 178 -> 120 bytes .../main/res/drawable-xhdpi/icon_drag_white.png | Bin 250 -> 145 bytes .../res/drawable-xxhdpi/icon_drag_white.png | Bin 426 -> 187 bytes .../res/drawable-xxxhdpi/icon_drag_white.png | Bin 482 -> 223 bytes src/status_im/chat/styles/response.cljs | 14 ++++++++++---- src/status_im/chat/views/response.cljs | 4 ++-- 7 files changed, 12 insertions(+), 6 deletions(-) diff --git a/android/app/src/main/res/drawable-hdpi/icon_drag_white.png b/android/app/src/main/res/drawable-hdpi/icon_drag_white.png index 0e00adb5c10efa4af255199c17be50ce214139e8..6a079b6f6fb5559908a6104e85d2eafa2bbbfd6f 100644 GIT binary patch literal 151 zcmeAS@N?(olHy`uVBq!ia0vp^qCm{b!3HE(9bC=}q!^2X+?^QKos)S92Uw2eKC$n0p+Yof~+vBshvMSgR>?vmaY5be7rZi`rD4X365o xf=8Ix8kr^tu_YPEdrW5j$85ScH6^8nfx+Uuph;Gc!EB)644$rjF6*2UngB*TDjNU* literal 244 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjjKx9jP7LeL$-D$|)_J-(hIsHM z$K0v2?QLvp=xj@C?v>lxkigN;cJTnaAom^4Gdw&^NisZZ)=Y6d{r>)ciF^Bh9X#+s zJjv(=lUf)X+jb3CHbKv_9ko*o?%Di5xgq;zZCm|*Nr?mJLa#krKI@@Ed!r1OkuZw} zH~$8~ADkOl%h%VXFjRI&F{Fr{@DX4*&Zx1bOlPP6ZV$F-)}F85&o^%LPj#4Yv0&5U rz#i$Zj9vu^k9*hzw*@!~GBX?r(V6{z@eCiJ%Naaf{an^LB{Ts5G~8Ol diff --git a/android/app/src/main/res/drawable-mdpi/icon_drag_white.png b/android/app/src/main/res/drawable-mdpi/icon_drag_white.png index ee4865dc432938d431338e5b16f1b400614c572d..7845600020bd2775aba0a38991a6943317d4a02a 100644 GIT binary patch literal 120 zcmeAS@N?(olHy`uVBq!ia0vp^d_c_1!3HE3U$f%}QjEnx?oJHr&dIz4a*RA(978x{ zlmGnxzh9D>xmixYn9uN)3 diff --git a/android/app/src/main/res/drawable-xhdpi/icon_drag_white.png b/android/app/src/main/res/drawable-xhdpi/icon_drag_white.png index 9d42716db7c428f54742da39ca13b92ba526a3db..2b200673bb0d4a0720da1e2ad8ffb61033c83c04 100644 GIT binary patch literal 145 zcmeAS@N?(olHy`uVBq!ia0vp^GC<76!3HERIQ+{5QjEnx?oJHr&dIz4a=blV978lj zlmGnxZ*R=Z+-xbZn$b{N;4;%6CaEg!4u2yi-7QQ;B^im_V#ezY7+D?d7K;ZkM|y-a rY!VRJ_JwJCM1$GfmRoMqU6>gTm-Am+WzsGHG?u~B)z4*}Q$iB}6E!Fx literal 250 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz#^NA%Cx&(BWL^R}TRdGHLn1hn zWA4=1_9ikgUS_z(yRGU9<6=bvDJC$%EXSm?VOK-v%*KN!BIh_p&Ys^mb*|aFUw=Q# zAHI89Uh>@A`ja2t>mNzm!Q3NrRMMn}CGp)tPTo&5+BlE&8CSxlKI;I5LpZ%8HXLCLcF2~JW8Jci oWBSj$Z|%j}{y0^QHx>FVdQ&MBb@0Hr2b;s5{u diff --git a/android/app/src/main/res/drawable-xxhdpi/icon_drag_white.png b/android/app/src/main/res/drawable-xxhdpi/icon_drag_white.png index ac17612846227adddeab33bce39613962dcc5e9a..23fa971c5e6c99e3b6bf8a522bd8b528b6183aa3 100644 GIT binary patch literal 187 zcmeAS@N?(olHy`uVBq!ia0vp^T0qRn!3HEVa+Fwp3rXut5EtfmB4^K@cTVlrcfYZie^aik;OB79*+2&{c)I$ztaD0e0sve=MneDq literal 426 zcmV;b0agBqP)Px$WJyFpRA>e5m9a|1KoEvUF(|@uO;BXTMg%)+LG0~(3SY$s@dfPc55Zb26ht`0 za3I%&fZP!fGumXbhf@qoCh$)cva`eY|Nkbtc60rFMFXz&0ki+2LqOjNA^{{|bO1-l zXrOsJ5-?k69DoFj2Aa1c0keh10Z71Tpm{qIFk5IGu(4`?woMcc$21ye)OSSR4PaH) zRJ@i{FJjtAz`^l|PA~Q-+w2=%!q&@Odbpd>`%5Jj1ZBRzMdz2n9Xu1Wq0GjN?Gge` z&UV^sE}y%MLO>px!|%NE@J|9n{K*WfL;~|-#b@qJPnS^$c)b5~h8yE_8HIrP$ATue z1=UM`M~Ru3jTze&-2?oeolPqWN6s#?x8@@IYNP)>M*{dY-+0rfGVXTxMjRoBd@2$I zs1_w|Kmv&kR>va&)uO}=NFcGn>UboeT9mi}2_!aH9ghT5ixM{=fy4%@;|HI>5A4oG U+1{0uod5s;07*qoM6N<$g2}nE?*IS* diff --git a/android/app/src/main/res/drawable-xxxhdpi/icon_drag_white.png b/android/app/src/main/res/drawable-xxxhdpi/icon_drag_white.png index dced659cf485c8d0ecd8c527d648fffb7bcd95fc..fd3f08e9ae1a5182456afe2421881b61b47156d7 100644 GIT binary patch literal 223 zcmeAS@N?(olHy`uVBq!ia0vp^7C_9y!3HGFbL*A@DaPU;cPEB*=VV?2IWs+7978;K z?@rq&cvwMzpb%&#U06dOvwt_oS(j zm0JIggwI}kYTcBMj2t@&mG76*L+`EO{c$33@{@^fPv<;Y!QUEH=soL0^sW#;EprQ9 zj-qEVCpn51?l4l$;BAUoyDo&~rS!Tt9Ad5e9hF8Pj4@$ zO}>;?zO=Uf=zB?~7x^V`pOjoT+y47wu+ky0#rG5I%COr1oRT z+}RdZxAt(^`+HaK`1@FkXLiH2$DbTyW}bFc*nGodHiJvZjH)7r%UhJ!7CE@Iu2g3? i@U_0A#ZHRwFXlap5$=26s9FFcjlt8^&t;ucLK6TbkH}R3 diff --git a/src/status_im/chat/styles/response.cljs b/src/status_im/chat/styles/response.cljs index 7d304474e5..8849708630 100644 --- a/src/status_im/chat/styles/response.cljs +++ b/src/status_im/chat/styles/response.cljs @@ -13,10 +13,16 @@ {:height 16 :alignItems :center}) -(def drag-down-icon - {:width 16 - :height 16 - :opacity 0.4}) +(def drag-container + {:width 16 + :height 16}) + +(def drag-icon + {:position :absolute + :top 6.5 + :left 1 + :width 14 + :height 3}) (def command-icon-container {:marginTop 1 diff --git a/src/status_im/chat/views/response.cljs b/src/status_im/chat/views/response.cljs index 89e4bb0c1c..27c997317b 100644 --- a/src/status_im/chat/views/response.cljs +++ b/src/status_im/chat/views/response.cljs @@ -16,8 +16,8 @@ :onPress (fn [] ;; TODO drag up/down )} - [view nil - [icon :drag-white st/drag-down-icon]]]) + [view st/drag-container + [icon :drag-white st/drag-icon]]]) (defn command-icon [] [view st/command-icon-container