Guest User

Untitled

a guest
Apr 20th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.48 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="wrap_content"
  6. android:padding="10dp"
  7. android:orientation="vertical"
  8. android:background="#d3d3d3">
  9. <android.support.v7.widget.Toolbar
  10. android:id="@+id/my_toolbar"
  11. android:layout_width="match_parent"
  12. android:layout_height="?attr/actionBarSize"
  13. android:background="?attr/colorPrimary"
  14. android:elevation="4dp"
  15. android:theme="@style/ThemeOverlay.AppCompat.ActionBar"/>
  16.  
  17.  
  18. <LinearLayout
  19. android:layout_width="match_parent"
  20. android:layout_height="match_parent"
  21. android:orientation="vertical">
  22. <ImageButton
  23. android:id="@+id/arrow_up"
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:layout_marginBottom="8dp"
  27. android:layout_marginLeft="8dp"
  28. android:layout_marginRight="8dp"
  29. android:layout_marginTop="8dp" />
  30.  
  31. <ImageButton
  32. android:id="@+id/arrow_down"
  33. android:layout_width="wrap_content"
  34. android:layout_height="wrap_content"
  35. android:layout_marginBottom="44dp"
  36. android:layout_marginLeft="8dp"
  37. android:layout_marginRight="7dp" />
  38.  
  39. </LinearLayout>
  40. <LinearLayout
  41. android:layout_width="match_parent"
  42. android:layout_height="match_parent"
  43. android:orientation="vertical">
  44. <ScrollView
  45. android:id="@+id/tableWrapper"
  46. android:layout_width="match_parent"
  47. android:layout_height="wrap_content"
  48. android:layout_marginBottom="260dp"
  49. android:layout_marginTop="8dp"
  50. tools:layout_editor_absoluteX="1dp">
  51.  
  52. <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
  53. android:id="@+id/tableLayout1"
  54. android:layout_width="match_parent"
  55. android:layout_height="match_parent"
  56. android:shrinkColumns="*"
  57. android:stretchColumns="*">
  58.  
  59. <TableRow
  60. android:id="@+id/tableRow_title"
  61. android:layout_width="match_parent"
  62. android:layout_height="wrap_content"
  63. android:background="#16a085"
  64. android:gravity="center_horizontal">
  65.  
  66. <TextView
  67. android:id="@+id/TableHeader"
  68. android:layout_width="766dp"
  69. android:layout_height="40dp"
  70. android:layout_span="6"
  71. android:gravity="center"
  72. android:text="Data Base"
  73. android:textColor="#ffffff"
  74. android:textSize="18dp"
  75. android:textStyle="bold"
  76. android:typeface="serif"
  77. tools:layout_editor_absoluteX="8dp"
  78. tools:layout_editor_absoluteY="-83dp"></TextView>
  79. </TableRow>
  80.  
  81. <TableRow
  82. android:id="@+id/tableRow_item"
  83. android:layout_width="match_parent"
  84. android:layout_height="wrap_content"
  85. android:background="#ffffff"
  86. android:gravity="center"
  87. android:padding="5dp">
  88.  
  89. <TextView
  90. android:id="@+id/tv1"
  91. android:text="Table"
  92. android:textColor="#000000"></TextView>
  93.  
  94. <TextView
  95. android:id="@+id/tv2"
  96. android:text="Action"
  97. android:textColor="#000000"
  98. android:typeface="serif"></TextView>
  99.  
  100. <TextView
  101. android:id="@+id/tv3"
  102. android:text="Request running"
  103. android:textColor="#000000"
  104. android:typeface="serif"></TextView>
  105.  
  106. <TextView
  107. android:id="@+id/tv4"
  108. android:text="Available"
  109. android:textColor="#000000"
  110. android:typeface="serif"> </TextView>
  111. </TableRow>
  112.  
  113. </TableLayout>
  114.  
  115. </ScrollView>
  116. </LinearLayout>
  117. </LinearLayout>
Add Comment
Please, Sign In to add comment