Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2013
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.54 KB | None | 0 0
  1. <RelativeLayout
  2.    xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:layout_width="match_parent"
  4.     android:layout_height="wrap_content" >
  5.     <RelativeLayout
  6.         android:layout_width="match_parent"
  7.         android:layout_height="wrap_content"
  8.         android:paddingLeft="15dp"
  9.         android:paddingRight="15dp" >
  10.         <RelativeLayout
  11.             android:orientation="vertical"
  12.             android:layout_width="match_parent"
  13.             android:layout_height="wrap_content"
  14.             android:background="@drawable/rounded_red"
  15.             android:layout_marginTop="15dp" >
  16.        
  17.             <TextView
  18.                 android:id="@+id/layout_title"
  19.                 android:layout_width="wrap_content"
  20.                 android:layout_height="wrap_content"
  21.                 android:layout_centerHorizontal="true"
  22.                 android:layout_margin="8dp"
  23.                 android:text="Name of popup" />
  24.        
  25.             <RelativeLayout
  26.                 android:id="@+id/layout_content"
  27.                 android:orientation="vertical"
  28.                 android:layout_width="match_parent"
  29.                 android:layout_height="wrap_content"
  30.                 android:layout_marginTop="32dp"
  31.                 android:background="@drawable/rounded_gray"
  32.                 android:padding="10dp" >
  33.  
  34.             </RelativeLayout>
  35.         </RelativeLayout>
  36.     </RelativeLayout>
  37.     <Button
  38.        android:id="@+id/btn_popup_settings"
  39.        android:layout_width="30dp"
  40.        android:layout_height="30dp"
  41.        android:layout_alignParentRight="true"
  42.        android:layout_alignParentTop="true"
  43.        android:layout_marginRight="4dp"
  44.        android:layout_marginTop="4dp"
  45.        android:background="@drawable/button_close" />
  46. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement