1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-23 04:41:16 +00:00

Updated folder picker item styling and margin.

This commit is contained in:
George Venios 2015-09-06 12:22:43 +01:00
parent 4fd61ec866
commit e166f14fd5
2 changed files with 10 additions and 1 deletions

View file

@ -244,7 +244,7 @@ public class FolderPickerActivity extends SyncthingActivity
private class FileAdapter extends ArrayAdapter<File> { private class FileAdapter extends ArrayAdapter<File> {
public FileAdapter(Context context) { public FileAdapter(Context context) {
super(context, android.R.layout.simple_list_item_1); super(context, R.layout.item_folder_picker);
} }
@Override @Override

View file

@ -0,0 +1,9 @@
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/text1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:gravity="center_vertical"
android:paddingLeft="@dimen/abc_action_bar_content_inset_material"
android:paddingRight="@dimen/abc_action_bar_content_inset_material"
android:minHeight="48dp" />