Blame view

puzzlegame/src/main/res/layout/activity_puzzle.xml 1.82 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
  <ViewSwitcher xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:id="@+id/inGameViewSwitcher"
      android:layout_width="match_parent"
      android:layout_height="match_parent" >
  
      <FrameLayout
          android:id="@+id/backgroundLayout"
          android:layout_width="match_parent"
          android:layout_height="match_parent" >
  
          <RelativeLayout
              android:id="@+id/centerLayout"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_gravity="center_vertical|center_horizontal" >
          </RelativeLayout>
  
          <Button
              android:id="@+id/previewButton"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_gravity="bottom|right"
              android:onClick="inGameButtonsOnClick"
              android:text="@string/help"
              tools:ignore="RtlHardcoded" />
  
      </FrameLayout>
  
      <FrameLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent" >
  
          <ImageView
              android:id="@+id/previewImageView"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_gravity="center_vertical|center_horizontal"
              android:src="@android:drawable/alert_light_frame"
              tools:ignore="ContentDescription" />
  
          <Button
              android:id="@+id/backToGameButton"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_gravity="bottom|right"
              android:onClick="inGameButtonsOnClick"
              android:text="@string/back"
              tools:ignore="RtlHardcoded" />
  
      </FrameLayout>
  
  </ViewSwitcher>