From acd96b86e50dd3d2c02c5246c55778460d9fb4c1 Mon Sep 17 00:00:00 2001 From: Isira Seneviratne Date: Wed, 8 Jul 2020 11:27:44 +0530 Subject: [PATCH] Replace add circle PNGs with a vector drawable. --- .../ic_action_content_add_circle_outline.png | Bin 1185 -> 0 bytes .../ic_action_content_add_circle_outline.png | Bin 645 -> 0 bytes .../ic_action_content_add_circle_outline.png | Bin 1539 -> 0 bytes .../ic_action_content_add_circle_outline.png | Bin 3269 -> 0 bytes ...ic_action_content_add_circle_outline_32dp.xml | 10 ++++++++++ .../kdeconnect/UserInterface/MainActivity.java | 2 +- 6 files changed, 11 insertions(+), 1 deletion(-) delete mode 100644 res/drawable-hdpi/ic_action_content_add_circle_outline.png delete mode 100644 res/drawable-mdpi/ic_action_content_add_circle_outline.png delete mode 100644 res/drawable-xhdpi/ic_action_content_add_circle_outline.png delete mode 100644 res/drawable-xxhdpi/ic_action_content_add_circle_outline.png create mode 100644 res/drawable/ic_action_content_add_circle_outline_32dp.xml diff --git a/res/drawable-hdpi/ic_action_content_add_circle_outline.png b/res/drawable-hdpi/ic_action_content_add_circle_outline.png deleted file mode 100644 index d3ac0f2792552b491df1629d4cc2a47bab205bba..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1185 zcmV;S1YY}zP)@dARmLQgA)$Lo zrj#p08Lr=7d)IcHX`k=A^xf{N)j8ijd#|uJn8`mY1T zb0bqDT6itI?!gWHFexU6wtQr1lzSrm3 z5^e)GgM)g%({>Er1CUQXK)e88ybL)3w+m5HZbCvc8cE2|`q%(>3+eQlwsC;4z!R~g z27uyvay8sHAoV7{_rkYP{3B5#9n7Nd$LkDuNMOuEe$PkN$27810YG6RgzXE=niL#> z5236wjk2&l$ev8Q)>2dF`zzijr3t6B02U%pG4IkW6x_*bxH}FIJ@{P$*LB*DB7aMg z{6qjI+iXXWU9g(@RS3V4B;4madiu~`dYYSYTG&gIvQruW3KKW(cOdj&l5rSRN}ndS zA7cij7&DPRE1iCic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.png b/res/drawable-xhdpi/ic_action_content_add_circle_outline.png deleted file mode 100644 index f2a6b4cf611679117f1bc1caec7636ed883ffa7d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1539 zcmV+e2K@PnP)@{otd(F(6HLEe8 z=A}{d{txI7(6NA;Gte0VH8+6HBv|cPvLnZ+{{{F291tOp@n@urmeorqfX-h@t5d-B zM#7mbwP;@9v{}P`es@5^!GiMs^Ll9n(DAd7{2;g!oCk__-0!D|_zk=Xwm`&RWe`!A z06H!iSAfUCSa3#$V*hYoN((Y&b*R_sN`?s2&=HYBGdZ8}`~~n0L?kkD@ll8XIxnSf z0bSs-3=K|k|66bb90uRp|6?fsx86a{Kz=kwTna{-Ed3u1G=ZiS$?68Xks~s5mD~ha z=cm!?EHEUc^*^}xC3p{f4SGTqHQ8D%t_G9AwP0{c8^3e!b+9#5wl5$R^CYxvk;nlOXGxAG1Wp5-^trW&(GKlG(os-l)3s z2^U7fbgm!phJ%*c&FCS0f=Vy}=HYEb>II(U54m0#!#c9$DL&)LS%!=qL0VJEtWo2B zqW8`(T+a<13PA*zZ?CU^4{$v^&GxfnC%iHUP^WETe1*U6>L8zB8`v1KcL*gwo0{d| za))g>F-vGNcOm5|@9S%qwkXd!UzP=! z706Fm1+?o-imYG_y1i4F0Nc+mLC_>em?l0o5IkmGMam?=NRUP81G)ae9$7}KctT4H zuyM8(VeWqZD>E_q_tB*S0<>>f4z6*Oks~&()%+AffZWi{j$kb{JHfMg{qG70(8RnL z+y>kw`eAfb93iuW5HOFoyFBxM8NpkkKfS$BHUTyaoeE{Qb=JECm0QCfL4iD{d4coa$A2n`^}Yo0hDJ zmv)EoqPE6E9RY`^uYE&i2^j+V(n<7Ig4FS;S#B?ieBP=PMV`~{m<;0O2Z%%wk(86v zmt_R5R+5|oAnSVLkVRJCj0wN#tY;nI2h!_EBAu%0&t$+YA9aYM-0Awj7rgI7%s3xWK zkeE(w>l+kxtU!BfKP>(M_nz#du=rZqzR5E`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FN7Ne2>` z(X$!jB+iUf=@b(M8ZY;m)?>4D>auMxR#@D-<}|SRqw7iYL*@3%2p!O5CNMb*=<+lW z6Q2o;6qn(|^jkR;w(1H$VQI~#tKUMA^TOB)w##(&P15eHk3(PJ#O=U5v}DR|M7b5B zSka2_xmOg&(!5LG$Efy7-PFnvz6vSNiO?d;dk*6P^t`988Yj6`$e0AyVDMu_)wITV z|DG;^G>iR4A5Fc3BNu9SzXUkPI43v96skET8*usex#6;}S9G%?2}nXo1$jV5USe(~ zBryMRTqN%6dUocbkXwj?7YfPjgkq`NB=yr3ZsiCx&-e896uNLi6ya6E{6+954kD$! z8m!7Mi-BBvJ8Ry(FHFFhrZ-Nw%2_ZfNS2)!hD+ z2;V1vEaiX%n2jlP5D7reHM(VkgGlxU9;#ZOildO;Wj9=E4_YKY6{o2%6f8#$Gh=E55bzRWuX0`ab?CATT^>+@iD)X|1CTW#Nh0-z=UW-8RbNCm_%fweU z-8V2mt>j~oRUz7HXzg>g!@RM{A@VW;Crvrwtnhp0XInyzB)lYzIXdIkX3NmJJ69tD zyj;Q!QNU}24(CH+y8=3LPqf<-`WOXxfK81ywN_uu8E@g?D+ f{+;0eV~(_&!-@(LN~l$T?+M6Q-yBn`>mK`GKD!GN diff --git a/res/drawable/ic_action_content_add_circle_outline_32dp.xml b/res/drawable/ic_action_content_add_circle_outline_32dp.xml new file mode 100644 index 00000000..f4e76672 --- /dev/null +++ b/res/drawable/ic_action_content_add_circle_outline_32dp.xml @@ -0,0 +1,10 @@ + + + diff --git a/src/org/kde/kdeconnect/UserInterface/MainActivity.java b/src/org/kde/kdeconnect/UserInterface/MainActivity.java index 80301436..19dfd6c3 100644 --- a/src/org/kde/kdeconnect/UserInterface/MainActivity.java +++ b/src/org/kde/kdeconnect/UserInterface/MainActivity.java @@ -265,7 +265,7 @@ public class MainActivity extends AppCompatActivity implements SharedPreferences } MenuItem addDeviceItem = devicesMenu.add(Menu.FIRST, MENU_ENTRY_ADD_DEVICE, 1000, R.string.pair_new_device); - addDeviceItem.setIcon(R.drawable.ic_action_content_add_circle_outline); + addDeviceItem.setIcon(R.drawable.ic_action_content_add_circle_outline_32dp); addDeviceItem.setCheckable(true); MenuItem settingsItem = menu.add(Menu.FIRST, MENU_ENTRY_SETTINGS, 1000, R.string.settings);