Advertisement
Guest User

Untitled

a guest
Jun 16th, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.50 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <android.support.percent.PercentRelativeLayout
  4. xmlns:android="http://schemas.android.com/apk/res/android"
  5. xmlns:app="http://schemas.android.com/apk/res-auto"
  6. xmlns:tools="http://schemas.android.com/tools"
  7. android:layout_width="match_parent"
  8. android:layout_height="match_parent"
  9. android:background="@color/colorPrimary"
  10. tools:context=".MainActivity"
  11. android:id="@+id/bgl0">
  12.  
  13.  
  14. <android.support.v7.widget.Toolbar
  15. xmlns:android="http://schemas.android.com/apk/res/android"
  16. xmlns:app="http://schemas.android.com/apk/res-auto"
  17. android:id="@+id/my_toolbar"
  18. android:layout_width="match_parent"
  19. android:layout_height="?attr/actionBarSize"
  20. android:theme="@style/ThemeOverlay.AppCompat.ActionBar"
  21. app:popupTheme="@style/ThemeOverlay.AppCompat.Light"/>
  22.  
  23. <android.support.percent.PercentRelativeLayout
  24. xmlns:android="http://schemas.android.com/apk/res/android"
  25. xmlns:app="http://schemas.android.com/apk/res-auto"
  26. xmlns:tools="http://schemas.android.com/tools"
  27. android:layout_width="match_parent"
  28. android:layout_height="match_parent"
  29. tools:context=".MainActivity"
  30. android:id="@+id/bgl"
  31. android:layout_marginTop="168px">
  32.  
  33. <android.support.percent.PercentRelativeLayout
  34. xmlns:android="http://schemas.android.com/apk/res/android"
  35. xmlns:app="http://schemas.android.com/apk/res-auto"
  36. xmlns:tools="http://schemas.android.com/tools"
  37. android:layout_width="fill_parent"
  38. android:layout_height="wrap_content"
  39. tools:context=".MainActivity"
  40. android:id="@+id/bg999"
  41. android:layout_above="@+id/custom_list"
  42. android:layout_marginTop="168px">
  43.  
  44. <Button
  45. android:layout_width="match_parent"
  46. android:layout_height="match_parent"
  47. android:text="Start"
  48. android:id="@+id/button"
  49. android:layout_alignTop="@+id/buttonP"
  50. android:layout_centerHorizontal="true"
  51. app:layout_widthPercent="40%" />
  52. <!-- android:background="@drawable/border" -->
  53.  
  54. <Button
  55. android:layout_width="wrap_content"
  56. android:layout_height="match_parent"
  57. android:text="&lt;&lt;"
  58. android:id="@+id/buttonP"
  59. android:layout_alignParentLeft="true"
  60. android:layout_alignLeft="@+id/button"
  61. app:layout_widthPercent="30%" />
  62.  
  63. <Button
  64. android:layout_width="wrap_content"
  65. android:layout_height="match_parent"
  66. android:text="&gt;&gt;"
  67. android:id="@+id/buttonN" app:layout_widthPercent="30%"
  68. android:layout_alignParentRight="true"
  69. android:layout_alignRight="@+id/button"/>
  70. <!--android:layout_above="@+id/custom_list"
  71. android:layout_alignRight="@+id/custom_list" -->
  72.  
  73. </android.support.percent.PercentRelativeLayout>
  74.  
  75.  
  76. <ListView
  77. android:id="@+id/custom_list"
  78. android:layout_width="fill_parent"
  79. android:layout_height="wrap_content"
  80. android:dividerHeight="1dp"
  81. android:layout_weight="0.5" />
  82.  
  83. </android.support.percent.PercentRelativeLayout>
  84.  
  85. </android.support.percent.PercentRelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement