/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/configure_vcf.xml

  • Committer: edam
  • Date: 2011-05-30 19:20:17 UTC
  • Revision ID: edam@waxworlds.org-20110530192017-5c09k4kgpov02gja
- added checks for Doit.this == null when handling dialog buttons (I managed to abort an import as a duplicate contacts dialog was shown, but can't reproduce it now)
- added line no.s to vcard parsing errors
- update progress bar after a contact is imported, not before
- fixed bug introduced in last commit where a contacts were imported after finaliseVcard()ing failed
- don't show unknown encoding errors for vcard fields that we don't care about (which ignores base64 encoded photos, for example)

Show diffs side-by-side

added added

removed removed

21
21
 *
22
22
 * You should have received a copy of the GNU General Public License
23
23
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
24
 
 -->
 
24
-->
25
25
 
26
26
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
27
27
 
32
32
                        <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/vcf_help"/>
33
33
                        <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" />
34
34
 
35
 
                        <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/vcf_location" />
36
 
                        <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal">
37
 
                                <EditText android:id="@+id/location" android:layout_height="wrap_content" android:layout_weight="1" android:layout_width="wrap_content" android:singleLine="true"/>
38
 
                        </LinearLayout>
 
35
                        <TextView android:id="@+id/location" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="" />
 
36
                        <Button android:id="@+id/path" android:drawableLeft="@drawable/sdcard" android:drawableRight="@drawable/browse" android:drawablePadding="6dp" android:gravity="left|center_vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" />
39
37
 
40
38
                </LinearLayout>
41
39
        </ScrollView>