842ac04828
* Create new activity to encapsulate account upgrade * Populate it with a list of legacy accounts, and progress bars for each * Sidestep Welcome when there are legacy accounts to convert * Super lightweight account migration: - Account login info only - no folders, messages, or attachments * Scrub out old data * Return to Welcome screen As noted, the copies working (useable) POP & IMAP accounts, but does not try to deal with folders, messages, or attachments. Bug: 2065528
53 lines
1.8 KiB
XML
53 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/*
|
|
** Copyright 2010, The Android Open Source Project
|
|
**
|
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
** you may not use this file except in compliance with the License.
|
|
** You may obtain a copy of the License at
|
|
**
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
|
**
|
|
** Unless required by applicable law or agreed to in writing, software
|
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
** See the License for the specific language governing permissions and
|
|
** limitations under the License.
|
|
*/
|
|
-->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="?android:attr/listPreferredItemHeight"
|
|
android:orientation="vertical"
|
|
android:paddingRight="6dip"
|
|
android:paddingLeft="6dip"
|
|
android:gravity="fill" >
|
|
|
|
<TextView android:id="@+id/name"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:textStyle="bold"
|
|
android:singleLine="true"
|
|
android:ellipsize="marquee"
|
|
android:layout_marginBottom="2dip" />
|
|
|
|
<ProgressBar android:id="@+id/progress"
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:max="100" />
|
|
|
|
<TextView android:id="@+id/error"
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:singleLine="true"
|
|
android:ellipsize="marquee"
|
|
android:layout_marginBottom="2dip" />
|
|
|
|
</LinearLayout>
|