From 3ee8ac6715fe694d3f42d5ccb2b5abb569f7ac0d Mon Sep 17 00:00:00 2001 From: SunitRoy2703 <2703iamsry@gmail.com> Date: Mon, 5 Oct 2020 00:49:41 +0530 Subject: [PATCH 1/2] i have added resize buttons in StickerItem.java,TextStickerView.java , which make the App more user-friendly --- .../main/java/org/fossasia/phimpme/editor/view/StickerItem.java | 2 +- .../java/org/fossasia/phimpme/editor/view/TextStickerView.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/fossasia/phimpme/editor/view/StickerItem.java b/app/src/main/java/org/fossasia/phimpme/editor/view/StickerItem.java index a00086aaa..771802fe5 100644 --- a/app/src/main/java/org/fossasia/phimpme/editor/view/StickerItem.java +++ b/app/src/main/java/org/fossasia/phimpme/editor/view/StickerItem.java @@ -67,7 +67,7 @@ public StickerItem(Context context) { deleteBit = BitmapFactory.decodeResource(context.getResources(), R.drawable.sticker_delete); } if (rotateBit == null) { - rotateBit = BitmapFactory.decodeResource(context.getResources(), R.drawable.sticker_rotate); + rotateBit = BitmapFactory.decodeResource(context.getResources(), R.drawable.sticker_resize); } } diff --git a/app/src/main/java/org/fossasia/phimpme/editor/view/TextStickerView.java b/app/src/main/java/org/fossasia/phimpme/editor/view/TextStickerView.java index 3d4535c4f..3f54ac8be 100644 --- a/app/src/main/java/org/fossasia/phimpme/editor/view/TextStickerView.java +++ b/app/src/main/java/org/fossasia/phimpme/editor/view/TextStickerView.java @@ -101,7 +101,7 @@ private void initView(Context context) { debugPaint.setColor(Color.parseColor("#66ff0000")); mDeleteBitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.sticker_delete); - mRotateBitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.sticker_rotate); + mRotateBitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.sticker_resize); mDeleteRect.set(0, 0, mDeleteBitmap.getWidth(), mDeleteBitmap.getHeight()); mRotateRect.set(0, 0, mRotateBitmap.getWidth(), mRotateBitmap.getHeight()); From 736b142be16f7922bc88c14d7b704fb9c99918b5 Mon Sep 17 00:00:00 2001 From: Sunit <2703iamsry@gmail.com> Date: Mon, 5 Oct 2020 02:56:14 +0530 Subject: [PATCH 2/2] Add files via upload --- .../main/res/drawable-xhdpi/sticker_resize.webp | Bin 0 -> 1176 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 app/src/main/res/drawable-xhdpi/sticker_resize.webp diff --git a/app/src/main/res/drawable-xhdpi/sticker_resize.webp b/app/src/main/res/drawable-xhdpi/sticker_resize.webp new file mode 100644 index 0000000000000000000000000000000000000000..f1e0493ab980a614677e52c278bb58c1ecf702ef GIT binary patch literal 1176 zcmV;J1ZVqFNk&GH1ONb6MM6+kP&iD41ONapF+dCuM+dQyBt=qG-!n7&@8xS$yK4mG zNRkvu9<{uC_(J`)JlldCNs=PTqm~(7aQdrx?I5;oRaxhK+#Ldtfe7?3<8~FcZQFG3 zGH(DXWoDe8b~;N*iDVK<5xpm-k;ydrQa_l(*a(rmRc;?=Y0Qk2zrR1qOi0R<;%3In z=bOlkDW6{-3G(yvRUQ#65hZB5A`%GF52h%^KfXN_lsG%?B$TV`(KHIZydFd@&U-~a zzCUDAY56Iq!$vuK0Gq+=+6+lcc>V|DwJa=ZtR8~SS|e6Ds%!`Aizym9w8aaBvfzip z3|R#Y*>kLE&*9V=mYtzPHVCE&MhJ!*2R-x;sLiouv;(G~-G&@M2eNHpSWk20L^T4G zRnZNFx0J!Zf#v_SF38$-jg@L5MJ=7JAP6J~0Aol}QfupM+qP}ncZ
(FIE?&8I?aIZI$37RwnD=4h>4&c~
zRnk;5Uq3v*v&xjWh5PTM=8?ht^an=@-?Am{{pTcB=bybvOqJh~Rbp0?f0nbXy^&2O
z=G<6gEPlshg-lhRZHhOt>7{+y63L|&V?-}E8(90y-nUbG$qqdiFwpaLQsp<5#T^C8
zwwTGG+$xhu`k6xu+oE){=^T{%D^cg|-el5q^9cwD2ncLFkA;%=zSS!Hr%JeYnKX6k
z)M;~UJnG*C@_I+149J5YBqX5k-|$2xo3
z)TvV^ck_@?e-~-J-IL5Sw^d+3KtO