/CVox/res/layout/contacts_list_content.xml

http://eyes-free.googlecode.com/ · XML · 45 lines · 20 code · 2 blank · 23 comment · 0 complexity · 5bae04072b085d9a7a2eed4c0eae927f MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (C) 2008 The Android Open Source Project
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. -->
  13. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  14. android:layout_width="fill_parent"
  15. android:layout_height="fill_parent"
  16. android:orientation="vertical">
  17. <!-- The group banner isn't used anymore
  18. <TextView
  19. android:id="@+id/contact_group"
  20. android:text="@string/noContacts"
  21. android:layout_width="fill_parent"
  22. android:layout_height="wrap_content"
  23. android:background="@android:drawable/title_bar"
  24. style="@android:style/TextAppearance.WindowTitle"/>
  25. -->
  26. <com.android.contacts.FastScrollView
  27. android:layout_width="fill_parent"
  28. android:layout_height="fill_parent">
  29. <ListView android:id="@android:id/list"
  30. android:layout_width="fill_parent"
  31. android:layout_height="fill_parent"
  32. />
  33. <TextView android:id="@android:id/empty"
  34. android:layout_width="fill_parent"
  35. android:layout_height="fill_parent"
  36. android:gravity="center"
  37. android:textAppearance="?android:attr/textAppearanceLarge"
  38. />
  39. </com.android.contacts.FastScrollView>
  40. </LinearLayout>