Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Allow strings to be assigned via parameters for more customization #40

Open
alexeyvasilyev opened this issue Mar 20, 2017 · 3 comments
Open

Comments

@alexeyvasilyev
Copy link
Contributor

alexeyvasilyev commented Mar 20, 2017

FilePickerDialog dialog = new FilePickerDialog(getContext(), properties);
dialog.setTitle("Title");
dialog.setSelectText("Select");
dialog.setCancelText("Cancel");
dialog.setLastEditedFormat("Last edited: %s");
dialog.setParentDirText("Parent directory");
@npes87184
Copy link
Contributor

There are two functions for customizing button strings.

public void setPositiveBtnName(CharSequence positiveBtnNameStr);
public void setNegativeBtnName(CharSequence negativeBtnNameStr);

But looks like @Angads25 forgets to add it to README again.

@alexeyvasilyev
Copy link
Contributor Author

Yes, but other 3 strings cannot be changed.

@singhangadin
Copy link
Owner

singhangadin commented Apr 1, 2017

@alexeyvasilyev There is a setTitle() function in the Dialog. @npes87184 Unfortunately, it isn't possible to specify every method in First Page. For seeing all methods provided in the library, you can visit wiki page. I have spent a lot of time in making and updating it. Please have a look.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants