Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2014 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 <LinearLayout
     18     xmlns:android="http://schemas.android.com/apk/res/android"
     19     android:orientation="vertical"
     20     android:layout_width="match_parent"
     21     android:layout_height="wrap_content"
     22     android:gravity="center_horizontal">
     23     <TextView
     24         android:id="@+id/message"
     25         android:layout_width="wrap_content"
     26         android:layout_height="wrap_content"
     27         android:layout_marginTop="48dip"
     28         android:textAppearance="?android:attr/textAppearanceLarge"
     29         android:textColor="?android:attr/textColorSecondary" />
     30 
     31     <TextView
     32         android:id="@+id/secondary_message"
     33         android:layout_width="wrap_content"
     34         android:layout_height="wrap_content"
     35         android:textAppearance="?android:attr/textAppearanceSmall"
     36         android:textColor="?android:attr/textColorSecondary"
     37         android:layout_gravity="center_horizontal"
     38         android:layout_marginBottom="@dimen/no_accounts_message_margin" />
     39 
     40     <LinearLayout
     41         android:orientation="vertical"
     42         android:layout_marginLeft="48dip"
     43         android:layout_marginRight="48dip"
     44         android:layout_marginStart="48dip"
     45         android:layout_marginEnd="48dip"
     46         android:layout_width="wrap_content"
     47         android:layout_height="match_parent">
     48         <Button
     49             android:id="@+id/create_contact_button"
     50             android:layout_width="match_parent"
     51             android:layout_height="wrap_content"
     52             android:layout_marginBottom="15dip"
     53             android:text="@string/contacts_unavailable_create_contact" />
     54 
     55         <Button
     56             android:id="@+id/add_account_button"
     57             android:layout_width="match_parent"
     58             android:layout_height="wrap_content"
     59             android:layout_marginBottom="15dip"
     60             android:text="@string/contacts_unavailable_add_account" />
     61 
     62         <Button
     63             android:id="@+id/import_contacts_button"
     64             android:layout_width="match_parent"
     65             android:layout_height="wrap_content"
     66             android:layout_marginBottom="15dip"
     67             android:text="@string/contacts_unavailable_import_contacts" />
     68 
     69         <ProgressBar
     70             android:id="@+id/progress"
     71             android:layout_width="wrap_content"
     72             android:layout_height="wrap_content"
     73             android:layout_gravity="center_horizontal"
     74             android:layout_marginBottom="15dip" />
     75     </LinearLayout>
     76 </LinearLayout>
     77