mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-06-05 22:09:15 +02:00
remove the dividers from the list views
This commit is contained in:
@ -58,7 +58,7 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.simplemobiletools:commons:5.23.13'
|
||||
implementation 'com.simplemobiletools:commons:5.23.15'
|
||||
implementation 'com.github.Stericson:RootTools:df729dcb13'
|
||||
implementation 'com.github.Stericson:RootShell:1.6'
|
||||
implementation 'com.alexvasilkov:gesture-views:2.5.2'
|
||||
|
@ -696,7 +696,7 @@ class ItemsAdapter(activity: SimpleActivity, var listItems: MutableList<ListItem
|
||||
item_name.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize)
|
||||
|
||||
item_details.setTextColor(textColor)
|
||||
item_details.setTextSize(TypedValue.COMPLEX_UNIT_PX, smallerFontSize)
|
||||
item_details.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize)
|
||||
|
||||
item_date.setTextColor(textColor)
|
||||
item_date.setTextSize(TypedValue.COMPLEX_UNIT_PX, smallerFontSize)
|
||||
|
@ -162,9 +162,9 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
|
||||
ItemsAdapter(activity as SimpleActivity, storedItems, this@ItemsFragment, items_list, isPickMultipleIntent, items_fastscroller) {
|
||||
itemClicked(it as FileDirItem)
|
||||
}.apply {
|
||||
addVerticalDividers(true)
|
||||
items_list.adapter = this
|
||||
}
|
||||
|
||||
items_fastscroller.allowBubbleDisplay = true
|
||||
items_fastscroller.setViews(items_list, mView.items_swipe_refresh) {
|
||||
items_fastscroller.updateBubbleText(storedItems.getOrNull(it)?.getBubbleText(context) ?: "")
|
||||
|
@ -7,7 +7,9 @@
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:foreground="@drawable/selector">
|
||||
android:foreground="@drawable/selector"
|
||||
android:paddingTop="@dimen/tiny_margin"
|
||||
android:paddingBottom="@dimen/tiny_margin">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/item_holder"
|
||||
@ -17,8 +19,8 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/item_icon"
|
||||
android:layout_width="@dimen/normal_icon_size"
|
||||
android:layout_height="@dimen/normal_icon_size"
|
||||
android:layout_width="@dimen/file_picker_icon_size"
|
||||
android:layout_height="@dimen/file_picker_icon_size"
|
||||
android:layout_centerVertical="true"
|
||||
android:padding="@dimen/medium_margin"
|
||||
android:src="@drawable/ic_folder_vector" />
|
||||
@ -31,7 +33,7 @@
|
||||
android:layout_toEndOf="@+id/item_icon"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="1"
|
||||
android:paddingStart="@dimen/small_margin"
|
||||
android:paddingStart="@dimen/tiny_margin"
|
||||
android:paddingTop="@dimen/small_margin"
|
||||
tools:text="Directory" />
|
||||
|
||||
@ -42,7 +44,7 @@
|
||||
android:layout_below="@+id/item_name"
|
||||
android:layout_toEndOf="@+id/item_icon"
|
||||
android:alpha="0.6"
|
||||
android:paddingStart="@dimen/small_margin"
|
||||
android:paddingStart="@dimen/tiny_margin"
|
||||
android:textSize="@dimen/smaller_text_size"
|
||||
tools:text="1 KB" />
|
||||
|
||||
|
Reference in New Issue
Block a user