Add empty list screen.
authorRadoslaw Czerski <r.czerski@samsung.com>
Tue, 13 Sep 2016 13:53:00 +0000 (15:53 +0200)
committerRadoslaw Czerski <r.czerski@samsung.com>
Tue, 13 Sep 2016 13:53:00 +0000 (15:53 +0200)
Change-Id: I3dc57420e381cdfcdc93f85e2649064b0b87111d
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
clock/res/edje/WorldClock.edc

index 97e08fc..312b04d 100644 (file)
@@ -105,6 +105,16 @@ collections {
                                        align: 0.5 0.0;
                                }
                        }
+                       group { "main.locations.list"; scale;
+                               source: "locations.list";
+                               desc { "default";
+                                       max: 720 -1;
+                                       rel1 {
+                                               relative: 0.0 1.0;
+                                               to: "main.timezone.details";
+                                       }
+                               }
+                       }
                }
        }
 
@@ -464,4 +474,32 @@ group { "timezone.details";
                        }
                }
        }
+group { "locations.list";
+
+       styles {
+               style {
+                       name: "ATO044";
+                       base: "font=Tizen:style=Regular color=#808080aa font_size=34 align=center";
+                       //TODO Update it when   GUI designer will reply
+               }
+       }
+
+       parts {
+               rect { "location.bg";
+               }
+
+               textblock{ "locations.list.empty";
+                       desc { "default";
+                               text {
+                                       style: "ATO044";
+                                       text: "After you add cities, they<br>will be shown here.";
+                                       min: 1.0 1.0;
+                                       ellipsis: -1;
+                               }
+                       }
+                       desc { "hidden";
+                               hid;
+                       }
+               }
+       }
 }
\ No newline at end of file