Blame view

PremiereActivite/app/src/main/res/layout/layout_commande.xml 5.05 KB
c8059613   JLo'w   Re-fonte de l'app...
1
  <?xml version="1.0" encoding="utf-8"?>
1e53ac5a   JLo'w   Jolis scrolls
2
  <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
c8059613   JLo'w   Re-fonte de l'app...
3
4
5
6
      android:orientation="vertical" android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:baselineAligned="false"
      android:weightSum="1"
1e53ac5a   JLo'w   Jolis scrolls
7
8
      android:nestedScrollingEnabled="true"
      android:id="@+id/scrollView2">
c8059613   JLo'w   Re-fonte de l'app...
9
  
1e53ac5a   JLo'w   Jolis scrolls
10
11
      <LinearLayout
          android:layout_width="match_parent"
c8059613   JLo'w   Re-fonte de l'app...
12
          android:layout_height="wrap_content"
1e53ac5a   JLo'w   Jolis scrolls
13
          android:orientation="vertical">
c8059613   JLo'w   Re-fonte de l'app...
14
  
12a643ef   JLo'w   Nouvelle interfac...
15
16
          <TableLayout
              android:layout_width="match_parent"
1e53ac5a   JLo'w   Jolis scrolls
17
              android:layout_height="wrap_content"
1e53ac5a   JLo'w   Jolis scrolls
18
              android:layout_gravity="center_horizontal"
12a643ef   JLo'w   Nouvelle interfac...
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
              android:layout_margin="30dp">
  
              <TableRow
                  android:layout_width="match_parent"
                  android:layout_height="match_parent">
  
                  <Button
                      style="?android:attr/buttonStyleSmall"
                      android:layout_width="0dp"
                      android:layout_height="wrap_content"
                      android:text="@string/one"
                      android:id="@+id/button"
                      android:layout_column="0"
                      android:layout_weight="1"
                      android:height="60dp"/>
  
                  <Button
                      style="?android:attr/buttonStyleSmall"
                      android:layout_width="0dp"
                      android:layout_height="wrap_content"
                      android:text="@string/two"
                      android:id="@+id/button3"
                      android:layout_column="1"
                      android:layout_weight="1"
                      android:height="60dp"/>
  
                  <Button
                      style="?android:attr/buttonStyleSmall"
                      android:layout_width="0dp"
                      android:layout_height="wrap_content"
                      android:text="@string/three"
                      android:id="@+id/button4"
                      android:layout_column="2"
                      android:layout_weight="1"
                      android:height="60dp"/>
  
              </TableRow>
  
              <TableRow
                  android:layout_width="match_parent"
                  android:layout_height="match_parent">
  
                  <Button
                      style="?android:attr/buttonStyleSmall"
                      android:layout_width="0dp"
                      android:layout_height="wrap_content"
                      android:text="@string/four"
                      android:id="@+id/button2"
                      android:layout_gravity="center_horizontal"
                      android:layout_column="0"
                      android:layout_weight="1"
                      android:height="60dp"/>
  
                  <Button
                      style="?android:attr/buttonStyleSmall"
                      android:layout_width="0dp"
                      android:layout_height="wrap_content"
                      android:text="@string/five"
                      android:id="@+id/button6"
                      android:layout_column="1"
                      android:layout_weight="1"
                      android:height="60dp"/>
  
                  <Button
                      style="?android:attr/buttonStyleSmall"
                      android:layout_width="0dp"
                      android:layout_height="wrap_content"
                      android:text="@string/six"
                      android:id="@+id/button5"
                      android:layout_column="2"
                      android:layout_weight="1"
                      android:height="60dp"/>
              </TableRow>
  
          </TableLayout>
  
          <View
              android:layout_width="match_parent"
              android:layout_height="1dp"
              android:background="@android:color/darker_gray"
              android:layout_marginBottom="30dp"/>
c8059613   JLo'w   Re-fonte de l'app...
100
  
1e53ac5a   JLo'w   Jolis scrolls
101
102
103
          <EditText
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
aebe700b   JLo'w   Correction problè...
104
              android:inputType="numberDecimal"
1e53ac5a   JLo'w   Jolis scrolls
105
106
107
108
109
110
111
112
113
114
115
116
117
118
              android:ems="10"
              android:id="@+id/commande_prix"
              android:editable="true"
              android:elegantTextHeight="true"
              android:enabled="true"
              android:numeric="decimal"
              android:width="300dp"
              android:hint="@string/prix"
              android:textAlignment="center"
              android:layout_gravity="center_horizontal"
              android:layout_marginTop="20dp"
              android:height="80dp"
              android:minHeight="50dp"
              android:maxHeight="500dp"
aebe700b   JLo'w   Correction problè...
119
120
              android:minWidth="120dp"
              android:textStyle="bold"/>
1e53ac5a   JLo'w   Jolis scrolls
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
  
          <Button
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="@string/validate"
              android:id="@+id/commande_validation"
              android:layout_gravity="center_horizontal"
              android:layout_marginTop="40dp"
              android:width="180dp"
              android:height="80dp"
              android:onClick="valideCommande"
              android:nestedScrollingEnabled="false"
              android:enabled="true" />
  
      </LinearLayout>
c8059613   JLo'w   Re-fonte de l'app...
136
  
1e53ac5a   JLo'w   Jolis scrolls
137
  </ScrollView>