From e166f14fd5fb602c5e8789d2a8df6e2bf02fcb6a Mon Sep 17 00:00:00 2001 From: George Venios Date: Sun, 6 Sep 2015 12:22:43 +0100 Subject: [PATCH] Updated folder picker item styling and margin. --- .../activities/FolderPickerActivity.java | 2 +- src/main/res/layout/item_folder_picker.xml | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 src/main/res/layout/item_folder_picker.xml diff --git a/src/main/java/com/nutomic/syncthingandroid/activities/FolderPickerActivity.java b/src/main/java/com/nutomic/syncthingandroid/activities/FolderPickerActivity.java index 7abafa92..daa67253 100644 --- a/src/main/java/com/nutomic/syncthingandroid/activities/FolderPickerActivity.java +++ b/src/main/java/com/nutomic/syncthingandroid/activities/FolderPickerActivity.java @@ -244,7 +244,7 @@ public class FolderPickerActivity extends SyncthingActivity private class FileAdapter extends ArrayAdapter { public FileAdapter(Context context) { - super(context, android.R.layout.simple_list_item_1); + super(context, R.layout.item_folder_picker); } @Override diff --git a/src/main/res/layout/item_folder_picker.xml b/src/main/res/layout/item_folder_picker.xml new file mode 100644 index 00000000..e56aad16 --- /dev/null +++ b/src/main/res/layout/item_folder_picker.xml @@ -0,0 +1,9 @@ +