Guest User

Untitled

a guest
May 24th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.27 KB | None | 0 0
  1. <android.support.v7.widget.Toolbar
  2. android:id="@+id/toolbar"
  3. android:layout_width="match_parent"
  4. android:layout_height="?attr/actionBarSize"
  5. android:background="?attr/colorPrimary"
  6. app:popupTheme="@style/AppTheme.PopupOverlay">
  7. <RelativeLayout
  8. android:layout_marginEnd="16dp"
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent"
  11. android:layout_marginRight="16dp">
  12. <Button
  13. android:id="@+id/text_toolbar"
  14. style="?android:attr/borderlessButtonStyle"
  15. android:layout_centerInParent="true"
  16. android:layout_width="wrap_content"
  17. android:layout_height="match_parent"
  18. android:textSize="36sp"
  19. android:textColor="@color/white"
  20. android:text="@string/k_i_n_e_c_t"/>
  21. </RelativeLayout>
  22. </android.support.v7.widget.Toolbar>
  23.  
  24. <android.support.v7.widget.Toolbar
  25. android:id="@+id/toolbar"
  26. android:layout_width="match_parent"
  27. android:layout_height="?attr/actionBarSize"
  28. android:background="?attr/colorPrimary"
  29. app:popupTheme="@style/AppTheme.PopupOverlay">
  30. <RelativeLayout
  31. android:layout_marginEnd="16dp"
  32. android:layout_width="match_parent"
  33. android:layout_height="wrap_content"
  34. android:layout_marginRight="16dp">
  35. <Button
  36. android:id="@+id/text_toolbar"
  37. style="?android:attr/borderlessButtonStyle"
  38. android:layout_centerInParent="true"
  39. android:layout_width="match_parent"
  40. android:layout_height="wrap_content"
  41. android:textSize="36sp"
  42. android:textColor="@color/white"
  43. android:text="@string/k_i_n_e_c_t"
  44. android:padding="2sp"/>
  45. </RelativeLayout>
  46. </android.support.v7.widget.Toolbar>
  47.  
  48. <Button
  49. android:layout_width="wrap_content"
  50. android:layout_height="wrap_content"
  51. android:text="Upload Image"
  52. android:id="@+id/buttonUpload" />
  53.  
  54. button.getHeight();
  55.  
  56. button.setTextSize();
Add Comment
Please, Sign In to add comment