Tizen status/notification bar will no longer block our dialer.
authorIscaro <iscaro@profusion.mobi>
Fri, 31 Aug 2012 17:36:21 +0000 (14:36 -0300)
committerIscaro <iscaro@profusion.mobi>
Tue, 4 Sep 2012 14:03:57 +0000 (11:03 -0300)
data/themes/includes/call.edc
data/themes/includes/main.edc
data/themes/includes/popup.edc

index e477185..6ba1010 100644 (file)
@@ -85,6 +85,21 @@ group {
          }
       }
 
+      part {
+         name: "notification,bar";
+         type: RECT;
+         mouse_events: 0;
+         description {
+            state: "default" 0.0;
+            color: 0 0 0 255;
+            rel1.relative: 0.0 0.0;
+            rel2 {
+               relative: 1.0 0.0;
+               offset: 0 50;
+            }
+         }
+      }
+
 #define SEPARATOR(id, clip, rely, offy, relto)                          \
       part {                                                            \
          name: "separator.dark."##id;                                   \
@@ -137,11 +152,13 @@ group {
          description {                                                  \
             state: "default" 0.0;                                       \
             rel1 {                                                      \
-               relative: 0.0 0.0;                                       \
+               to: "notification,bar";                                  \
+               relative: 0.0 1.0;                                       \
                offset: 0 (-SEPARATOR_HEIGHT + offy);                    \
             }                                                           \
             rel2 {                                                      \
-               relative: 1.0 0.0;                                       \
+               to: "notification,bar";                                  \
+               relative: 1.0 1.0;                                       \
                offset: -1 (CALL_HEIGHT + offy);                         \
             }                                                           \
          }                                                              \
index 93fcfc1..6d1279f 100644 (file)
@@ -44,6 +44,21 @@ group {
       }
 
       part {
+         name: "notification,bar";
+         type: RECT;
+         mouse_events: 0;
+         description {
+            state: "default" 0.0;
+            color: 0 0 0 255;
+            rel1.relative: 0.0 0.0;
+            rel2 {
+               relative: 1.0 0.0;
+               offset: 0 50;
+            }
+         }
+      }
+
+      part {
          name: "elm.swallow.activecall";
          type: SWALLOW;
          api: "activecall" "where to place the active call, if any";
@@ -53,9 +68,15 @@ group {
             align: 0.5 0.0;
             fixed: 1 1;
             visible: 1;
+            rel1 {
+               to: "notification,bar";
+               relative: 0.0 1.0;
+               offset: 0 0;
+            }
             rel2 {
-               relative: 1.0 0.0;
-               offset: -1 -1;
+               to: "notification,bar";
+               relative: 1.0 1.0;
+               offset: 0 0;
             }
          }
          description {
index b88491e..3e14132 100644 (file)
@@ -29,6 +29,21 @@ group {
          }
       }
 
+      part {
+         name: "notification,bar";
+         type: RECT;
+         mouse_events: 0;
+         description {
+            state: "default" 0.0;
+            color: 0 0 0 255;
+            rel1.relative: 0.0 0.0;
+            rel2 {
+               relative: 1.0 0.0;
+               offset: 0 50;
+            }
+         }
+      }
+
 #define SEPARATOR(id, clip, rely, offy, relto)                          \
       part {                                                            \
          name: "separator.dark."##id;                                   \
@@ -100,10 +115,12 @@ group {
             color_class: "action";
             visible: 1;
             rel1 {
-               relative: 0.0 0.0;
+               to: "notification,bar";
+               relative: 0.0 1.0;
                offset: 0 (-ACTION_HEIGHT / 2 - SEPARATOR_HEIGHT);
             }
             rel2 {
+               to: "notification,bar";
                relative: 1.0 0.0;
                offset: -1 (-SEPARATOR_HEIGHT - 1);
             }
@@ -119,10 +136,12 @@ group {
             inherit: "default" 0.0;
             visible: 1;
             rel1 {
-               relative: 0.0 0.0;
+               to: "notification,bar";
+               relative: 0.0 1.0;
                offset: 0 0;
             }
             rel2 {
+               to: "notification,bar";
                relative: 1.0 0.0;
                offset: -1 (ACTION_HEIGHT / 2 - 1);
             }