Advertisement
Guest User

Untitled

a guest
May 6th, 2015
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 KB | None | 0 0
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
  3. android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
  4. android:paddingRight="@dimen/activity_horizontal_margin"
  5. android:paddingTop="@dimen/activity_vertical_margin"
  6. android:paddingBottom="@dimen/activity_vertical_margin"
  7. android:orientation="vertical"
  8. tools:context="com.example.admin.myapplication.ShapeCompute">
  9. <LinearLayout
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:orientation="horizontal">
  13. <TextView
  14. android:layout_width="match_parent"
  15. android:layout_height="246dp"
  16. android:id="@id/txtName"
  17. android:hint="Question here"
  18. /></LinearLayout>
  19. <LinearLayout
  20. android:layout_width="match_parent"
  21. android:layout_height="wrap_content"
  22. android:orientation="horizontal">
  23. <EditText
  24. android:layout_width="match_parent"
  25. android:layout_height="wrap_content"
  26. android:id="@+id/txt2"
  27. android:hint= "Enter radius"
  28. /></LinearLayout>
  29. <LinearLayout
  30. android:layout_width="match_parent"
  31. android:layout_height="wrap_content"
  32. android:orientation="horizontal">
  33. <Button
  34. android:layout_width="match_parent"
  35. android:layout_height="wrap_content"
  36. android:id="@id/btn1"
  37. android:text="Check"
  38. android:onClick="checkanswer" />
  39.  
  40.  
  41.  
  42.  
  43. </LinearLayout>
  44. <LinearLayout
  45. android:layout_width="match_parent"
  46. android:layout_height="wrap_content"
  47. android:orientation="horizontal">
  48. <Button
  49. android:layout_width="match_parent"
  50. android:layout_height="wrap_content"
  51. android:onClick="nxtproblem"
  52. android:text="Next Problem"
  53. android:id="@+id/btn2"
  54. /></LinearLayout>
  55. <LinearLayout
  56. android:layout_width="wrap_content"
  57. android:layout_height="wrap_content"
  58. android:orientation="horizontal">
  59. <TextView
  60. android:layout_width="match_parent"
  61. android:layout_height="wrap_content"
  62. android:id="@+id/tv4"
  63. android:text="Score"/>
  64. <TextView
  65. android:layout_width="match_parent"
  66. android:layout_height="wrap_content"
  67. android:id="@+id/tv5"
  68. android:hint="Score"/>
  69. </LinearLayout>
  70. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement