Guest User

Untitled

a guest
Oct 19th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.17 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent" android:layout_height="match_parent">
  4.  
  5. <WebView
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:id="@+id/web_view"
  9. android:layout_alignParentTop="true"
  10. android:layout_alignParentLeft="true"
  11. android:layout_alignParentStart="true">
  12. </WebView>
  13.  
  14. <LinearLayout
  15. android:orientation="horizontal"
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. android:gravity="bottom"
  19. android:layout_alignParentBottom="true">
  20.  
  21. <Button
  22. android:text="Call"
  23. android:layout_width="match_parent"
  24. android:layout_height="wrap_content"
  25. android:id="@+id/call"
  26. android:layout_weight="1"
  27. android:width="1dp" />
  28.  
  29. <Button
  30. android:text="Exit"
  31. android:layout_width="match_parent"
  32. android:layout_height="wrap_content"
  33. android:id="@+id/exit"
  34. android:layout_weight="1"
  35. android:width="1dp" />
  36. </LinearLayout>
  37.  
  38. </RelativeLayout>
  39.  
  40. <?xml version="1.0" encoding="utf-8"?>
  41. <LinearLayout
  42. xmlns:android="http://schemas.android.com/apk/res/android"
  43. android:layout_width="match_parent"
  44. android:layout_height="match_parent"
  45. android:orientation="vertical">
  46.  
  47. <WebView
  48. android:id="@+id/web_view"
  49. android:layout_width="match_parent"
  50. android:layout_height="wrap_content"
  51. android:layout_weight="1">
  52. </WebView>
  53.  
  54. <LinearLayout
  55. android:layout_width="match_parent"
  56. android:layout_height="wrap_content"
  57. android:orientation="horizontal">
  58.  
  59. <Button
  60. android:id="@+id/call"
  61. android:layout_width="match_parent"
  62. android:layout_height="wrap_content"
  63. android:layout_weight="1"
  64. android:text="Call"/>
  65.  
  66. <Button
  67. android:id="@+id/exit"
  68. android:layout_width="match_parent"
  69. android:layout_height="wrap_content"
  70. android:layout_weight="1"
  71. android:text="Exit"/>
  72. </LinearLayout>
  73.  
  74. </LinearLayout>
Add Comment
Please, Sign In to add comment