Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ScrollView
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_height="match_parent"
- android:layout_width="match_parent"
- >
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- tools:context=".MainActivity">
- <TextView
- android:id="@+id/header"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:fontFamily="monospace"
- android:textAllCaps="true"
- android:layout_gravity="center"
- android:textStyle="bold"
- android:text="Financial Terms Quiz"
- android:layout_margin="8dp"
- android:textSize="20sp"/>
- <TextView
- android:id="@+id/intro"
- android:fontFamily="monospace"
- android:layout_margin="8dp"
- android:lineSpacingExtra="5dp"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:text="@string/intro"
- android:textSize="16sp"
- />
- <TextView
- android:id="@+id/first_Question"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text="@string/moneyMarket"
- android:textSize="20sp"
- android:textStyle="bold"
- android:layout_marginTop="20dp"
- android:layout_marginLeft="8dp"
- />
- <CheckBox
- android:id="@+id/check_box1"
- android:layout_width="wrap_content"
- android:layout_gravity="center"
- android:onClick="startEvaluation"
- android:text="@string/checkbox1"
- android:layout_height="wrap_content"
- android:layout_margin="4dp"
- android:textSize="14sp" />
- <CheckBox
- android:id="@+id/check_box2"
- android:layout_width="wrap_content"
- android:onClick="startEvaluation"
- android:layout_gravity="center"
- android:layout_height="wrap_content"
- android:text="@string/checkBox2"
- android:layout_margin="4dp"
- android:textSize="14sp" />
- <CheckBox
- android:id="@+id/check_box3"
- android:layout_gravity="center"
- android:onClick="startEvaluation"
- android:text="@string/checkBox3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="4dp"
- android:textSize="14sp" />
- <TextView
- android:id="@+id/second_Question"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text="@string/hedgeFund"
- android:textSize="20sp"
- android:textStyle="bold"
- android:layout_marginTop="20dp"
- android:layout_marginLeft="8dp"
- />
- <RadioGroup
- android:id="@+id/radio_group_question_1"
- android:layout_width="wrap_content"
- android:onClick="startEvaluation"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <RadioButton
- android:id="@+id/radioButton1"
- android:layout_width="wrap_content"
- android:layout_margin="4dp"
- android:onClick="startEvaluation"
- android:textSize="14sp"
- android:text="@string/radioButton1"
- android:layout_height="wrap_content" />
- <RadioButton
- android:id="@+id/radioButton2"
- android:layout_width="wrap_content"
- android:layout_margin="4dp"
- android:textSize="14sp"
- android:onClick="startEvaluation"
- android:text="@string/radioButton2"
- android:layout_height="wrap_content" />
- <RadioButton
- android:id="@+id/radioButton3"
- android:layout_width="wrap_content"
- android:layout_margin="4dp"
- android:textSize="14sp"
- android:onClick="startEvaluation"
- android:text="@string/radioButton3"
- android:layout_height="wrap_content" />
- </RadioGroup>
- <TextView
- android:id="@+id/third_Question"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text="@string/corporateBond"
- android:onClick="startEvaluation"
- android:textSize="20sp"
- android:textStyle="bold"
- android:layout_marginTop="20dp"
- android:layout_marginLeft="8dp"
- />
- <CheckBox
- android:id="@+id/check_box4"
- android:layout_width="wrap_content"
- android:layout_gravity="center"
- android:onClick="startEvaluation"
- android:text="@string/checkBox4"
- android:layout_height="wrap_content"
- android:layout_margin="4dp"
- android:textSize="14sp" />
- <CheckBox
- android:id="@+id/check_box5"
- android:layout_width="wrap_content"
- android:text="@string/checkBox5"
- android:layout_gravity="center"
- android:layout_height="wrap_content"
- android:onClick="startEvaluation"
- android:layout_margin="4dp"
- android:textSize="14sp" />
- <CheckBox
- android:id="@+id/check_box6"
- android:text="@string/checkBox6"
- android:layout_gravity="center"
- android:onClick="startEvaluation"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="4dp"
- android:textSize="14sp" />
- <EditText
- android:id="@+id/editText1"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:hint="@string/editText1"
- android:inputType="text"
- android:textSize="20sp"
- android:textStyle="bold"
- android:layout_marginTop="20dp"
- android:layout_marginLeft="8dp"
- />
- <TextView
- android:id="@+id/edit_text1"
- android:layout_width="wrap_content"
- android:textColor="#000000"
- android:layout_gravity="center"
- android:text="@string/edit_Text1"
- android:layout_height="wrap_content"
- android:layout_margin="10dp"
- android:textSize="14sp" />
- <TextView
- android:id="@+id/last_Question"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text="@string/stock"
- android:textSize="20sp"
- android:textStyle="bold"
- android:layout_marginTop="20dp"
- android:layout_marginLeft="8dp"
- />
- <RadioGroup
- android:id="@+id/radio_group_question_2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <RadioButton
- android:id="@+id/radioButton4"
- android:layout_width="wrap_content"
- android:layout_margin="4dp"
- android:onClick="startEvaluation"
- android:textSize="14sp"
- android:text="@string/radioButton4"
- android:layout_height="wrap_content" />
- <RadioButton
- android:id="@+id/radioButton5"
- android:layout_width="wrap_content"
- android:layout_margin="4dp"
- android:onClick="startEvaluation"
- android:textSize="14sp"
- android:text="@string/radioButton5"
- android:layout_height="wrap_content" />
- <RadioButton
- android:id="@+id/radioButton6"
- android:layout_width="wrap_content"
- android:onClick="startEvaluation"
- android:layout_margin="4dp"
- android:textSize="14sp"
- android:text="@string/radioButton6"
- android:layout_height="wrap_content" />
- </RadioGroup>
- <Button
- android:id="@+id/evaluateCheckBox1"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="22dp"
- android:layout_marginLeft="16dp"
- android:layout_marginRight="16dp"
- android:onClick="startEvaluation"
- android:text="@string/evaluate_button" />
- <Button
- android:id="@+id/reset"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="16dp"
- android:layout_marginRight="16dp"
- android:onClick="reset"
- android:text="@string/reset_button"
- android:textColor="#ff0033"
- android:textStyle="bold" />
- </LinearLayout>
- </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement