adding the drag handle at folders
This commit is contained in:
parent
9320115330
commit
c3bcbd6174
|
@ -42,6 +42,19 @@
|
|||
android:src="@drawable/ic_check_vector"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/dir_drag_handle"
|
||||
android:layout_width="@dimen/drag_handle_size"
|
||||
android:layout_height="@dimen/drag_handle_size"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_margin="@dimen/medium_margin"
|
||||
android:background="@drawable/circle_black_background"
|
||||
android:contentDescription="@string/reorder_by_dragging"
|
||||
android:padding="@dimen/small_margin"
|
||||
android:src="@drawable/ic_drag_handle_vector"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/dir_pin"
|
||||
android:layout_width="@dimen/selection_check_size"
|
||||
|
|
|
@ -55,6 +55,19 @@
|
|||
android:src="@drawable/ic_pin"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/dir_drag_handle"
|
||||
android:layout_width="@dimen/drag_handle_size"
|
||||
android:layout_height="@dimen/drag_handle_size"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_margin="@dimen/medium_margin"
|
||||
android:background="@drawable/circle_black_background"
|
||||
android:contentDescription="@string/reorder_by_dragging"
|
||||
android:padding="@dimen/small_margin"
|
||||
android:src="@drawable/ic_drag_handle_vector"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/dir_shadow_holder"
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginEnd="@dimen/medium_margin"
|
||||
android:gravity="end"
|
||||
android:gravity="end|bottom"
|
||||
android:orientation="horizontal"
|
||||
android:paddingBottom="@dimen/tiny_margin">
|
||||
|
||||
|
@ -111,5 +111,14 @@
|
|||
android:src="@drawable/ic_pin"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/dir_drag_handle"
|
||||
android:layout_width="@dimen/selection_check_size"
|
||||
android:layout_height="@dimen/selection_check_size"
|
||||
android:layout_marginStart="@dimen/small_margin"
|
||||
android:contentDescription="@string/reorder_by_dragging"
|
||||
android:src="@drawable/ic_drag_handle_vector"
|
||||
android:visibility="gone" />
|
||||
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<dimen name="sd_card_icon_size">20dp</dimen>
|
||||
<dimen name="play_outline_icon_size">22dp</dimen>
|
||||
<dimen name="selection_check_size">26dp</dimen>
|
||||
<dimen name="drag_handle_size">34dp</dimen>
|
||||
<dimen name="play_outline_size_big">96dp</dimen>
|
||||
<dimen name="tmb_shadow_height">70dp</dimen>
|
||||
<dimen name="media_side_slider_width">60dp</dimen>
|
||||
|
|
Loading…
Reference in New Issue