-
-
Save codeforfun-jp/63a3a8799b5155e8a86b5f1a350db1c9 to your computer and use it in GitHub Desktop.
CTB 2-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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=".MainActivity" | |
android:orientation="vertical"> | |
<TextView | |
android:id="@+id/scoreLabel" | |
android:layout_width="match_parent" | |
android:layout_height="50dp" | |
android:text="Score : 300" | |
android:textSize="18sp" | |
android:paddingLeft="10dp" | |
android:gravity="center_vertical"/> | |
<FrameLayout | |
android:id="@+id/frame" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<TextView | |
android:id="@+id/startLabel" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="タップしてスタート" | |
android:textSize="20sp" | |
android:layout_gravity="center"/> | |
<ImageView | |
android:id="@+id/box" | |
android:layout_width="50dp" | |
android:layout_height="50dp" | |
android:src="@drawable/box" | |
android:layout_gravity="center_vertical"/> | |
<ImageView | |
android:id="@+id/orange" | |
android:layout_width="20dp" | |
android:layout_height="20dp" | |
android:src="@drawable/orange"/> | |
<ImageView | |
android:id="@+id/black" | |
android:layout_width="24dp" | |
android:layout_height="24dp" | |
android:src="@drawable/black"/> | |
<ImageView | |
android:id="@+id/pink" | |
android:layout_width="16dp" | |
android:layout_height="16dp" | |
android:src="@drawable/pink"/> | |
</FrameLayout> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment