Advertisement
Guest User

two_line_list_item_horizontal

a guest
Aug 22nd, 2016
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.97 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:layout_width="match_parent"
  4.    android:layout_height="wrap_content"
  5.    android:orientation="horizontal">
  6.  
  7.     <TextView android:id="@+id/textName"
  8.        android:textSize="25sp"
  9.        android:textStyle="bold"
  10.        android:padding="5dp"
  11.        android:textAllCaps="true"
  12.        android:textColor="@color/white"
  13.        android:layout_width="0dp"
  14.        android:layout_height="wrap_content"
  15.        android:layout_weight="1"/>
  16.  
  17.     <TextView android:id="@+id/textCounter"
  18.        android:textSize="20sp"
  19.        android:layout_width="0dp"
  20.        android:layout_height="wrap_content"
  21.        android:layout_weight="1"
  22.        android:textColor="@color/white"/>
  23.  
  24.     <Button android:id="@+id/voteButton"
  25.        android:layout_width="40dp"
  26.        android:layout_height="40dp"
  27.        android:text="@string/plus"/>
  28.  
  29.  
  30. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement