dialog_myanimelist_search.xml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. android:layout_width="match_parent"
  5. android:layout_height="wrap_content"
  6. android:orientation="vertical">
  7. <LinearLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="?attr/actionBarSize"
  10. android:gravity="center"
  11. android:orientation="horizontal"
  12. android:paddingLeft="@dimen/margin_left"
  13. android:paddingRight="@dimen/margin_right">
  14. <EditText
  15. android:id="@+id/myanimelist_search_field"
  16. android:layout_width="0dp"
  17. android:layout_height="wrap_content"
  18. android:layout_weight="1"
  19. android:hint="@string/title_hint"/>
  20. </LinearLayout>
  21. <ProgressBar
  22. android:id="@+id/progress"
  23. style="?android:attr/progressBarStyle"
  24. android:layout_width="wrap_content"
  25. android:layout_height="fill_parent"
  26. android:layout_gravity="center_vertical|center_horizontal"
  27. android:paddingBottom="32dp"
  28. android:paddingTop="32dp"
  29. android:visibility="gone"/>
  30. <ListView
  31. android:id="@+id/myanimelist_search_results"
  32. android:layout_width="match_parent"
  33. android:layout_height="wrap_content"
  34. android:choiceMode="singleChoice"
  35. android:clipToPadding="false"
  36. android:divider="@null"
  37. android:dividerHeight="0dp"
  38. android:listSelector="?attr/selectable_list_drawable"
  39. android:scrollbarStyle="outsideOverlay"
  40. android:visibility="gone"/>
  41. </LinearLayout>