Created
February 6, 2018 21:32
-
-
Save aniamark/1eebbaf98abad5a23fae7d5bc8eae2c7 to your computer and use it in GitHub Desktop.
xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<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_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context="com.example.android.quiz2.MainActivity"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:background="#ffffff" | |
android:orientation="vertical" | |
android:paddingBottom="16dp" | |
android:paddingLeft="16dp" | |
android:paddingRight="16dp" | |
android:paddingTop="16dp"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="horizontal"> | |
<ImageView | |
android:layout_width="120dp" | |
android:layout_height="120dp" | |
android:src="@drawable/edward_abbey"/> | |
<RelativeLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical"> | |
<TextView | |
android:id="@+id/cite" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginBottom="16dp" | |
android:text="@string/cite" | |
android:textAlignment="center" | |
android:textSize="14sp" | |
android:textStyle="italic"/> | |
<TextView | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_below="@id/cite" | |
android:layout_marginBottom="16dp" | |
android:text="@string/author" | |
android:textAlignment="center" | |
android:textColor="#000000" | |
android:textSize="14sp"/> | |
</RelativeLayout> | |
</LinearLayout> | |
<TextView | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginBottom="16dp" | |
android:layout_marginTop="16dp" | |
android:text="@string/title" | |
android:textAlignment="center" | |
android:textAllCaps="true" | |
android:textSize="24sp"/> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="horizontal" | |
android:paddingBottom="16dp" | |
android:paddingTop="16dp"> | |
<ImageView | |
android:layout_width="40dp" | |
android:layout_height="40dp" | |
android:src="@drawable/jeden" /> | |
<TextView | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginBottom="10dp" | |
android:text="@string/q1" | |
android:textColor="#000000" | |
android:textSize="14sp"/> | |
</LinearLayout> | |
<CheckBox | |
android:id="@+id/stallion" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginBottom="10dp" | |
android:buttonTint="#873603" | |
android:paddingLeft="12dp" | |
android:text="A stallion" | |
android:textSize="12sp"/> | |
<CheckBox | |
android:id="@+id/mare" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginBottom="10dp" | |
android:buttonTint="#873603" | |
android:paddingLeft="12dp" | |
android:text="A mare" | |
android:textSize="12sp"/> | |
<CheckBox | |
android:id="@+id/gelding" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginBottom="10dp" | |
android:buttonTint="#873603" | |
android:paddingLeft="12dp" | |
android:text="A gelding" | |
android:textSize="12sp"/> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="horizontal" | |
android:paddingBottom="16dp" | |
android:paddingTop="16dp"> | |
<ImageView | |
android:layout_width="40dp" | |
android:layout_height="40dp" | |
android:src="@drawable/dwa"/> | |
<TextView | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginBottom="10dp" | |
android:text="@string/q2" | |
android:textColor="#000000" | |
android:textSize="14sp"/> | |
</LinearLayout> | |
<ImageView | |
android:layout_width="wrap_content" | |
android:layout_height="250dp" | |
android:paddingBottom="16dp" | |
android:src="@drawable/chestnut"/> | |
<RadioGroup | |
android:id="@+id/ointment" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content"> | |
<RadioButton | |
android:id="@+id/chestnut" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:buttonTint="#873603" | |
android:paddingLeft="12dp" | |
android:text="chestnut"/> | |
<RadioButton | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:buttonTint="#873603" | |
android:paddingLeft="12dp" | |
android:text="piebold"/> | |
<RadioButton | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:buttonTint="#873603" | |
android:paddingLeft="12dp" | |
android:text="bay"/> | |
</RadioGroup> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="horizontal" | |
android:paddingBottom="16dp" | |
android:paddingTop="16dp"> | |
<ImageView | |
android:layout_width="40dp" | |
android:layout_height="40dp" | |
android:src="@drawable/trzy"/> | |
<TextView | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginBottom="10dp" | |
android:text="@string/q3" | |
android:textColor="#000000" | |
android:textSize="14sp"/> | |
</LinearLayout> | |
<RadioGroup | |
android:id="@+id/gaits" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content"> | |
<RadioButton | |
android:id="@+id/walk" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:buttonTint="#873603" | |
android:paddingLeft="12dp" | |
android:text="walk"/> | |
<RadioButton | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:buttonTint="#873603" | |
android:paddingLeft="12dp" | |
android:text="gallop"/> | |
<RadioButton | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:buttonTint="#873603" | |
android:paddingLeft="12dp" | |
android:text="trot"/> | |
</RadioGroup> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="horizontal" | |
android:paddingBottom="16dp" | |
android:paddingTop="16dp"> | |
<ImageView | |
android:layout_width="40dp" | |
android:layout_height="40dp" | |
android:src="@drawable/cztery"/> | |
<TextView | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginBottom="10dp" | |
android:text="@string/q4" | |
android:textColor="#000000" | |
android:textSize="14sp"/> | |
</LinearLayout> | |
<ImageView | |
android:layout_width="wrap_content" | |
android:layout_height="220dp" | |
android:src="@drawable/arab"/> | |
<EditText | |
android:id="@+id/arabian" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:backgroundTint="#873603" | |
android:hint="enter your answear" | |
android:inputType="textMultiLine" | |
android:paddingBottom="16dp"/> | |
<Button | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:onClick="checkResults" | |
android:text="check results" | |
android:textAllCaps="true" | |
android:textColor="#ffffff"/> | |
</LinearLayout> | |
</ScrollView> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment