tlmarker1968

Untitled

Sep 24th, 2019
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.28 KB | None | 0 0
  1. I had this:
  2.  
  3. <LinearLayout
  4.    xmlns:android="http://schemas.android.com/apk/res/android"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    android:orientation="vertical" >
  8.     <Button
  9.        android:id="@+id/buttonItemButton"
  10.        android:layout_width="124dp"
  11.        android:layout_height="wrap_content"
  12.        android:layout_marginStart="5dp"
  13.        android:layout_marginTop="5dp"
  14.        android:background="@drawable/blue_button"
  15.        android:fontFamily="@font/okuda"
  16.        android:paddingTop="45dp"
  17.        android:text=""
  18.        android:textColor="#000000" />
  19. </LinearLayout>
  20.  
  21.  And I changed it to this:
  22.  
  23. <LinearLayout
  24.    xmlns:android="http://schemas.android.com/apk/res/android"
  25.    android:layout_width="124dp"
  26.    android:layout_height="wrap_content"
  27.    android:orientation="vertical" >
  28.     <Button
  29.        android:id="@+id/buttonItemButton"
  30.        android:layout_width="wrap_content"
  31.        android:layout_height="wrap_content"
  32.        android:layout_marginStart="5dp"
  33.        android:layout_marginTop="5dp"
  34.        android:background="@drawable/blue_button"
  35.        android:fontFamily="@font/okuda"
  36.        android:paddingTop="45dp"
  37.        android:text=""
  38.        android:textColor="#000000" />
  39. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment