dialog_loading.xml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/dialog_loading_view"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:gravity="center"
  7. android:orientation="vertical">
  8. <LinearLayout
  9. android:layout_width="150dp"
  10. android:layout_height="110dp"
  11. android:background="@drawable/loading_bg"
  12. android:gravity="center"
  13. android:orientation="vertical"
  14. android:paddingBottom="10dp"
  15. android:paddingLeft="21dp"
  16. android:paddingRight="21dp"
  17. android:paddingTop="10dp">
  18. <ProgressBar
  19. android:id="@+id/progressBar1"
  20. android:layout_width="35dp"
  21. android:layout_height="35dp"
  22. android:layout_gravity="center_horizontal"
  23. android:indeterminateBehavior="repeat"
  24. android:indeterminateDrawable="@drawable/dialog_loading"
  25. android:indeterminateOnly="true" />
  26. <TextView
  27. android:id="@+id/tipTextView"
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:layout_marginTop="15dp"
  31. android:text="@string/action_string"
  32. android:textColor="#f0f0f0"
  33. android:textSize="15sp" />
  34. </LinearLayout>
  35. </LinearLayout>