Skip to content

Instantly share code, notes, and snippets.

@codingwithsara
Created October 19, 2018 01:34
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 codingwithsara/bde16506b1778ec41d0d7e3c34a2fb1c to your computer and use it in GitHub Desktop.
Save codingwithsara/bde16506b1778ec41d0d7e3c34a2fb1c to your computer and use it in GitHub Desktop.
第6回
<?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=".ResultActivity"
android:gravity="center_horizontal"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="結果"
android:textSize="20sp"
android:layout_marginTop="50dp"/>
<TextView
android:id="@+id/resultLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="3 / 5"
android:textSize="30sp"
android:layout_marginTop="60dp"/>
<TextView
android:id="@+id/totalScoreLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="トータルスコア : 333"
android:textSize="20sp"
android:layout_marginTop="60dp"/>
<Button
android:layout_width="140dp"
android:layout_height="60dp"
android:text="もどる"
android:textSize="18sp"
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