Skip to content

Instantly share code, notes, and snippets.

@bnasim
Created March 15, 2016 19:22
Show Gist options
  • Save bnasim/006d906616d8f8976ecc to your computer and use it in GitHub Desktop.
Save bnasim/006d906616d8f8976ecc to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="20dp"
android:background="@color/primary"
android:orientation="vertical" >
<TextView
android:id="@+id/survey_question_textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:textSize="25sp"
android:textColor="@android:color/white"
android:text="Question"/>
<TextView
android:id="@+id/survey_question_no"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:textSize="15sp"
android:textColor="@android:color/white"
/>
</LinearLayout>
<RadioGroup
android:id="@+id/radio1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dip"
android:layout_marginTop="5dip"
android:background="#fff"
>
</RadioGroup>
<View android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="1" ></View>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment