1 <?xml version="1.0" encoding="utf-8"?> 2 3 <!-- Copyright 2014 The Chromium Authors. All rights reserved. 4 Use of this source code is governed by a BSD-style license that can be 5 found in the LICENSE file. 6 --> 7 8 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" 9 android:layout_height="match_parent" 10 android:layout_width="match_parent"> 11 <ListView android:id="@+id/hostList_chooser" 12 android:layout_height="match_parent" 13 android:layout_width="match_parent"/> 14 <LinearLayout android:id="@+id/hostList_empty" 15 android:gravity="center" 16 android:layout_height="match_parent" 17 android:layout_width="match_parent" 18 android:orientation="vertical" 19 android:visibility="gone"> 20 <ImageView android:layout_height="wrap_content" 21 android:layout_width="wrap_content" 22 android:src="@drawable/empty_host_list"/> 23 <TextView android:gravity="center" 24 android:layout_height="wrap_content" 25 android:layout_width="match_parent" 26 android:text="@string/host_list_empty_android" 27 style="@style/EmptyStateText"/> 28 <TextView android:id="@+id/host_setup_link_android" 29 android:gravity="center" 30 android:layout_height="wrap_content" 31 android:layout_width="match_parent" 32 android:text="@string/host_setup_link_android" 33 style="@style/EmptyStateText.Hyperlink"/> 34 </LinearLayout> 35 <ProgressBar android:id="@+id/hostList_progress" 36 android:layout_height="wrap_content" 37 android:layout_width="wrap_content" 38 android:layout_gravity="center" 39 android:visibility="gone" 40 style="@android:style/Widget.Holo.ProgressBar.Large"/> 41 </FrameLayout> 42