Advertisement
Guest User

List Activity XML

a guest
Nov 24th, 2014
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.19 KB | None | 0 0
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.    xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
  3.    android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
  4.    android:paddingRight="@dimen/activity_horizontal_margin"
  5.    android:paddingTop="@dimen/activity_vertical_margin"
  6.    android:paddingBottom="@dimen/activity_vertical_margin"
  7.    tools:context="com.cablin.cablinmobile.PayPerViewListActivity">
  8.  
  9.     <TextView
  10.        android:layout_width="wrap_content"
  11.        android:layout_height="wrap_content"
  12.        android:text="@string/ppv_list_username"
  13.        android:id="@+id/textView"
  14.        android:layout_alignParentTop="true"
  15.        android:layout_alignParentLeft="true"
  16.        android:layout_alignParentStart="true" />
  17.  
  18.     <TextView
  19.        android:layout_width="wrap_content"
  20.        android:layout_height="wrap_content"
  21.        android:id="@+id/textViewClientName"
  22.        android:layout_alignParentTop="true"
  23.        android:layout_toRightOf="@+id/textView"
  24.        android:layout_toEndOf="@+id/textView"
  25.        android:layout_marginLeft="25dp" />
  26.  
  27.     <TextView
  28.        android:layout_width="wrap_content"
  29.        android:layout_height="wrap_content"
  30.        android:text="DNI"
  31.        android:id="@+id/textView2"
  32.        android:layout_below="@+id/textView"
  33.        android:layout_alignParentLeft="true"
  34.        android:layout_alignParentStart="true" />
  35.  
  36.     <TextView
  37.        android:layout_width="wrap_content"
  38.        android:layout_height="wrap_content"
  39.        android:id="@+id/textViewDni"
  40.        android:layout_toEndOf="@+id/textView"
  41.        android:layout_below="@+id/textViewClientName"
  42.        android:layout_alignLeft="@+id/textViewClientName"
  43.        android:layout_alignStart="@+id/textViewClientName" />
  44.  
  45.     <ListView
  46.        android:layout_width="wrap_content"
  47.        android:layout_height="wrap_content"
  48.        android:id="@android:id/list"
  49.        android:layout_below="@+id/textView2"
  50.        android:layout_alignParentLeft="true"
  51.        android:layout_alignParentStart="true"
  52.        android:layout_marginTop="28dp" />
  53.  
  54. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement