1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* 4 * Copyright (c) 2007 Google Inc. 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 */ 18--> 19 20<com.android.mail.browse.ConversationListFooterView 21 xmlns:android="http://schemas.android.com/apk/res/android" 22 android:orientation="horizontal" 23 android:layout_width="match_parent" 24 android:layout_height="wrap_content" 25 android:background="@drawable/conversation_item_background"> 26 27 <LinearLayout android:id="@+id/loading" 28 android:layout_width="match_parent" 29 android:layout_height="?android:attr/listPreferredItemHeight" 30 android:gravity="center" 31 android:visibility="gone"> 32 33 <ProgressBar 34 android:indeterminate="true" 35 android:layout_width="32dp" 36 android:layout_height="32dp" 37 style="?android:attr/progressBarStyle" /> 38 39 </LinearLayout> 40 <LinearLayout 41 android:id="@+id/load_more" 42 android:layout_width="match_parent" 43 android:layout_height="?android:attr/listPreferredItemHeight" 44 android:background="?android:attr/selectableItemBackground" 45 android:clickable="true" 46 android:visibility="gone"> 47 48 <TextView 49 style="@style/ConversationListFooterLoadMoreStyle" 50 android:layout_width="wrap_content" 51 android:layout_height="wrap_content" 52 android:layout_gravity="center_vertical" 53 android:text="@string/load_more" 54 android:textAllCaps="true" 55 android:textColor="@color/conversation_view_footer_load_more_text_color" 56 android:textSize="16sp" /> 57 58 </LinearLayout> 59</com.android.mail.browse.ConversationListFooterView> 60