Skip to content

Instantly share code, notes, and snippets.

@codeforfun-jp
Last active Mar 26, 2022
Embed
What would you like to do?
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