Lots of fixes to line up with new multi/single move to folder dialog.

This leaves the picker with radion buttons for choosing the trash
and sent folders for imap.

Change-Id: I11bf32458b4d91bd21f2baf9260a69ac13026aaa
This commit is contained in:
mindyp 2012-09-18 15:44:24 -07:00
parent b203b2b119
commit 8ff282a260
2 changed files with 4 additions and 4 deletions

View File

@ -64,8 +64,8 @@ public class FolderPickerDialog implements OnClickListener, OnMultiChoiceClickLi
mAdapter = new SeparatedFolderListAdapter(context);
String[] headers = context.getResources()
.getStringArray(R.array.moveto_folder_sections);
mAdapter.addSection(new FolderPickerSelectorAdapter(context,
foldersCursor, new HashSet<String>(), true, headers[2]));
mAdapter.addSection(new FolderPickerSelectorAdapter(context, foldersCursor,
new HashSet<String>(), R.layout.radiobutton_single_folders_view, headers[2]));
builder.setAdapter(mAdapter, this);
} finally {
foldersCursor.close();

View File

@ -30,8 +30,8 @@ import java.util.Set;
public class FolderPickerSelectorAdapter extends HierarchicalFolderSelectorAdapter {
public FolderPickerSelectorAdapter(Context context, Cursor folders,
Set<String> initiallySelected, boolean single, String header) {
super(context, folders, initiallySelected, single, header);
Set<String> initiallySelected, int layout, String header) {
super(context, folders, initiallySelected, layout, header);
}
/**