Guest User

Untitled

a guest
Jan 17th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. <LinearLayout
  2. android:layout_width="match_parent"
  3. android:layout_height="50dp"
  4. android:background="@color/colorPrimary"
  5. android:orientation="horizontal"
  6. android:id="@+id/linearLayout">
  7. <de.hdodenhof.circleimageview.CircleImageView
  8. android:layout_width="30dp"
  9. android:layout_height="40dp"
  10. android:id="@+id/toolBarPicture"
  11. android:layout_gravity="center|center_horizontal"
  12. android:layout_marginLeft="15dp"
  13. android:src="@drawable/ic_toolbaruserprogile"
  14. android:textAlignment="center" />
  15.  
  16. </LinearLayout>
  17.  
  18. compile 'de.hdodenhof:circleimageview:2.2.0'
  19.  
  20. <?xml version="1.0" encoding="utf-8"?>
  21. <android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
  22. xmlns:app="http://schemas.android.com/apk/res-auto"
  23. android:id="@+id/toolbar_with_logo"
  24. android:layout_width="match_parent"
  25. android:layout_height="?attr/actionBarSize"
  26. app:titleTextColor="@android:color/white"
  27. android:background="@color/colorPrimary">
  28. <de.hdodenhof.circleimageview.CircleImageView
  29. android:layout_width="30dp"
  30. android:layout_height="40dp"
  31. android:id="@+id/toolBarPicture"
  32. android:layout_gravity="left"
  33. android:layout_marginLeft="15dp"
  34. android:src="@drawable/ic_launcher_background"
  35. android:textAlignment="center" />
  36. <TextView
  37. android:layout_width="wrap_content"
  38. android:layout_height="wrap_content"
  39. android:text="@string/app_name"/>
  40. </android.support.v7.widget.Toolbar>
Add Comment
Please, Sign In to add comment