Advertisement
markella92

Untitled

Aug 28th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.85 KB | None | 0 0
  1.  
  2. <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.  
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:id="@+id/container">
  8.  
  9. <android.support.design.widget.AppBarLayout
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
  13.  
  14. <android.support.v7.widget.Toolbar
  15. android:id="@+id/toolbar"
  16. android:layout_width="match_parent"
  17. android:layout_height="?attr/actionBarSize"
  18. android:background="@color/colorPrimaryDark"
  19. app:layout_scrollFlags="scroll|enterAlways"
  20. app:popupTheme="@style/ThemeOverlay.AppCompat.Light">
  21. <LinearLayout
  22. android:layout_width="fill_parent"
  23. android:layout_height="wrap_content"
  24. android:layout_centerInParent="true"
  25. android:layout_marginLeft="20dp"
  26. android:layout_marginRight="20dp"
  27. android:gravity="center"
  28. android:orientation="horizontal"
  29. android:id="@+id/minchia">
  30.  
  31.  
  32. <TextView
  33. android:layout_width="wrap_content"
  34. android:layout_height="wrap_content"
  35. android:text="@string/welcome"
  36. android:textSize="20dp"
  37. android:layout_marginLeft="5dp"
  38. />
  39. <Button
  40. android:id="@+id/crisbio"
  41. android:layout_width="122dp"
  42. android:layout_height="wrap_content"
  43. android:layout_marginRight="40dip"
  44. android:background="@color/btn_logut_bg"
  45. android:text="stampa"
  46. android:textAllCaps="false"
  47. android:textColor="@color/white"
  48. android:textSize="15dp"
  49. android:layout_marginLeft="5dp"
  50. android:onClick="logoutUser"
  51.  
  52. />
  53. <TextView
  54. android:layout_width="wrap_content"
  55. android:layout_height="wrap_content"
  56. android:textSize="20dp"
  57. android:layout_marginLeft="5dp"
  58. android:id="@+id/numero_tavolo"
  59. />
  60.  
  61. <TextView
  62. android:id="@+id/name"
  63. android:layout_width="wrap_content"
  64. android:layout_height="wrap_content"
  65. android:padding="10dp"
  66. android:textColor="@color/lbl_name"
  67. android:textSize="24dp"
  68. android:layout_marginLeft="5dp"
  69. />
  70. </LinearLayout>
  71.  
  72.  
  73.  
  74. </android.support.v7.widget.Toolbar>
  75.  
  76.  
  77. <android.support.design.widget.TabLayout
  78. android:id="@+id/tabss"
  79. android:layout_width="match_parent"
  80. android:layout_height="wrap_content"
  81. app:tabMode="scrollable"
  82. android:background="@color/colorPrimaryDark" />
  83.  
  84. </android.support.design.widget.AppBarLayout>
  85.  
  86.  
  87.  
  88. <android.support.v4.view.ViewPager
  89. android:id="@+id/viewpagerr"
  90. android:layout_width="match_parent"
  91. android:layout_height="match_parent"
  92. app:layout_behavior="@string/appbar_scrolling_view_behavior" >
  93. </android.support.v4.view.ViewPager>
  94.  
  95. <FrameLayout
  96. android:id="@+id/cristo"
  97. android:layout_marginTop="110dp"
  98. android:layout_width="match_parent"
  99. android:layout_height="match_parent">
  100.  
  101.  
  102. </FrameLayout>
  103.  
  104. </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement