1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2010 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 --> 16 17 <ScrollView 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="match_parent" 20 android:fillViewport="true"> 21 <LinearLayout 22 android:orientation="vertical" 23 android:layout_width="match_parent" 24 android:layout_height="wrap_content" 25 android:gravity="center_horizontal" 26 android:background="@drawable/panel_message"> 27 <TextView 28 android:id="@+id/message" 29 android:layout_width="wrap_content" 30 android:layout_height="wrap_content" 31 android:layout_marginTop="48dip" 32 android:textAppearance="?android:attr/textAppearanceLarge" 33 android:textColor="?android:attr/textColorSecondary" /> 34 35 <TextView 36 android:id="@+id/secondary_message" 37 android:layout_width="wrap_content" 38 android:layout_height="wrap_content" 39 android:textAppearance="?android:attr/textAppearanceSmall" 40 android:textColor="?android:attr/textColorSecondary" 41 android:layout_gravity="center_horizontal" 42 android:layout_marginBottom="@dimen/no_accounts_message_margin" /> 43 44 <LinearLayout 45 android:orientation="vertical" 46 android:layout_marginLeft="48dip" 47 android:layout_marginRight="48dip" 48 android:layout_marginStart="48dip" 49 android:layout_marginEnd="48dip" 50 android:layout_width="wrap_content" 51 android:layout_height="match_parent"> 52 <Button 53 android:id="@+id/create_contact_button" 54 android:layout_width="match_parent" 55 android:layout_height="wrap_content" 56 android:layout_marginBottom="15dip" 57 android:text="@string/contacts_unavailable_create_contact" /> 58 59 <Button 60 android:id="@+id/add_account_button" 61 android:layout_width="match_parent" 62 android:layout_height="wrap_content" 63 android:layout_marginBottom="15dip" 64 android:text="@string/contacts_unavailable_add_account" /> 65 66 <Button 67 android:id="@+id/import_contacts_button" 68 android:layout_width="match_parent" 69 android:layout_height="wrap_content" 70 android:layout_marginBottom="15dip" 71 android:text="@string/contacts_unavailable_import_contacts" /> 72 73 <Button 74 android:id="@+id/import_failure_uninstall_button" 75 android:layout_width="match_parent" 76 android:layout_height="wrap_content" 77 android:layout_marginBottom="15dip" 78 android:text="@string/upgrade_out_of_memory_uninstall" /> 79 80 <Button 81 android:id="@+id/import_failure_retry_button" 82 android:layout_width="match_parent" 83 android:layout_height="wrap_content" 84 android:layout_marginBottom="15dip" 85 android:text="@string/upgrade_out_of_memory_retry" /> 86 87 <ProgressBar 88 android:id="@+id/progress" 89 android:layout_width="wrap_content" 90 android:layout_height="wrap_content" 91 android:layout_gravity="center_horizontal" 92 android:layout_marginBottom="15dip" /> 93 </LinearLayout> 94 </LinearLayout> 95 </ScrollView>