Refactoring of Alarms configuration section. Added action buttons in status bar for...
[public/netxms.git] / android / src / console / res / layout-land / dialog_color_picker.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 Copyright (C) 2010 Daniel Nilsson
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and limitations under the License.
15 -->
16
17 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18 android:layout_width="wrap_content"
19 android:layout_height="wrap_content"
20 android:orientation="horizontal"
21 android:paddingLeft="5dp"
22 android:paddingRight="5dp" >
23
24 <net.margaritov.preference.colorpicker.ColorPickerView
25 android:id="@+id/color_picker_view"
26 android:layout_width="wrap_content"
27 android:layout_height="wrap_content"
28 android:layerType="software"
29 android:tag="landscape" />
30
31 <LinearLayout
32 android:layout_width="wrap_content"
33 android:layout_height="wrap_content"
34 android:layout_marginBottom="10dp"
35 android:orientation="vertical" >
36
37 <EditText
38 android:id="@+id/hex_val"
39 android:layout_width="fill_parent"
40 android:layout_height="wrap_content"
41 android:hint="HEX"
42 android:imeOptions="actionDone"
43 android:maxLength="7"
44 android:singleLine="true"
45 android:inputType="textCapCharacters"
46 android:visibility="gone" >
47 </EditText>
48
49 <TextView
50 android:layout_width="wrap_content"
51 android:layout_height="wrap_content"
52 android:layout_marginBottom="5dp"
53 android:layout_marginLeft="6dp"
54 android:layout_marginRight="6dp"
55 android:layout_marginTop="6dp"
56 android:gravity="center"
57 android:text="@string/press_color_to_apply"
58 android:textAppearance="?android:attr/textAppearanceSmall" />
59
60 <net.margaritov.preference.colorpicker.ColorPickerPanelView
61 android:id="@+id/old_color_panel"
62 android:layout_width="fill_parent"
63 android:layout_height="40dp"
64 android:layout_weight="0.5" />
65
66 <TextView
67 android:layout_width="fill_parent"
68 android:layout_height="wrap_content"
69 android:layout_marginBottom="10dp"
70 android:layout_marginTop="10dp"
71 android:gravity="center"
72 android:text="↓"
73 android:textSize="20sp" />
74
75 <net.margaritov.preference.colorpicker.ColorPickerPanelView
76 android:id="@+id/new_color_panel"
77 android:layout_width="fill_parent"
78 android:layout_height="40dp"
79 android:layout_weight="0.5" />
80 </LinearLayout>
81
82 </LinearLayout>