activity_error.xml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:gravity="top"
  8. android:orientation="vertical"
  9. tools:context="macampcorp.macamp.activities.ErrorActivity">
  10. <TextView
  11. android:id="@+id/title"
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:gravity="center"
  15. android:text="Erreur:"
  16. android:textSize="24sp"
  17. android:textStyle="bold" />
  18. <ScrollView
  19. android:layout_width="match_parent"
  20. android:layout_height="match_parent"
  21. android:layout_weight="1">
  22. <LinearLayout
  23. android:layout_width="match_parent"
  24. android:layout_height="match_parent"
  25. android:gravity="top"
  26. android:orientation="vertical">
  27. <TextView
  28. android:id="@+id/message"
  29. android:layout_width="match_parent"
  30. android:layout_height="match_parent"
  31. android:layout_weight="1"
  32. android:text="TextView" />
  33. </LinearLayout>
  34. </ScrollView>
  35. <Button
  36. android:id="@+id/button"
  37. android:layout_width="match_parent"
  38. android:layout_height="wrap_content"
  39. android:onClick="onOk"
  40. android:text="Ok" />
  41. </LinearLayout>