Advertisement
ricky_yulianto

Untitled

Apr 9th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.62 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:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:orientation="vertical"
  8. tools:context="codelabs.ambarrukmo.activity.PaymentMethodActivity">
  9.  
  10. <android.support.v7.widget.Toolbar
  11. android:id="@+id/toolbar"
  12. android:layout_width="match_parent"
  13. android:layout_height="?attr/actionBarSize"
  14. android:background="@android:color/transparent"
  15. android:layout_marginTop="20dp"
  16. app:contentInsetLeft="0dp"
  17. app:contentInsetStart="0dp">
  18.  
  19. <RelativeLayout
  20. android:layout_width="match_parent"
  21. android:layout_height="match_parent"
  22. android:gravity="center_vertical"
  23. android:paddingLeft="@dimen/activity_horizontal_margin"
  24. android:paddingRight="@dimen/activity_horizontal_margin">
  25.  
  26. <ImageView
  27. android:id="@+id/iv_back"
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:layout_alignParentTop="true"
  31. android:src="@drawable/ic_chevron_left"
  32. android:tint="@color/grey500" />
  33.  
  34. <TextView
  35. android:id="@+id/tv_toolbar_title"
  36. android:layout_width="wrap_content"
  37. android:layout_height="wrap_content"
  38. android:layout_alignParentTop="true"
  39. android:layout_centerInParent="true"
  40. android:layout_centerHorizontal="true"
  41. android:layout_marginTop="0dp"
  42. android:text="Payment Method"
  43. android:textColor="@color/grey500"
  44. android:textSize="16sp"
  45. android:textStyle="bold" />
  46.  
  47. </RelativeLayout>
  48.  
  49. </android.support.v7.widget.Toolbar>
  50.  
  51. <!--<include layout="@layout/error"/>-->
  52. <!--<include layout="@layout/loading"/>-->
  53.  
  54.  
  55. <FrameLayout
  56. android:id="@+id/container_content"
  57. android:layout_width="match_parent"
  58. android:layout_height="match_parent"
  59. app:layout_behavior="@string/appbar_scrolling_view_behavior">
  60.  
  61.  
  62. <android.support.v4.widget.NestedScrollView
  63. android:layout_width="match_parent"
  64. android:layout_height="match_parent">
  65.  
  66.  
  67.  
  68. </android.support.v4.widget.NestedScrollView>
  69.  
  70. </FrameLayout>
  71.  
  72. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement