Selaa lähdekoodia

[마이메인][Common] 북마크, 좋아요, 로딩 이미지 해상도별 처리2

Hasemi 7 vuotta sitten
vanhempi
commit
3c477da2bf

+ 1 - 1
app/src/main/java/kr/co/zumo/app/lifeplus/view/custom/Loading.java

@@ -48,7 +48,7 @@ public class Loading {
       view.setClickable(true);
 
       ImageView imageView = view.findViewById(R.id.image_loading);
-      animation = new FrameAnimation.Builder(imageView, R.array.loading_animation, 60).repeat(true).build();
+      animation = new FrameAnimation.Builder(imageView, R.array.loading_animation, 50).repeat(true).build();
 
       frameLayout.addView(view);
     }

+ 17 - 5
app/src/main/res/drawable/icon_like_off.xml

@@ -1,6 +1,18 @@
-<vector android:height="14dp" android:viewportHeight="56"
-    android:viewportWidth="56" android:width="14dp" xmlns:android="http://schemas.android.com/apk/res/android">
-    <path android:fillColor="#00000000" android:fillType="evenOdd"
-        android:pathData="M28,49c-0.59,0 -1.18,-0.189 -2,-1 -4.317,-3.066 -17.15,-13.075 -20,-19 -3.917,-6.905 -1.705,-15.942 5,-20 1.873,-1.364 4.19,-2 6,-2 4.479,0 8.39,1.959 11,6 2.611,-4.042 6.522,-6 11,-6 1.81,0 4.126,0.636 6,2 6.705,4.058 8.916,13.095 5,20 -2.85,5.925 -15.685,15.934 -20,19 -0.82,0.811 -1.41,1 -2,1z"
-        android:strokeColor="#C5C5C5" android:strokeWidth="4"/>
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+        android:width="14dp"
+        android:height="14dp"
+        android:viewportWidth="56"
+        android:viewportHeight="56">
+  <group
+    android:pivotX="28"
+    android:pivotY="28"
+    android:scaleX="0.89"
+    android:scaleY="0.89">
+    <path
+      android:fillColor="#00000000"
+      android:fillType="evenOdd"
+      android:pathData="M28,49c-0.59,0 -1.18,-0.189 -2,-1 -4.317,-3.066 -17.15,-13.075 -20,-19 -3.917,-6.905 -1.705,-15.942 5,-20 1.873,-1.364 4.19,-2 6,-2 4.479,0 8.39,1.959 11,6 2.611,-4.042 6.522,-6 11,-6 1.81,0 4.126,0.636 6,2 6.705,4.058 8.916,13.095 5,20 -2.85,5.925 -15.685,15.934 -20,19 -0.82,0.811 -1.41,1 -2,1z"
+      android:strokeWidth="4"
+      android:strokeColor="#C5C5C5"/>
+  </group>
 </vector>

+ 13 - 6
app/src/main/res/drawable/icon_like_on.xml

@@ -4,10 +4,17 @@
         android:viewportWidth="56"
         android:viewportHeight="56">
 
-  <path
-    android:fillColor="#F27824"
-    android:fillType="evenOdd"
-    android:pathData="M28,49c-0.59,0 -1.18,-0.189 -2,-1 -4.317,-3.066 -17.15,-13.075 -20,-19 -3.917,-6.905 -1.705,-15.942 5,-20 1.873,-1.364 4.19,-2 6,-2 4.479,0 8.39,1.959 11,6 2.611,-4.042 6.522,-6 11,-6 1.81,0 4.126,0.636 6,2 6.705,4.058 8.916,13.095 5,20 -2.85,5.925 -15.685,15.934 -20,19 -0.82,0.811 -1.41,1 -2,1z"
-    android:strokeWidth="4"
-    android:strokeColor="#F27824"/>
+  <group
+    android:pivotX="28"
+    android:pivotY="28"
+    android:scaleX="0.89"
+    android:scaleY="0.89">
+
+    <path
+      android:fillColor="#F27824"
+      android:fillType="evenOdd"
+      android:pathData="M28,49c-0.59,0 -1.18,-0.189 -2,-1 -4.317,-3.066 -17.15,-13.075 -20,-19 -3.917,-6.905 -1.705,-15.942 5,-20 1.873,-1.364 4.19,-2 6,-2 4.479,0 8.39,1.959 11,6 2.611,-4.042 6.522,-6 11,-6 1.81,0 4.126,0.636 6,2 6.705,4.058 8.916,13.095 5,20 -2.85,5.925 -15.685,15.934 -20,19 -0.82,0.811 -1.41,1 -2,1z"
+      android:strokeWidth="4"
+      android:strokeColor="#F27824"/>
+  </group>
 </vector>