Skip to content

Instantly share code, notes, and snippets.

@codeforfun-jp
Last active November 9, 2023 07:11
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/3cd189380b8e23145e0bce5c0c9553ea to your computer and use it in GitHub Desktop.
Save codeforfun-jp/3cd189380b8e23145e0bce5c0c9553ea to your computer and use it in GitHub Desktop.
Android Quiz App Kotlin 6-2
<?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">
<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:id="@+id/returnBtn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/btn_return"
android:layout_marginTop="80dp" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment