Advertisement
mmayoub

NumbersPuzle, activity_wellcome.xml, 09.10.2021

Oct 10th, 2021
1,043
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.41 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    android:layout_margin="6dp"
  8.    android:background="#2CFF6F00"
  9.    android:orientation="vertical"
  10.    tools:context=".WellcomeActivity">
  11.  
  12.     <ImageView
  13.        android:id="@+id/imageView"
  14.        android:layout_width="match_parent"
  15.        android:layout_height="0dp"
  16.        android:layout_weight="4"
  17.        android:scaleType="fitXY"
  18.        app:srcCompat="@android:drawable/btn_star_big_on" />
  19.  
  20.     <Button
  21.        android:id="@+id/btnEasy"
  22.        android:layout_width="match_parent"
  23.        android:layout_height="0dp"
  24.        android:layout_weight="1"
  25.        android:onClick="startGame"
  26.        android:text="Easy" />
  27.  
  28.     <Button
  29.        android:id="@+id/btnMedium"
  30.        android:layout_width="match_parent"
  31.        android:layout_height="0dp"
  32.        android:layout_weight="1"
  33.        android:onClick="startGame"
  34.        android:text="Medium" />
  35.  
  36.     <Button
  37.        android:id="@+id/btnHard"
  38.        android:layout_width="match_parent"
  39.        android:layout_height="0dp"
  40.        android:layout_weight="1"
  41.        android:onClick="startGame"
  42.        android:text="Hard" />
  43. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement