Browse Source

use two xml for comments, one for list, one for grid

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 6 years ago
parent
commit
63211df14a

+ 0 - 3
src/main/res/drawable/ic_comment.xml

@@ -4,9 +4,6 @@
         android:width="24dp"
         xmlns:android="http://schemas.android.com/apk/res/android">
     <path
-        android:strokeColor="#FFFFFFFF"
-        android:strokeWidth="0.2"
-        android:strokeMiterLimit="4"
         android:fillColor="#ff757575"
         android:pathData="M8,1.5C3.582,1.5 0,3.962 0,7s3.582,5.5 8,5.5c0.25,0 0.49,-0.016 0.734,-0.03L13,16v-4.703c1.83,-1.008 3,-2.56 3,-4.297 0,-3.038 -3.582,-5.5 -8,-5.5z"/>
 </vector>

+ 12 - 0
src/main/res/drawable/ic_comment_grid.xml

@@ -0,0 +1,12 @@
+<vector android:height="20dp"
+    android:viewportHeight="16"
+    android:viewportWidth="16"
+    android:width="20dp"
+    xmlns:android="http://schemas.android.com/apk/res/android">
+    <path
+        android:strokeColor="#FFFFFFFF"
+        android:strokeWidth="1"
+        android:strokeMiterLimit="4"
+        android:fillColor="#ff757575"
+        android:pathData="M8,1.5C3.582,1.5 0,3.962 0,7s3.582,5.5 8,5.5c0.25,0 0.49,-0.016 0.734,-0.03L13,16v-4.703c1.83,-1.008 3,-2.56 3,-4.297 0,-3.038 -3.582,-5.5 -8,-5.5z" />
+</vector>

+ 1 - 2
src/main/res/layout/grid_image.xml

@@ -70,8 +70,7 @@
             android:clickable="true"
             android:contentDescription="@string/unread_comments"
             android:focusable="true"
-            android:alpha="0.3"
-            android:src="@drawable/ic_comment"
+            android:src="@drawable/ic_comment_grid"
             android:visibility="gone" />
 
         <ImageView

+ 1 - 2
src/main/res/layout/grid_item.xml

@@ -68,8 +68,7 @@
             android:layout_marginTop="@dimen/grid_item_shared_icon_layout_top_margin"
             android:layout_marginRight="@dimen/standard_quarter_margin"
             android:layout_marginEnd="@dimen/standard_quarter_margin"
-            android:alpha="0.3"
-            android:src="@drawable/ic_comment"
+            android:src="@drawable/ic_comment_grid"
             android:visibility="gone" />
 
         <ImageView