Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <RelativeLayout android:layout_width="wrap_content" android:id="@+id/relativeLayout" android:layout_height="wrap_content">
- <TextView android:text="TextView" android:id="@+id/name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10sp" android:textStyle="bold" android:textSize="16sp"></TextView>
- <TextView android:layout_width="wrap_content" android:id="@+id/address" android:text="address" android:layout_height="wrap_content" android:layout_below="@+id/name" android:layout_alignLeft="@+id/name" android:layout_marginLeft="30sp"></TextView>
- <TextView android:layout_width="wrap_content" android:layout_toRightOf="@+id/address" android:text="" android:layout_height="wrap_content" android:layout_alignTop="@+id/address" android:layout_alignBottom="@+id/address" android:id="@+id/crossStreet"></TextView>
- <TextView android:layout_width="wrap_content" android:id="@+id/time" android:text="Time" android:layout_height="wrap_content" android:layout_alignParentRight="true" android:layout_marginRight="10sp"></TextView>
- </RelativeLayout>
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent" android:layout_height="wrap_content"
- android:orientation="horizontal">
- <LinearLayout android:layout_width="fill_parent"
- android:weightSum="1.0" android:id="@+id/relativeLayout"
- android:layout_height="wrap_content">
- <TextView android:text="TextView1 hhhhh hhhhhhhh hhhhhhhh hhhhhhh hhhhhh"
- android:id="@+id/name" android:layout_weight="0.5"
- android:layout_width="0dip" android:layout_height="wrap_content"
- android:layout_marginLeft="10sp" android:textStyle="bold"
- android:textSize="16sp"></TextView>
- <TextView android:layout_width="0dip" android:layout_weight="0.5"
- android:id="@+id/time" android:text="Textview4"
- android:layout_height="wrap_content" android:layout_alignParentRight="true"
- android:layout_marginRight="10sp"></TextView>
- </LinearLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment