2 * Tizen Krate Keyguard Layout
4 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
20 group { name: "keyguard_layout";
22 image: "../images/icon.png" COMP;
28 description { state: "default" 0.0;
29 color: 55 166 184 255;
30 rel1 { relative : 0.0 0.0;}
31 rel2 { relative : 1.0 1.0;}
37 description { state: "default" 0.0;
39 rel1 { relative: 0.0 0.0;}
40 rel2 { relative: 1.0 1.0;}
43 part { name: "top_padding";
46 description { state: "default" 0.0;
47 rel1 { relative: 0.0 0.0;}
48 rel2 { relative: 1.0 0.0; offset: 0 160;}
51 part { name: "icon_area";
54 description { state: "default" 0.0;
55 rel1 { relative : 0.0 1.0; to: "top_padding";}
56 rel2 { relative : 1.0 1.0; to: "top_padding"; offset: 0 110;}
62 description { state: "default" 0.0;
65 rel1 { relative : 0.0 0.0; to: "icon_area";}
66 rel2 { relative : 1.0 1.0; to: "icon_area";}
68 image.normal: "../images/icon.png";
75 description { state: "default" 0.0;
76 color: 255 255 255 255;
78 rel1 { relative: 0.0 1.0; to: "icon_area"; offset: 22 0;}
79 rel2 { relative: 1.0 1.0; to: "icon_area"; offset: -22 150;}
80 text { font: "Tizen:style=Regular"; size: "40"; align: 0.5 0.5; text: "Krate";}
83 part { name: "title_bottom_padding";
86 description { state: "default" 0.0;
87 rel1 { relative: 0.0 1.0; to: "title";}
88 rel2 { relative: 1.0 1.0; to: "title"; offset: 0 20;}
91 part { name: "entry_info_text";
94 description { state: "default" 0.0;
95 color: 255 255 255 255;
96 rel1 { relative: 0.0 1.0; to: "title_bottom_padding";}
97 rel2 { relative: 1.0 1.0; to: "title_bottom_padding"; offset: 0 40;}
98 text { font: "Tizen:style=Regular"; size: "24"; align: 0.0 0.5; text: "Enter password";}
101 part { name: "entry_bg";
104 description { state: "default" 0.0;
105 color: 255 255 255 255;
106 rel1 { relative: 0.0 1.0; to: "entry_info_text"; offset: 0 22;}
107 rel2 { relative: 1.0 1.0; to: "entry_info_text"; offset: 0 82;}
110 part { name: "entry";
113 description { state: "default" 0.0;
114 rel1 { relative: 0.0 0.0; to: "entry_bg";}
115 rel2 { relative: 1.0 1.0; to: "entry_bg";}
118 part { name: "check_top_padding";
121 description { state: "default" 0.0;
122 rel1 { relative: 0.0 1.0; to: "entry_bg";}
123 rel2 { relative: 1.0 1.0; to: "entry_bg"; offset: 0 22;}
126 part { name: "check_area";
129 description { state: "default" 0.0;
130 rel1 { relative: 0.0 1.0; to: "check_top_padding"; offset: 0 0;}
131 rel2 { relative: 1.0 1.0; to: "check_top_padding"; offset: 0 60;}
134 part { name: "check_box";
137 description { state: "default" 0.0;
138 rel1 { relative: 0.0 0.0; to: "check_area";}
139 rel2 { relative: 0.0 1.0; to: "check_area"; offset: 50 0;}
142 part { name: "check_text";
145 description { state: "default" 0.0;
146 rel1 { relative: 1.0 0.0; to: "check_box"; offset: 22 0;}
147 rel2 { relative: 1.0 1.0; to: "check_area"; offset: 0 0;}
148 text { font: "Tizen:style=Regular"; size: "24"; align: 0.0 0.5; text: "Show password";}
152 part { name: "bottom_text";
155 description { state: "default" 0.0;
156 color: 255 255 255 255;
157 rel1 { relative: 0.0 1.0; to: "bg"; offset: 22 -160;}
158 rel2 { relative: 1.0 1.0; to: "bg"; offset: -22 0;}
159 text { font: "Tizen:style=Regular"; size: "24"; align: 0.0 0.5; text: "Forgot your Krate unlock method?";}
163 program { name: "text_clicked_cb";
164 signal: "mouse,clicked,1";
165 source: "bottom_text";
166 action: SIGNAL_EMIT "text_clicked" "layout";