OSDN Git Service

Changing the languages drag handle as per the Material Design spec
authorMihai Nita <mnita@google.com>
Wed, 3 Aug 2016 16:31:00 +0000 (09:31 -0700)
committerMihai Nita <mnita@google.com>
Wed, 3 Aug 2016 17:04:47 +0000 (10:04 -0700)
It should use 4 horizontal bars, as per Material Design spec:
    https://material.google.com/components/lists-controls.html#lists-controls-types-of-list-controls
(search for "Reorder", there is no direct link)

The new icon comes from
    https://design.google.com/icons/#ic_reorder

Bug: 30260880
Change-Id: I27a38cef864b97dd23c83cce2bb2859b268e4bd4

res/drawable/drag_handle.xml

index 33a68c6..835ac5b 100644 (file)
@@ -22,6 +22,6 @@
         android:tint="@color/material_grey_600">
 
     <path android:fillColor="@android:color/white"
-          android:pathData="M8,18v4h32v-4hm-32,8v4h32v-4z" />
+          android:pathData="M6,30h36v-4L6,26v4zM6,38h36v-4L6,34v4zM6,22h36L42,18L6,18v4zM6,10v4h36L42,10L6,10z" />
 
 </vector>