Advertisement
munsking

pony xml

Feb 17th, 2012
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.58 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="fill_parent"
  4.    android:layout_height="fill_parent"
  5.    android:orientation="vertical" >
  6.  
  7.     <TextView
  8.        android:id="@+id/tvWelcome"
  9.        android:layout_width="fill_parent"
  10.        android:layout_height="wrap_content"
  11.        android:layout_marginLeft="25dp"
  12.        android:layout_marginRight="25dp"
  13.        android:layout_marginTop="10dp"
  14.        android:text="tvWelcome"
  15.        android:textAppearance="?android:attr/textAppearanceLarge"
  16.        android:textSize="7pt" />
  17.  
  18.     <TextView
  19.        android:id="@+id/tvQuestion"
  20.        android:layout_width="fill_parent"
  21.        android:layout_height="wrap_content"
  22.        android:layout_marginLeft="25dp"
  23.        android:layout_marginRight="25dp"
  24.        android:layout_marginTop="10dp"
  25.        android:text="tvQuestion"
  26.        android:textAppearance="?android:attr/textAppearanceLarge" />
  27.  
  28.  
  29.  
  30.  
  31.     <RadioGroup
  32.        android:id="@+id/rgAnswers"
  33.        android:layout_width="266dp"
  34.        android:layout_height="wrap_content"
  35.        android:layout_marginLeft="25dp"
  36.        android:layout_marginRight="25dp"
  37.        android:layout_marginTop="10dp" >
  38.  
  39.         <RadioButton
  40.            android:id="@+id/rbA1"
  41.            android:layout_width="wrap_content"
  42.            android:layout_height="wrap_content"
  43.            android:checked="true"
  44.            android:text="rbA1" />
  45.  
  46.         <RadioButton
  47.            android:id="@+id/rbA2"
  48.            android:layout_width="wrap_content"
  49.            android:layout_height="wrap_content"
  50.            android:text="rbA2" />
  51.  
  52.         <RadioButton
  53.            android:id="@+id/rbA3"
  54.            android:layout_width="wrap_content"
  55.            android:layout_height="wrap_content"
  56.            android:text="rbA3" />
  57.  
  58.         <RadioButton
  59.            android:id="@+id/rbA4"
  60.            android:layout_width="wrap_content"
  61.            android:layout_height="wrap_content"
  62.            android:text="rbA4" />
  63.  
  64.     </RadioGroup>
  65.  
  66.  
  67.     <Button
  68.        android:id="@+id/btSubmit"
  69.       android:layout_width="fill_parent"
  70.        android:layout_height="wrap_content"
  71.        android:layout_marginLeft="25dp"
  72.        android:layout_marginRight="25dp"
  73.        android:layout_marginTop="10dp"
  74.        android:layout_gravity="center"
  75.        android:text="Answer" />
  76.  
  77.     <ImageView
  78.        android:id="@+id/ivResult"
  79.        android:layout_width="wrap_content"
  80.        android:layout_height="wrap_content"
  81.        />
  82.  
  83. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement