Skip to content

Instantly share code, notes, and snippets.

@codeforfun-jp
Last active September 25, 2023 05:16
Show Gist options
  • Save codeforfun-jp/09618884edd6129d65f224f62a7cd0ab to your computer and use it in GitHub Desktop.
Save codeforfun-jp/09618884edd6129d65f224f62a7cd0ab to your computer and use it in GitHub Desktop.
Java Quiz - 2023 - 6
<?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