renaming filepicker dialog

This commit is contained in:
tibbi 2016-12-27 00:38:05 +01:00
parent 48104c4ac2
commit 4370ee4e8d
2 changed files with 3 additions and 2 deletions

View file

@ -19,7 +19,7 @@ import com.simplemobiletools.commons.extensions.setupDialogStuff
import com.simplemobiletools.commons.models.FileDirItem
import com.simplemobiletools.commons.views.Breadcrumbs
import com.simplemobiletools.commons.views.RecyclerViewDivider
import kotlinx.android.synthetic.main.directory_picker.view.*
import kotlinx.android.synthetic.main.dialog_filepicker.view.*
import java.io.File
import java.util.*
import kotlin.comparisons.compareBy
@ -53,7 +53,7 @@ class FilePickerDialog(val context: Context,
if (!File(currPath).exists())
currPath = context.getInternalStoragePath()
mDialogView = LayoutInflater.from(context).inflate(R.layout.directory_picker, null)
mDialogView = LayoutInflater.from(context).inflate(R.layout.dialog_filepicker, null)
mDialogView.directory_picker_breadcrumbs.setListener(this)
updateItems()

View file

@ -17,6 +17,7 @@
android:id="@+id/directory_picker_list"
android:layout_width="match_parent"
android:layout_height="1000dp"
android:scrollbars="vertical"
app:layoutManager="android.support.v7.widget.LinearLayoutManager"/>
</LinearLayout>