/android/import-contacts

To get this branch, use:
bzr branch http://bzr.ed.am/android/import-contacts

« back to all changes in this revision

Viewing changes to res/layout/mergeprompt.xml

  • Committer: edam
  • Date: 2010-10-28 15:49:21 UTC
  • Revision ID: edam@waxworlds.org-20101028154921-98svlxlpno3cpzb8
- added file chooser
- changed file/dir entry box for a button that opens the file chooser
- added dialog to ask if you want to select a dir to scan or a file
- fixed bug where you could abort as dialog opened and the dialog wasn't cancelled
- fixed crash where you could abort as the merge prompt opened and it would try to use the just-destroyed importer
- fixed bug where closing the application at the end would show "aborted!" erroniously

Show diffs side-by-side

added added

removed removed

3
3
<!--
4
4
 * mergeprompt.xml
5
5
 *
6
 
 * Copyright (C) 2009 Tim Marston <tim@ed.am>
 
6
 * Copyright (C) 2009 Tim Marston <edam@waxworlds.org>
7
7
 *
8
8
 * This file is part of the Import Contacts program (hereafter referred
9
 
 * to as "this program").  For more information, see
10
 
 * http://ed.am/dev/android/import-contacts
 
9
 * to as "this program"). For more information, see
 
10
 * http://www.waxworlds.org/edam/software/android/import-contacts
11
11
 *
12
12
 * This program is free software: you can redistribute it and/or modify
13
13
 * it under the terms of the GNU General Public License as published by
26
26
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" android:paddingLeft="20dp" android:paddingRight="20dp">
27
27
 
28
28
        <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/mergeprompt_help" />
29
 
        <TextView android:layout_height="wrap_content" android:id="@+id/mergeprompt_name" android:textStyle="bold" android:gravity="center" android:layout_width="fill_parent" android:paddingBottom="10dp" />
 
29
        <TextView android:layout_height="wrap_content" android:id="@+id/mergeprompt_name" android:textStyle="bold" android:gravity="center" android:layout_width="fill_parent"/>
 
30
        <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" />
30
31
        <Button android:layout_height="wrap_content" android:layout_width="fill_parent" android:id="@+id/merge_keep" android:text="@string/merge_keep"/>
31
32
        <Button android:layout_height="wrap_content" android:layout_width="fill_parent" android:text="@string/merge_merge" android:id="@+id/merge_merge" />
32
33
        <Button android:layout_height="wrap_content" android:layout_width="fill_parent" android:text="@string/merge_overwrite" android:id="@+id/merge_overwrite" />