summaryrefslogtreecommitdiff
path: root/res/layout/gamepad.xml
blob: bfdaacd44ba01e7a72f8ea054457560f540a21e3 (plain)
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
<merge
   xmlns:android="http://schemas.android.com/apk/res/android"
   xmlns:tools="http://schemas.android.com/tools"
   xmlns:app="http://schemas.android.com/apk/res-auto"
   >
   <pw.cloudef.rpg.Button
      app:inputBackground="@drawable/action_usual"
      app:buttonCenterDistance="0"
      app:deadZone="0"
      android:id="@+id/hider"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="top|right"
      android:alpha=".5"
      />
   <com.andretietz.android.controller.ActionView
      android:id="@+id/viewDirection"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      app:buttonCenterDistance="0.45"
      app:inputBackground="@drawable/direction_background"
      app:button1_enabled="@drawable/direction_right_usual"
      app:button1_pressed="@drawable/direction_right_pressed"
      app:button2_enabled="@drawable/direction_down_usual"
      app:button2_pressed="@drawable/direction_down_pressed"
      app:button3_enabled="@drawable/direction_left_usual"
      app:button3_pressed="@drawable/direction_left_pressed"
      app:button4_enabled="@drawable/direction_up_usual"
      app:button4_pressed="@drawable/direction_up_pressed"
      android:layout_gravity="bottom|left"
      android:alpha=".5"
      />
   <com.andretietz.android.controller.ActionView
      android:id="@+id/viewAction"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="bottom|right"
      android:alpha=".5"
      />
</merge>