Skip to content

Commit

Permalink
2章最初の配布用にレイアウトを削除
Browse files Browse the repository at this point in the history
  • Loading branch information
ayumuhack committed Nov 28, 2018
1 parent 59e6753 commit fa6c8e4
Showing 1 changed file with 0 additions and 56 deletions.
56 changes: 0 additions & 56 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,61 +12,5 @@
android:layout_width="match_parent"
android:layout_height="wrap_content">

<Button
android:id="@+id/buttonRock"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1.0"
style="@style/Widget.AppCompat.Button"
android:text="グー" />

<Button
android:id="@+id/buttonScissors"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1.0"
style="@style/Widget.AppCompat.Button"
android:text="チョキ" />

<Button
android:id="@+id/buttonPaper"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1.0"
style="@style/Widget.AppCompat.Button"
android:text="パー" />
</LinearLayout>

<TextView
android:id="@+id/textUser"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="あなた"
android:textAlignment="center"
android:textSize="20sp" />

<TextView
android:id="@+id/textCpu"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="CPU"
android:textAlignment="center"
android:textSize="20sp" />

<TextView
android:id="@+id/textResult"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="結果"
android:textAlignment="center"
android:textSize="36sp"
android:textStyle="bold" />

<ImageView
android:id="@+id/resultImage"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:contentDescription="CPUの出した手の画像"
app:srcCompat="@android:color/background_light" />

</LinearLayout>

0 comments on commit fa6c8e4

Please sign in to comment.