From 95d885e3d5212361fa4ef2ea8fc342ca0f6c74b4 Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 1 Jun 2016 19:50:25 +0200 Subject: [PATCH] add some icons and style --- app/src/main/res/layout/activity_main.xml | 2 +- app/src/main/res/menu/menu.xml | 12 ++++++------ app/src/main/res/mipmap-hdpi/save.png | Bin 0 -> 247 bytes app/src/main/res/mipmap-hdpi/share.png | Bin 0 -> 397 bytes app/src/main/res/mipmap-hdpi/undo.png | Bin 1405 -> 276 bytes app/src/main/res/mipmap-mdpi/save.png | Bin 0 -> 168 bytes app/src/main/res/mipmap-mdpi/share.png | Bin 0 -> 268 bytes app/src/main/res/mipmap-mdpi/undo.png | Bin 0 -> 199 bytes app/src/main/res/mipmap-xhdpi/save.png | Bin 0 -> 273 bytes app/src/main/res/mipmap-xhdpi/share.png | Bin 0 -> 496 bytes app/src/main/res/mipmap-xhdpi/undo.png | Bin 0 -> 333 bytes app/src/main/res/mipmap-xxhdpi/save.png | Bin 0 -> 391 bytes app/src/main/res/mipmap-xxhdpi/share.png | Bin 0 -> 698 bytes app/src/main/res/mipmap-xxhdpi/undo.png | Bin 0 -> 473 bytes app/src/main/res/mipmap-xxxhdpi/save.png | Bin 0 -> 504 bytes app/src/main/res/mipmap-xxxhdpi/share.png | Bin 0 -> 938 bytes app/src/main/res/mipmap-xxxhdpi/undo.png | Bin 0 -> 601 bytes app/src/main/res/values/colors.xml | 6 +++--- app/src/main/res/values/dimens.xml | 1 + app/src/main/res/values/strings.xml | 2 ++ 20 files changed, 13 insertions(+), 10 deletions(-) create mode 100644 app/src/main/res/mipmap-hdpi/save.png create mode 100644 app/src/main/res/mipmap-hdpi/share.png create mode 100644 app/src/main/res/mipmap-mdpi/save.png create mode 100644 app/src/main/res/mipmap-mdpi/share.png create mode 100644 app/src/main/res/mipmap-mdpi/undo.png create mode 100644 app/src/main/res/mipmap-xhdpi/save.png create mode 100644 app/src/main/res/mipmap-xhdpi/share.png create mode 100644 app/src/main/res/mipmap-xhdpi/undo.png create mode 100644 app/src/main/res/mipmap-xxhdpi/save.png create mode 100644 app/src/main/res/mipmap-xxhdpi/share.png create mode 100644 app/src/main/res/mipmap-xxhdpi/undo.png create mode 100644 app/src/main/res/mipmap-xxxhdpi/save.png create mode 100644 app/src/main/res/mipmap-xxxhdpi/share.png create mode 100644 app/src/main/res/mipmap-xxxhdpi/undo.png diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 1c1d926..7866721 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -21,7 +21,7 @@ android:layout_height="@dimen/icon_size" android:layout_alignParentRight="true" android:layout_below="@id/color_picker" - android:padding="4dp" + android:padding="@dimen/icon_padding" android:src="@mipmap/undo"/> diff --git a/app/src/main/res/menu/menu.xml b/app/src/main/res/menu/menu.xml index f17239b..910c951 100644 --- a/app/src/main/res/menu/menu.xml +++ b/app/src/main/res/menu/menu.xml @@ -3,14 +3,14 @@ xmlns:app="http://schemas.android.com/apk/res-auto"> + android:icon="@mipmap/save" + android:title="@string/save" + app:showAsAction="ifRoom"/> + android:icon="@mipmap/share" + android:title="@string/share" + app:showAsAction="ifRoom"/> 42EYy@ILa0M5s>6LU8FOEP0!EMA1UJnE#X>H4|#tUDM{qm&kf2dMhR)ifj z8WUZ|7;_;tCIr>VOqfCg&;~EnCQz8@q32GR5=%FAqdn+F@^p=hssQl$U@002ovPDHLkV1jXsV!!|Z literal 0 HcmV?d00001 diff --git a/app/src/main/res/mipmap-hdpi/share.png b/app/src/main/res/mipmap-hdpi/share.png new file mode 100644 index 0000000000000000000000000000000000000000..b09a6926de5aa48dee59265aadac32da236f9e1c GIT binary patch literal 397 zcmV;80doF{P)>pxai;{B2*!N!D>LzNpR^R2)fik{R2|aH0bP5 z*MdarD7a}-Ez;H;8^R0acFB7?>Nyer70h^N-MY7?BcJR3C~UbFc^uKRQ`h0hp&@lM za=0&bFUnK#Sn5WUrS5~&57j8c2`}{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0v RLqMw;JYD@<);T3K0RZw0JMaJi literal 0 HcmV?d00001 diff --git a/app/src/main/res/mipmap-mdpi/share.png b/app/src/main/res/mipmap-mdpi/share.png new file mode 100644 index 0000000000000000000000000000000000000000..e944fd70c428619696e7eb6fd8787959df32a774 GIT binary patch literal 268 zcmV+n0rUQeP)$QBEc|F(1{8;NsTa>qG@_iujyHwlsAj>Z++)7y52c{=Vn>}gQg@lxlV++yGDOV(dl+PY_{^Frr;_5c3F)-H_~vp*5? zbltaySI?eOVUIs@BC^CzGEL#lUhaj38@C1Q%xVd!KIy=*cI~0^*50s;GsOiLa+itS z<1rFAHD${oLw3uXoQZQ9=h#$6RDJV*^_ykFpU?^K-b@Ywx{Sfo)z4*}Q$iB}kBU^N literal 0 HcmV?d00001 diff --git a/app/src/main/res/mipmap-xhdpi/save.png b/app/src/main/res/mipmap-xhdpi/save.png new file mode 100644 index 0000000000000000000000000000000000000000..adda095754f015a58403af02df101e7213f3fa2e GIT binary patch literal 273 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA0wn)(8}b0D8=fwXAr*{ouiIy}ILNd;e0ik1 zL&59A`M*Vsf!~yN-&Ah(m2P6Y@~YRDtG;K#iRnrf@56a{K3{q4q*%J-j>M1L^E>wD z_G`*BEKt%ZU=9!xlW_2kcwqhg@J~+L1PJQf&&tujU~xgSfq^Aq(NdMD@Qa448^br9 zJv*meXvT?xG}dmujKXF8i@ z;dr8?qTnEcf#YSTw1b150_0@p@+*a+28_exGc&aM`@C!DnA6=W1TD^dHLWnpGa); zm^Y+_9MMXOw6rDI!b;S=_7qemcr< zIz3%{PI3~kS=$Y2j0F{`>f8QO;senfGalr;t fbP#1(mStIA!!=e4*%@oA00000NkvXXu0mjfyM2`) literal 0 HcmV?d00001 diff --git a/app/src/main/res/mipmap-xxhdpi/save.png b/app/src/main/res/mipmap-xxhdpi/save.png new file mode 100644 index 0000000000000000000000000000000000000000..3e0ce1a5f004065cb68947be0469e056e4457f28 GIT binary patch literal 391 z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z;84l|>e7(Vy4L%kU(lfKjiFI>oQ3X>ech^2hYjIl+l`2ky&>*QB4^6OV%)fi;J>`G%jw)8gjVE${JR2aaY!G0~hnM zhG|@UElYTe3EXtc3bxQs9yfX7vVdw{;WqBh$^xF`2P*M9I}|qJ3{e@6PKArjoMZ`q zzv59!fmanSI=PO&6?&+plSP6ovR7f^QNATeik(_R0|VqKmg6Jp6&~t1O&))jcuMQg zz!ARWI(NwM6X$u29SRTC9OM@M7CFo&S;iB5kG}$E*e=U>kWUFR#U6!^Dg|IO$GL;Q zdG;$z?BZ=E`Hcb|x0vJv&02@&xrVwOhY7LL@4M9>gD@+_--REpnJm3KuU?nF43nuCUR}5|x-@k1XJG+|9FJHqb%=H!GZ? zR#tEVHz}HB3FEjJmo=nuF(+%t;UXt%$l)REk1CR+@t5HZYGfZVddcE%mgiK277p?u!wk{S zAzEYsZHy7*0=xAuo@I(+(gP_7Qy#3s_bo#mcw{1a9fNu$EQbktO@6)eSG1Bd$7K&U22O zUD$2GA-FbSQSQV^pLba8QCoiYw+Qq1(*KP7_UAqnF)S7F(p)+v2twRla&~i>dcxwoKO=D(>nok0rH6Pf_Y}^3oO9GL+D!4hLU7H|pf!g?n4i=zzT}KN z7pQh{+Kv{Z<}VctmxR9=owK=i=-Cec^}-7{7oITIIrVCah82U9z%~QNCfAs`hDCf0 z42p+Y>yr3Z7tZUeXfQ}rPd!t({)Qa8fZCj8ZIRB8bCM2>%PgLcZ+{tTTm#{Ky z;SmA#8~*c3QzCr%EBOk#R@*!^o|dJ$D~Wm5d)w(Zoi~>iPuw1HdGC_yrwpI(B+7fQ zoF2F;;_%d$$K($%EzU`@Ox<~n - #3F51B5 - #303F9F - #FF4081 + #ffff6f00 + #ffe46300 + @color/colorPrimary diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index fb8151c..fbea909 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -1,4 +1,5 @@ 16dp 48dp + 8dp diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index be11e48..1e17e43 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,5 +1,7 @@ Simple Draw + Save + Share Share via Could not save the file Image has been saved successfully