reuse some icons from Commons library
@ -7,7 +7,7 @@
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:icon="@mipmap/launcher"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="@string/app_launcher_name"
|
||||
android:theme="@style/AppTheme">
|
||||
|
||||
|
@ -201,10 +201,10 @@ class ItemsAdapter(val activity: SimpleActivity, var mItems: List<FileDirItem>,
|
||||
toggleItemSelection(itemView, markedItems.contains(pos), pos)
|
||||
|
||||
if (fileDirItem.isDirectory) {
|
||||
Glide.with(activity).load(R.mipmap.directory).diskCacheStrategy(getCacheStrategy(fileDirItem)).centerCrop().crossFade().into(itemView.item_icon)
|
||||
Glide.with(activity).load(R.drawable.ic_folder).diskCacheStrategy(getCacheStrategy(fileDirItem)).centerCrop().crossFade().into(itemView.item_icon)
|
||||
itemView.item_details.text = getChildrenCnt(fileDirItem)
|
||||
} else {
|
||||
Glide.with(activity).load(fileDirItem.path).diskCacheStrategy(getCacheStrategy(fileDirItem)).error(R.mipmap.file).centerCrop().crossFade().into(itemView.item_icon)
|
||||
Glide.with(activity).load(fileDirItem.path).diskCacheStrategy(getCacheStrategy(fileDirItem)).error(R.drawable.ic_file).centerCrop().crossFade().into(itemView.item_icon)
|
||||
itemView.item_details.text = fileDirItem.size.formatSize()
|
||||
}
|
||||
|
||||
|
@ -22,12 +22,12 @@
|
||||
|
||||
</android.support.v4.widget.SwipeRefreshLayout>
|
||||
|
||||
<android.support.design.widget.FloatingActionButton
|
||||
<com.simplemobiletools.commons.views.MyFloatingActionButton
|
||||
android:id="@+id/items_fab"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|end"
|
||||
android:layout_margin="@dimen/activity_margin"
|
||||
android:src="@mipmap/plus"/>
|
||||
android:src="@drawable/ic_plus"/>
|
||||
|
||||
</android.support.design.widget.CoordinatorLayout>
|
||||
|
@ -19,7 +19,7 @@
|
||||
android:layout_height="@dimen/filepicker_list_icon_size"
|
||||
android:paddingBottom="@dimen/medium_margin"
|
||||
android:paddingTop="@dimen/medium_margin"
|
||||
android:src="@mipmap/directory"/>
|
||||
android:src="@drawable/ic_folder"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_name"
|
||||
|
@ -3,27 +3,27 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item
|
||||
android:id="@+id/cab_properties"
|
||||
android:icon="@mipmap/info"
|
||||
android:icon="@drawable/ic_info"
|
||||
android:title="@string/properties"
|
||||
app:showAsAction="ifRoom"/>
|
||||
<item
|
||||
android:id="@+id/cab_rename"
|
||||
android:icon="@mipmap/edit"
|
||||
android:icon="@drawable/ic_rename"
|
||||
android:title="@string/rename"
|
||||
app:showAsAction="ifRoom"/>
|
||||
<item
|
||||
android:id="@+id/cab_share"
|
||||
android:icon="@mipmap/share"
|
||||
android:icon="@drawable/ic_share"
|
||||
android:title="@string/share"
|
||||
app:showAsAction="ifRoom"/>
|
||||
<item
|
||||
android:id="@+id/cab_copy_move"
|
||||
android:icon="@mipmap/copy"
|
||||
android:icon="@drawable/ic_copy"
|
||||
android:title="@string/copy_move"
|
||||
app:showAsAction="ifRoom"/>
|
||||
<item
|
||||
android:id="@+id/cab_delete"
|
||||
android:icon="@mipmap/delete"
|
||||
android:icon="@drawable/ic_delete"
|
||||
android:title="@string/delete"
|
||||
app:showAsAction="ifRoom"/>
|
||||
</menu>
|
||||
|
Before Width: | Height: | Size: 360 B |
Before Width: | Height: | Size: 296 B |
Before Width: | Height: | Size: 342 B |
Before Width: | Height: | Size: 399 B |
Before Width: | Height: | Size: 987 B |
Before Width: | Height: | Size: 394 B |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 755 B |
Before Width: | Height: | Size: 232 B |
Before Width: | Height: | Size: 607 B |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 230 B |
Before Width: | Height: | Size: 191 B |
Before Width: | Height: | Size: 229 B |
Before Width: | Height: | Size: 211 B |
Before Width: | Height: | Size: 651 B |
Before Width: | Height: | Size: 242 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 854 B After Width: | Height: | Size: 854 B |
Before Width: | Height: | Size: 433 B |
Before Width: | Height: | Size: 148 B |
Before Width: | Height: | Size: 371 B |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 362 B |
Before Width: | Height: | Size: 256 B |
Before Width: | Height: | Size: 379 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 405 B |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 185 B |
Before Width: | Height: | Size: 711 B |
Before Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 610 B |
Before Width: | Height: | Size: 447 B |
Before Width: | Height: | Size: 610 B |
Before Width: | Height: | Size: 625 B |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 682 B |
Before Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 292 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 54 KiB |
Before Width: | Height: | Size: 329 B |
Before Width: | Height: | Size: 243 B |
Before Width: | Height: | Size: 463 B |
Before Width: | Height: | Size: 355 B |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 490 B |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 269 B |
Before Width: | Height: | Size: 938 B |
Before Width: | Height: | Size: 66 KiB |