Advertisement
Guest User

Untitled

a guest
Aug 21st, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 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"
  4. android:layout_height="match_parent"
  5. android:layout_gravity="center_horizontal"
  6. android:layout_marginTop="@dimen/diam10"
  7. android:orientation="vertical">
  8.  
  9. <RelativeLayout
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:layout_centerHorizontal="true"
  13. android:layout_marginTop="@dimen/diam40dp">
  14.  
  15.  
  16. <TextView
  17.  
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. android:layout_margin="@dimen/diam15dp"
  21. android:background="@drawable/edittext_bottom_line"
  22. android:drawablePadding="@dimen/diam5dp"
  23. android:maxLength="15"
  24. android:maxLines="1"
  25. android:paddingBottom="@dimen/diam5dp"
  26. android:text="Sample Example"
  27. android:textColor="@android:color/black"
  28. android:textColorHint="@android:color/darker_gray" />
  29.  
  30.  
  31. </RelativeLayout>
  32.  
  33. <ImageView
  34. android:layout_width="wrap_content"
  35. android:layout_height="wrap_content"
  36. android:layout_centerHorizontal="true"
  37. android:background="@drawable/custom_round_shape_drawable"
  38. android:contentDescription="@string/app_name"
  39. android:padding="@dimen/diam15dp"
  40. android:src="@mipmap/ic_launcher" />
  41.  
  42.  
  43. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement