| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 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. |
| --> |
| |
| <ScrollView |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:fillViewport="true"> |
| <LinearLayout |
| android:orientation="vertical" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:gravity="center_horizontal" |
| android:background="@drawable/panel_message"> |
| <TextView |
| android:id="@+id/message" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginTop="48dip" |
| android:textAppearance="?android:attr/textAppearanceLarge" |
| android:textColor="?android:attr/textColorSecondary" /> |
| |
| <TextView |
| android:id="@+id/secondary_message" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:textAppearance="?android:attr/textAppearanceSmall" |
| android:textColor="?android:attr/textColorSecondary" |
| android:layout_gravity="center_horizontal" |
| android:layout_marginBottom="@dimen/no_accounts_message_margin" /> |
| |
| <LinearLayout |
| android:orientation="vertical" |
| android:layout_marginLeft="48dip" |
| android:layout_marginRight="48dip" |
| android:layout_width="wrap_content" |
| android:layout_height="match_parent"> |
| <Button |
| android:id="@+id/create_contact_button" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginBottom="15dip" |
| android:text="@string/contacts_unavailable_create_contact" /> |
| |
| <Button |
| android:id="@+id/add_account_button" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginBottom="15dip" |
| android:text="@string/contacts_unavailable_add_account" /> |
| |
| <Button |
| android:id="@+id/import_contacts_button" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginBottom="15dip" |
| android:text="@string/contacts_unavailable_import_contacts" /> |
| |
| <Button |
| android:id="@+id/import_failure_uninstall_button" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginBottom="15dip" |
| android:text="@string/upgrade_out_of_memory_uninstall" /> |
| |
| <Button |
| android:id="@+id/import_failure_retry_button" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginBottom="15dip" |
| android:text="@string/upgrade_out_of_memory_retry" /> |
| |
| <ProgressBar |
| android:id="@+id/progress" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center_horizontal" |
| android:layout_marginBottom="15dip" /> |
| </LinearLayout> |
| </LinearLayout> |
| </ScrollView> |