Blame view

puzzlegame/src/main/res/layout/mainmenu_newgame.xml 2.52 KB
af6964e6   Edmur LOPES   create new git
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
  <?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:id="@+id/LinearLayout1"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical" >
  
      <TextView
          android:id="@+id/textView1"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="center"
          android:text="@string/newgamemenu_gamesize"
          android:textAppearance="?android:attr/textAppearanceLarge" />
  
      <Spinner
          android:id="@+id/newGameMenuGameSizeSpinner"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:entries="@array/gamesizes" />
  
      <LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:gravity="center" >
  
          <ImageView
              android:id="@+id/selectedImageView"
              android:layout_width="100dp"
              android:layout_height="100dp"
              android:maxHeight="100dp"
              android:maxWidth="100dp"
              android:src="@drawable/ic_launcher"
              android:contentDescription=""
              tools:ignore="ContentDescription" />
  
      </LinearLayout>
  
      <LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:gravity="center" >
  
          <Button
              android:id="@+id/button5"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:onClick="pickImageOnClick"
              android:text="@string/newgamemenu_button_pickfromsd"
              tools:ignore="ButtonStyle" />
  
      </LinearLayout>
  
      <Button
          android:id="@+id/playButton"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_marginBottom="30dp"
          android:layout_marginTop="30dp"
          android:onClick="playOnClick"
          android:text="@string/newgamemenu_ok"
          android:textSize="30sp"
          android:typeface="normal" />
  
      <Gallery
          android:id="@+id/gallery1"
          android:layout_width="match_parent"
          android:layout_height="wrap_content" />
  
      <Button
          android:id="@+id/button2"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:onClick="backToMainOnClick"
          android:text="@string/newgamemenu_back" />
  
  </LinearLayout>