-
-
Save codingwithsara/54d51445ca9d87a7c9cac75e52d2f98a to your computer and use it in GitHub Desktop.
Step1-Comp
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"?> | |
<LinearLayout | |
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=".MainActivity" | |
android:gravity="center_horizontal" | |
android:orientation="vertical"> | |
<TextView | |
android:id="@+id/countLabel" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="Q1" | |
android:textSize="22sp" | |
android:layout_marginTop="30dp"/> | |
<TextView | |
android:id="@+id/questionLabel" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="Question" | |
android:textSize="24sp" | |
android:layout_marginTop="60dp"/> | |
<Button | |
android:id="@+id/answerBtn1" | |
android:layout_width="300dp" | |
android:layout_height="60dp" | |
android:text="answer1" | |
android:layout_marginTop="80dp" | |
android:onClick="checkAnswer"/> | |
<Button | |
android:id="@+id/answerBtn2" | |
android:layout_width="300dp" | |
android:layout_height="60dp" | |
android:text="answer2" | |
android:layout_marginTop="6dp" | |
android:onClick="checkAnswer"/> | |
<Button | |
android:id="@+id/answerBtn3" | |
android:layout_width="300dp" | |
android:layout_height="60dp" | |
android:text="answer3" | |
android:layout_marginTop="6dp" | |
android:onClick="checkAnswer"/> | |
<Button | |
android:id="@+id/answerBtn4" | |
android:layout_width="300dp" | |
android:layout_height="60dp" | |
android:text="answer4" | |
android:layout_marginTop="6dp" | |
android:onClick="checkAnswer"/> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment