Skip to content

Localizing your chooser using Content

Ashish Shekar edited this page May 25, 2017 · 1 revision

You can easily localize your chooser with Content class.


       // ----------------- Localization -------------------
        Content c = new Content();
       c.setCreateLabel("Create");
       c.setInternalStorageText("My Storage");
       c.setCancelLabel("Cancel");
       c.setSelectLabel("Select");
       c.setOverviewHeading("Choose Drive");

       builder.withActivity(this)
              .withFragmentManager(getFragmentManager())
              .withContent(c);

Clone this wiki locally