renaming the directory thumbnail file, append square

This commit is contained in:
tibbi 2020-11-08 19:15:05 +01:00
parent fe5cb84ccc
commit 781adcfa10
3 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@ class DirectoryAdapter(activity: BaseSimpleActivity, var dirs: ArrayList<Directo
override fun getActionMenuId() = R.menu.cab_directories
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ViewHolder {
val layoutType = if (isListViewType) R.layout.directory_item_list else R.layout.directory_item_grid
val layoutType = if (isListViewType) R.layout.directory_item_list else R.layout.directory_item_grid_square
return createViewHolder(layoutType, parent)
}

View file

@ -19,7 +19,7 @@
android:layout_height="wrap_content">
<include
layout="@layout/directory_item_grid"
layout="@layout/directory_item_grid_square"
android:layout_width="180dp"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true" />