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

  • Committer: edam
  • Date: 2009-01-11 12:58:54 UTC
  • Revision ID: edam@waxworlds.org-20090111125854-u8ofzso4jatk12me
- added "all done" message
- rewrote Importer.finish() to make the exit process more consistent
- moved Doit's message definitions to Doit
- ensure the importer is destroyed in Doit.onPause()
- only show the toaster popup if a) there is an importer to abort, and b) the abort actually did something (i.e., it's not already aborted)
- bugfix: added some checks for abortion to the Importer after wait()ing after a dialog. Importer.wake() now alsy does a notify() to break out of dialog waits.
- also, made Importer.checkAbort() protected, so it can be checked from specific importers as desired

Show diffs side-by-side

added added

removed removed

1
 
<?xml version="1.0" encoding="utf-8"?>
2
 
 
3
 
<!--
4
 
 * filechoose_row.xml
5
 
 *
6
 
 * Copyright (C) 2009 Tim Marston <tim@ed.am>
7
 
 *
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
11
 
 *
12
 
 * This program is free software: you can redistribute it and/or modify
13
 
 * it under the terms of the GNU General Public License as published by
14
 
 * the Free Software Foundation, either version 3 of the License, or
15
 
 * (at your option) any later version.
16
 
 *
17
 
 * This program is distributed in the hope that it will be useful,
18
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20
 
 * GNU General Public License for more details.
21
 
 *
22
 
 * You should have received a copy of the GNU General Public License
23
 
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
24
 
-->
25
 
 
26
 
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingTop="10dip" android:paddingBottom="10dip" >
27
 
 
28
 
        <ImageView android:id="@+id/icon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/directory" />
29
 
        <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="10dp" />
30
 
        <TextView android:id="@+id/name" android:layout_width="fill_parent" android:layout_height="wrap_content" />
31
 
 
32
 
</LinearLayout>