Advertisement
SarahT1111

Earthquake quiz app

Apr 7th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 27.92 KB | None | 0 0
  1. <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  2.    xmlns:app="http://schemas.android.com/apk/res-auto"
  3.    xmlns:tools="http://schemas.android.com/tools"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="match_parent"
  6.    android:background="#000000"
  7.    tools:context=".MainActivity">
  8.  
  9.  
  10.     <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  11.        xmlns:tools="http://schemas.android.com/tools"
  12.        android:layout_width="match_parent"
  13.        android:layout_height="match_parent"
  14.        android:background="#000000"
  15.        android:orientation="vertical"
  16.        android:padding="16dp"
  17.        tools:context="com.example.android.earthquake.MainActivity">
  18.  
  19.  
  20.         <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  21.            xmlns:tools="http://schemas.android.com/tools"
  22.            android:layout_width="match_parent"
  23.            android:layout_height="match_parent"
  24.            android:background="#000000"
  25.            android:orientation="horizontal"
  26.            android:padding="16dp"
  27.            tools:context="com.example.android.earthquake.MainActivity">
  28.  
  29.             <pl.droidsonroids.gif.GifImageView
  30.                android:layout_width="match_parent"
  31.                android:layout_height="match_parent"
  32.                android:layout_weight="3"
  33.                android:background="#000000"
  34.                android:scaleType="centerInside"
  35.                android:src="@drawable/earthquakeglobe" />
  36.  
  37.             <TextView
  38.                android:layout_width="match_parent"
  39.                android:layout_height="wrap_content"
  40.                android:layout_weight="1"
  41.                android:background="@android:color/black"
  42.                android:gravity="center"
  43.                android:text="Learn About Earthquakes!"
  44.                android:textColor="#ffffff"
  45.                android:textSize="30sp" />
  46.         </LinearLayout>
  47.  
  48.         <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  49.            xmlns:tools="http://schemas.android.com/tools"
  50.            android:layout_width="match_parent"
  51.            android:layout_height="match_parent"
  52.            android:background="#FFFFFF"
  53.            android:orientation="vertical"
  54.            android:padding="16dp"
  55.            tools:context="com.example.android.earthquake.MainActivity">
  56.  
  57.             <TextView
  58.                android:layout_width="match_parent"
  59.                android:layout_height="match_parent"
  60.                android:layout_marginBottom="10dp"
  61.                android:background="#FFFFFF"
  62.                android:text="What is an earthquake?"
  63.                android:textColor="#FF327CA3"
  64.                android:textSize="18sp"
  65.                android:textStyle="bold">
  66.  
  67.             </TextView>
  68.  
  69.             <TextView
  70.                android:layout_width="match_parent"
  71.                android:layout_height="match_parent"
  72.                android:layout_marginBottom="10dp"
  73.                android:background="#FFFFFF"
  74.                android:text="An earthquake is what happens when two blocks of the earth suddenly slip past one another. The surface where they slip is called the fault or fault plane. The location below the earth’s surface where the earthquake starts is called the hypocenter, and the location directly above it on the surface of the earth is called the epicenter."
  75.                android:textSize="14sp"></TextView>
  76.  
  77.             <TextView
  78.                android:layout_width="match_parent"
  79.                android:layout_height="match_parent"
  80.                android:layout_marginBottom="10dp"
  81.                android:background="#FFFFFF"
  82.                android:text="What causes earthquakes and where do they happen?"
  83.                android:textColor="#FF327CA3"
  84.                android:textSize="18sp"
  85.                android:textStyle="bold"></TextView>
  86.  
  87.             <TextView
  88.                android:layout_width="match_parent"
  89.                android:layout_height="match_parent"
  90.                android:layout_marginBottom="20dp"
  91.                android:background="#FFFFFF"
  92.                android:text="The earth has four major layers: the inner core, outer core, mantle and crust. (figure 1) The crust and the top of the mantle make up a thin skin on the surface of our planet. But this skin is not all in one piece – it is made up of many pieces like a puzzle covering the surface of the earth. (figure 3) Not only that, but these puzzle pieces keep slowly moving around, sliding past one another and bumping into each other. We call these puzzle pieces tectonic plates, and the edges of the plates are called the plate boundaries. The plate boundaries are made up of many faults, and most of the earthquakes around the world occur on these faults. Since the edges of the plates are rough, they get stuck while the rest of the plate keeps moving. Finally, when the plate has moved far enough, the edges unstick on one of the faults and there is an earthquake."
  93.                android:textSize="14sp"></TextView>
  94.  
  95.             <TextView
  96.                android:layout_width="match_parent"
  97.                android:layout_height="match_parent"
  98.                android:background="#FFFFFF"
  99.                android:text="Figure 1"
  100.                android:textSize="10sp"
  101.                android:textStyle="bold"></TextView>
  102.  
  103.             <ImageView
  104.                android:layout_width="match_parent"
  105.                android:layout_height="match_parent"
  106.                android:layout_marginBottom="20dp"
  107.                android:background="@drawable/corefourcolumn"
  108.                android:scaleType="centerCrop">
  109.  
  110.             </ImageView>
  111.  
  112.             <TextView
  113.                android:layout_width="match_parent"
  114.                android:layout_height="match_parent"
  115.                android:layout_marginBottom="10dp"
  116.                android:background="#FFFFFF"
  117.                android:text="Why does the earth shake when there is an earthquake?"
  118.                android:textColor="#FF327CA3"
  119.                android:textSize="18sp"
  120.                android:textStyle="bold"></TextView>
  121.  
  122.  
  123.             <TextView
  124.                android:layout_width="match_parent"
  125.                android:layout_height="wrap_content"
  126.                android:layout_marginBottom="10dp"
  127.                android:text="While the edges of faults are stuck together, and the rest of the block is moving, the energy that would normally cause the blocks to slide past one another is being stored up. When the force of the moving blocks finally overcomes the friction of the jagged edges of the fault and it unsticks, all that stored up energy is released. The energy radiates outward from the fault in all directions in the form of seismic waves like ripples on a pond. The seismic waves shake the earth as they move through it, and when the waves reach the earth’s surface, they shake the ground and anything on it, like our houses and us! (see P and S Wave inset)">
  128.  
  129.             </TextView>
  130.  
  131.             <ImageView
  132.                android:layout_width="match_parent"
  133.                android:layout_height="match_parent"
  134.                android:layout_marginBottom="20dp"
  135.                android:scaleType="centerInside"
  136.                android:src="@drawable/whyshake"></ImageView>
  137.  
  138.             <TextView
  139.                android:layout_width="match_parent"
  140.                android:layout_height="match_parent"
  141.                android:layout_marginBottom="10dp"
  142.                android:background="#FFFFFF"
  143.                android:text="How are earthquakes recorded?"
  144.                android:textColor="#FF327CA3"
  145.                android:textSize="18sp"
  146.                android:textStyle="bold"></TextView>
  147.  
  148.  
  149.             <TextView
  150.                android:layout_width="match_parent"
  151.                android:layout_height="wrap_content"
  152.                android:layout_marginBottom="10dp"
  153.                android:text="Earthquakes are recorded by instruments called seismographs. The recording they make is called a seismogram. (figure 4) The seismograph has a base that sets firmly in the ground, and a heavy weight that hangs free. When an earthquake causes the ground to shake, the base of the seismograph shakes too, but the hanging weight does not. Instead the spring or string that it is hanging from absorbs all the movement. The difference in position between the shaking part of the seismograph and the motionless part is what is recorded. ">
  154.  
  155.             </TextView>
  156.  
  157.             <ImageView
  158.                android:layout_width="match_parent"
  159.                android:layout_height="match_parent"
  160.                android:layout_marginBottom="20dp"
  161.                android:scaleType="centerInside"
  162.                android:src="@drawable/seismograph"></ImageView>
  163.  
  164.             <TextView
  165.                android:layout_width="match_parent"
  166.                android:layout_height="match_parent"
  167.                android:layout_marginBottom="10dp"
  168.                android:background="#FFFFFF"
  169.                android:text="How do scientists measure the size of earthquakes?"
  170.                android:textColor="#FF327CA3"
  171.                android:textSize="18sp"
  172.                android:textStyle="bold"></TextView>
  173.  
  174.  
  175.             <TextView
  176.                android:layout_width="match_parent"
  177.                android:layout_height="wrap_content"
  178.                android:layout_marginBottom="10dp"
  179.                android:text="The size of an earthquake depends on the size of the fault and the amount of slip on the fault, but that’s not something scientists can simply measure with a measuring tape since faults are many kilometers deep beneath the earth’s surface. So how do they measure an earthquake? They use the seismogram recordings made on the seismographs at the surface of the earth to determine how large the earthquake was (figure 5). A short wiggly line that doesn’t wiggle very much means a small earthquake, and a long wiggly line that wiggles a lot means a large earthquake. The length of the wiggle depends on the size of the fault, and the size of the wiggle depends on the amount of slip. The size of the earthquake is called its magnitude. There is one magnitude for each earthquake. Scientists also talk about the intensity of shaking from an earthquake, and this varies depending on where you are during the earthquake. ">
  180.  
  181.             </TextView>
  182.  
  183.             <ImageView
  184.                android:layout_width="match_parent"
  185.                android:layout_height="match_parent"
  186.                android:layout_marginBottom="20dp"
  187.                android:scaleType="centerInside"
  188.                android:src="@drawable/seismogramfourcolumn"></ImageView>
  189.  
  190.             <TextView
  191.                android:layout_width="match_parent"
  192.                android:layout_height="match_parent"
  193.                android:layout_marginBottom="10dp"
  194.                android:background="#FFFFFF"
  195.                android:text="What is a fault and what are the different types?"
  196.                android:textColor="#FF327CA3"
  197.                android:textSize="18sp"
  198.                android:textStyle="bold"></TextView>
  199.  
  200.  
  201.             <TextView
  202.                android:layout_width="match_parent"
  203.                android:layout_height="wrap_content"
  204.                android:layout_marginBottom="20dp"
  205.                android:text="A fault is a fracture or zone of fractures between two blocks of rock.  Faults allow the blocks to move relative to each other.  This movement may occur rapidly, in the form of an earthquake - or may occur slowly, in the form of creep.  Faults may range in length from a few millimeters to thousands of kilometers.  Most faults produce repeated displacements over geologic time.  During an earthquake, the rock on one side of the fault suddenly slips with respect to the other.  The fault surface can be horizontal or vertical or some arbitrary angle in between."></TextView>
  206.  
  207.  
  208.             <TextView
  209.                android:layout_width="match_parent"
  210.                android:layout_height="match_parent"
  211.                android:layout_marginBottom="10dp"
  212.                android:background="#FFFFFF"
  213.                android:text="Normal Fault"
  214.                android:textColor="#FF327CA3"
  215.                android:textSize="18sp"
  216.                android:textStyle="bold"></TextView>
  217.  
  218.  
  219.             <TextView
  220.                android:layout_width="match_parent"
  221.                android:layout_height="wrap_content"
  222.                android:layout_marginBottom="20dp"
  223.                android:text="A normal fault is a dip-slip fault in which the block above the fault has moved downward relative to the block below.  This type of faulting occurs in response to extension and is often observed in the Western United States Basin and Range Province and along oceanic ridge systems."></TextView>
  224.  
  225.             <TextView
  226.                android:layout_width="match_parent"
  227.                android:layout_height="match_parent"
  228.                android:layout_marginBottom="10dp"
  229.                android:background="#FFFFFF"
  230.                android:text="Thrust Fault"
  231.                android:textColor="#FF327CA3"
  232.                android:textSize="18sp"
  233.                android:textStyle="bold"></TextView>
  234.  
  235.  
  236.             <TextView
  237.                android:layout_width="match_parent"
  238.                android:layout_height="wrap_content"
  239.                android:layout_marginBottom="20dp"
  240.                android:text="a dip-slip fault in which the upper block, above the fault plane, moves up and over the lower block.  This type of faulting is common in areas of compression, such as regions where one plate is being subducted under another as in Japan.  When the dip angle is shallow, a reverse fault is often described as a thrust fault."></TextView>
  241.  
  242.             <TextView
  243.                android:layout_width="match_parent"
  244.                android:layout_height="match_parent"
  245.                android:layout_marginBottom="10dp"
  246.                android:background="#FFFFFF"
  247.                android:text="Strike-slip Fault"
  248.                android:textColor="#FF327CA3"
  249.                android:textSize="18sp"
  250.                android:textStyle="bold"></TextView>
  251.  
  252.  
  253.             <TextView
  254.                android:layout_width="match_parent"
  255.                android:layout_height="wrap_content"
  256.                android:layout_marginBottom="20dp"
  257.                android:text="A strike-slip is a fault on which the two blocks slide past one another. The San Andreas Fault is an example of a right lateral fault. A left-lateral strike-slip fault is one on which the displacement of the far block is to the left when viewed from either side. A right-lateral strike-slip fault is one on which the displacement of the far block is to the right when viewed from either side."></TextView>
  258.  
  259.             <TextView
  260.                android:layout_width="match_parent"
  261.                android:layout_height="match_parent"
  262.                android:layout_marginBottom="20dp"
  263.                android:background="#FFFFFF"
  264.                android:gravity="center"
  265.                android:text="Take the earthquake quiz!"
  266.                android:textColor="#FFCF5707"
  267.                android:textSize="18sp"
  268.                android:textStyle="bold"></TextView>
  269.  
  270.             <TextView
  271.                android:layout_width="match_parent"
  272.                android:layout_height="wrap_content"
  273.                android:layout_marginBottom="10dp"
  274.                android:text="What type of fault is this?"
  275.                android:textSize="16sp"></TextView>
  276.  
  277.             <pl.droidsonroids.gif.GifImageView
  278.                android:layout_width="match_parent"
  279.                android:layout_height="match_parent"
  280.                android:layout_marginBottom="10dp"
  281.                android:scaleType="centerInside"
  282.                android:src="@drawable/reverseloop" />
  283.  
  284.  
  285.             <RadioGroup
  286.                android:layout_width="match_parent"
  287.                android:layout_height="match_parent">
  288.  
  289.                 <android.support.v7.widget.AppCompatRadioButton
  290.                    android:id="@+id/question1_choice1"
  291.                    android:layout_width="match_parent"
  292.                    android:layout_height="match_parent"
  293.                    android:layout_marginBottom="20dp"
  294.                    android:layout_weight="1"
  295.                    android:paddingLeft="24dp"
  296.                    android:text="Normal" />
  297.  
  298.                 <android.support.v7.widget.AppCompatRadioButton
  299.                    android:id="@+id/question1_choice2"
  300.                    android:layout_width="match_parent"
  301.                    android:layout_height="match_parent"
  302.                    android:layout_marginBottom="20dp"
  303.                    android:layout_weight="1"
  304.                    android:paddingLeft="24dp"
  305.                    android:text="Forward" />
  306.  
  307.                 <android.support.v7.widget.AppCompatRadioButton
  308.                    android:id="@+id/question1_choice3"
  309.                    android:layout_width="match_parent"
  310.                    android:layout_height="match_parent"
  311.                    android:layout_marginBottom="20dp"
  312.                    android:layout_weight="1"
  313.                    android:paddingLeft="24dp"
  314.                    android:text="Strike-slip" />
  315.  
  316.                 <android.support.v7.widget.AppCompatRadioButton
  317.                    android:id="@+id/question1_choice4"
  318.                    android:layout_width="match_parent"
  319.                    android:layout_height="match_parent"
  320.                    android:layout_marginBottom="20dp"
  321.                    android:layout_weight="1"
  322.                    android:paddingLeft="24dp"
  323.                    android:text="Reverse" />
  324.             </RadioGroup>
  325.  
  326.             <TextView
  327.                android:layout_width="match_parent"
  328.                android:layout_height="wrap_content"
  329.                android:layout_marginBottom="10dp"
  330.                android:layout_marginTop="20dp"
  331.                android:text="Select the type of fault show below:"
  332.                android:textSize="16sp"></TextView>
  333.  
  334.             <pl.droidsonroids.gif.GifImageView
  335.                android:layout_width="match_parent"
  336.                android:layout_height="match_parent"
  337.                android:layout_marginBottom="20dp"
  338.                android:scaleType="centerInside"
  339.                android:src="@drawable/rightstrikeloop" />
  340.  
  341.             <RadioGroup
  342.                android:layout_width="match_parent"
  343.                android:layout_height="match_parent">
  344.  
  345.                 <android.support.v7.widget.AppCompatRadioButton
  346.                    android:id="@+id/question2_choice1"
  347.                    android:layout_width="match_parent"
  348.                    android:layout_height="match_parent"
  349.                    android:layout_marginBottom="20dp"
  350.                    android:layout_weight="1"
  351.                    android:paddingLeft="24dp"
  352.                    android:text="Strike-slip" />
  353.  
  354.                 <android.support.v7.widget.AppCompatRadioButton
  355.                    android:id="@+id/question2_choice2"
  356.                    android:layout_width="match_parent"
  357.                    android:layout_height="match_parent"
  358.                    android:layout_marginBottom="20dp"
  359.                    android:layout_weight="1"
  360.                    android:paddingLeft="24dp"
  361.                    android:text="Reverse" />
  362.  
  363.                 <android.support.v7.widget.AppCompatRadioButton
  364.                    android:id="@+id/question2_choice3"
  365.                    android:layout_width="match_parent"
  366.                    android:layout_height="match_parent"
  367.                    android:layout_marginBottom="20dp"
  368.                    android:layout_weight="1"
  369.                    android:paddingLeft="24dp"
  370.                    android:text="Rewind" />
  371.  
  372.                 <android.support.v7.widget.AppCompatRadioButton
  373.                    android:id="@+id/question2_choice4"
  374.                    android:layout_width="match_parent"
  375.                    android:layout_height="match_parent"
  376.                    android:layout_marginBottom="20dp"
  377.                    android:layout_weight="1"
  378.                    android:paddingLeft="24dp"
  379.                    android:text="Regular" />
  380.             </RadioGroup>
  381.  
  382.             <TextView
  383.                android:layout_width="match_parent"
  384.                android:layout_height="wrap_content"
  385.                android:layout_marginBottom="10dp"
  386.                android:text="How about this one? *Check all that apply."
  387.                android:textSize="16sp"></TextView>
  388.  
  389.             <pl.droidsonroids.gif.GifImageView
  390.                android:layout_width="match_parent"
  391.                android:layout_height="match_parent"
  392.                android:layout_marginBottom="20dp"
  393.                android:scaleType="centerInside"
  394.                android:src="@drawable/leftstrikeloop" />
  395.  
  396.             <LinearLayout
  397.                android:layout_width="match_parent"
  398.                android:layout_height="match_parent"
  399.                android:orientation="vertical">
  400.  
  401.                 <android.support.v7.widget.AppCompatCheckBox
  402.                    android:id="@+id/question3_choice1"
  403.                    android:layout_width="match_parent"
  404.                    android:layout_height="match_parent"
  405.                    android:layout_marginBottom="20dp"
  406.                    android:layout_weight="1"
  407.                    android:paddingLeft="24dp"
  408.                    android:text="Normal" />
  409.  
  410.                 <android.support.v7.widget.AppCompatCheckBox
  411.                    android:id="@+id/question3_choice2"
  412.                    android:layout_width="match_parent"
  413.                    android:layout_height="match_parent"
  414.                    android:layout_marginBottom="20dp"
  415.                    android:layout_weight="1"
  416.                    android:paddingLeft="24dp"
  417.                    android:text="Reverse" />
  418.  
  419.                 <android.support.v7.widget.AppCompatCheckBox
  420.                    android:id="@+id/question3_choice3"
  421.                    android:layout_width="match_parent"
  422.                    android:layout_height="match_parent"
  423.                    android:layout_marginBottom="20dp"
  424.                    android:layout_weight="1"
  425.                    android:paddingLeft="24dp"
  426.                    android:text="Strike-slip" />
  427.  
  428.                 <android.support.v7.widget.AppCompatCheckBox
  429.                    android:id="@+id/question3_choice4"
  430.                    android:layout_width="match_parent"
  431.                    android:layout_height="match_parent"
  432.                    android:layout_marginBottom="20dp"
  433.                    android:layout_weight="1"
  434.                    android:paddingLeft="24dp"
  435.                    android:text="Left-lateral strike-slip" />
  436.             </LinearLayout>
  437.  
  438.  
  439.             <TextView
  440.                android:layout_width="match_parent"
  441.                android:layout_height="wrap_content"
  442.                android:layout_marginBottom="10dp"
  443.                android:text="The fault below is an example of:"
  444.                android:textSize="16sp"></TextView>
  445.  
  446.  
  447.             <pl.droidsonroids.gif.GifImageView
  448.                android:layout_width="match_parent"
  449.                android:layout_height="match_parent"
  450.                android:layout_marginBottom="10dp"
  451.                android:scaleType="centerInside"
  452.                android:src="@drawable/normalloop" />
  453.  
  454.             <RadioGroup
  455.                android:layout_width="match_parent"
  456.                android:layout_height="match_parent">
  457.  
  458.                 <android.support.v7.widget.AppCompatRadioButton
  459.                    android:id="@+id/question4_choice1"
  460.                    android:layout_width="match_parent"
  461.                    android:layout_height="match_parent"
  462.                    android:layout_marginBottom="20dp"
  463.                    android:layout_weight="1"
  464.                    android:paddingLeft="24dp"
  465.                    android:text="Normal" />
  466.  
  467.                 <android.support.v7.widget.AppCompatRadioButton
  468.                    android:id="@+id/question4_choice2"
  469.                    android:layout_width="match_parent"
  470.                    android:layout_height="match_parent"
  471.                    android:layout_marginBottom="20dp"
  472.                    android:layout_weight="1"
  473.                    android:paddingLeft="24dp"
  474.                    android:text="Strike-slip" />
  475.  
  476.                 <android.support.v7.widget.AppCompatRadioButton
  477.                    android:id="@+id/question4_choice3"
  478.                    android:layout_width="match_parent"
  479.                    android:layout_height="match_parent"
  480.                    android:layout_marginBottom="20dp"
  481.                    android:layout_weight="1"
  482.                    android:paddingLeft="24dp"
  483.                    android:text="Regular" />
  484.  
  485.                 <android.support.v7.widget.AppCompatRadioButton
  486.                    android:id="@+id/question4_choice4"
  487.                    android:layout_width="match_parent"
  488.                    android:layout_height="match_parent"
  489.                    android:layout_marginBottom="20dp"
  490.                    android:layout_weight="1"
  491.                    android:paddingLeft="24dp"
  492.                    android:text="Traditional" />
  493.             </RadioGroup>
  494.  
  495.             <TextView
  496.                android:layout_width="match_parent"
  497.                android:layout_height="wrap_content"
  498.                android:layout_marginBottom="10dp"
  499.                android:text="What is the name of the instrument used to detect earthquakes?."
  500.                android:textSize="16sp"></TextView>
  501.  
  502.             <EditText
  503.                android:id="@+id/question5_answer"
  504.                android:layout_width="match_parent"
  505.                android:layout_height="match_parent"
  506.                android:layout_marginBottom="20dp"
  507.                android:background="#FFFFFF"
  508.                android:hint="Type your answer here"
  509.                android:inputType="text" />
  510.  
  511.             <TextView
  512.                android:layout_width="match_parent"
  513.                android:layout_height="wrap_content"
  514.                android:layout_marginBottom="10dp"
  515.                android:text="Can scientists predict earthquakes?"
  516.                android:textSize="16sp"></TextView>
  517.  
  518.             <RadioGroup
  519.                android:layout_width="match_parent"
  520.                android:layout_height="match_parent">
  521.  
  522.                 <android.support.v7.widget.AppCompatRadioButton
  523.                    android:id="@+id/question6_choice1"
  524.                    android:layout_width="match_parent"
  525.                    android:layout_height="match_parent"
  526.                    android:layout_marginBottom="20dp"
  527.                    android:layout_weight="1"
  528.                    android:paddingLeft="24dp"
  529.                    android:text="Yes" />
  530.  
  531.                 <android.support.v7.widget.AppCompatRadioButton
  532.                    android:id="@+id/question6_choice2"
  533.                    android:layout_width="match_parent"
  534.                    android:layout_height="match_parent"
  535.                    android:layout_marginBottom="20dp"
  536.                    android:layout_weight="1"
  537.                    android:paddingLeft="24dp"
  538.                    android:text="No" />
  539.             </RadioGroup>
  540.  
  541.             <RelativeLayout
  542.                android:layout_width="match_parent"
  543.                android:layout_height="match_parent">
  544.  
  545.                 <Button
  546.                    android:id="@+id/submit_answers"
  547.                    android:layout_width="wrap_content"
  548.                    android:layout_height="wrap_content"
  549.                    android:layout_centerInParent="true"
  550.                    android:backgroundTint="#dcdcdc"
  551.                    android:gravity="center"
  552.                    android:onClick="submitAnswers"
  553.                    android:text="Submit Answers"
  554.                    android:textStyle="bold" />
  555.             </RelativeLayout>
  556.         </LinearLayout>
  557.     </LinearLayout>
  558. </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement