1
|
<?xml version="1.0" encoding="utf-8"?>
|
2
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
3
|
android:layout_width="match_parent"
|
4
|
android:layout_height="match_parent"
|
5
|
android:orientation="horizontal">
|
6
|
|
7
|
<Button
|
8
|
android:id="@+id/buttonLess"
|
9
|
android:layout_width="0sp"
|
10
|
android:layout_height="match_parent"
|
11
|
android:layout_weight="1"
|
12
|
android:text="-" />
|
13
|
|
14
|
<TextView
|
15
|
android:id="@+id/textNumber"
|
16
|
android:layout_width="0sp"
|
17
|
android:layout_height="match_parent"
|
18
|
android:layout_weight="1"
|
19
|
android:inputType="number"
|
20
|
android:text="0"
|
21
|
android:textAlignment="center"
|
22
|
android:textSize="48sp" />
|
23
|
|
24
|
<Button
|
25
|
android:id="@+id/buttonMore"
|
26
|
android:layout_width="0sp"
|
27
|
android:layout_height="match_parent"
|
28
|
android:layout_weight="1"
|
29
|
android:text="+" />
|
30
|
</LinearLayout>
|