Skip to content

Instantly share code, notes, and snippets.

@codeforfun-jp
Last active March 26, 2022 13:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codeforfun-jp/aa7c2d3486814851790604e584b0b7b1 to your computer and use it in GitHub Desktop.
Save codeforfun-jp/aa7c2d3486814851790604e584b0b7b1 to your computer and use it in GitHub Desktop.
QuizApp 4.1
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".ResultActivity"
android:orientation="vertical"
android:gravity="center"
tools:ignore="UsingOnClickInXml">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/result_title"
android:textSize="22sp"/>
<TextView
android:id="@+id/resultLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/result_score"
android:textSize="30sp"
android:layout_marginTop="60dp"/>
<TextView
android:id="@+id/totalScoreLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/result_total_score"
android:textSize="20sp"
android:layout_marginTop="60dp"/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/btn_return"
android:layout_marginTop="80dp"
android:onClick="returnTop"/>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment