fix: modified the behavior of long clicks on folders, directories and files

This commit is contained in:
antonio 2023-06-04 18:55:46 +02:00
parent 86713eb0fd
commit 675ad1e9a6
11 changed files with 22 additions and 66 deletions

View file

@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="960"
android:viewportHeight="960"
android:autoMirrored="true">
<path
android:fillColor="@color/titleTextColor"
android:pathData="M376,720L320,664L504,480L320,296L376,240L616,480L376,720Z"/>
</vector>

View file

@ -44,11 +44,11 @@
<ImageView
android:id="@+id/music_directory_more_button"
android:layout_width="18dp"
android:layout_height="18dp"
android:layout_width="22dp"
android:layout_height="22dp"
android:layout_marginStart="12dp"
android:layout_marginEnd="12dp"
android:background="@drawable/ic_more_vert"
android:background="@drawable/ic_navigate_next"
android:foreground="?android:attr/selectableItemBackgroundBorderless"
app:layout_constraintBottom_toBottomOf="@id/music_directory_title_text_view"
app:layout_constraintEnd_toEndOf="parent"

View file

@ -2,7 +2,6 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:clipChildren="false"
android:orientation="horizontal">
@ -40,11 +39,11 @@
<ImageView
android:id="@+id/music_folder_more_button"
android:layout_width="18dp"
android:layout_height="18dp"
android:layout_width="22dp"
android:layout_height="22dp"
android:layout_marginStart="4dp"
android:layout_marginEnd="4dp"
android:background="@drawable/ic_more_vert"
android:background="@drawable/ic_navigate_next"
android:foreground="?android:attr/selectableItemBackgroundBorderless"
app:layout_constraintBottom_toBottomOf="@id/music_folder_title_text_view"
app:layout_constraintEnd_toEndOf="parent"

View file

@ -44,11 +44,11 @@
<ImageView
android:id="@+id/music_index_more_button"
android:layout_width="18dp"
android:layout_height="18dp"
android:layout_width="22dp"
android:layout_height="22dp"
android:layout_marginStart="12dp"
android:layout_marginEnd="12dp"
android:background="@drawable/ic_more_vert"
android:background="@drawable/ic_navigate_next"
android:foreground="?android:attr/selectableItemBackgroundBorderless"
app:layout_constraintBottom_toBottomOf="@id/music_index_title_text_view"
app:layout_constraintEnd_toEndOf="parent"