hide recent view when outside is clicked 81/43881/1
authorSoohye Shin <soohye.shin@samsung.com>
Wed, 15 Jul 2015 04:20:29 +0000 (13:20 +0900)
committerSoohye Shin <soohye.shin@samsung.com>
Wed, 15 Jul 2015 04:20:29 +0000 (13:20 +0900)
Change-Id: Id6881c4eb1a085204ef8c24f64326cb5dcf92698
Signed-off-by: Soohye Shin <soohye.shin@samsung.com>
edje/view/recent.edc

index aba105f..5f9fff9 100644 (file)
@@ -67,6 +67,20 @@ group {
                        }
                }
                part {
+                       name, "outside.up";
+                       type, RECT;
+                       scale, 1;
+                       description {
+                               state, "default" 0.0;
+                               rel2 {
+                                       to, "bg";
+                                       relative, 1.0 0.0;
+                               }
+                               color, 0 0 0 0;
+                               fixed, 1 1;
+                       }
+               }
+               part {
                        name, "pad.title";
                        type, RECT;
                        scale, 1;
@@ -225,6 +239,12 @@ group {
                        name, "sig.hide.recent.done";
                        action, SIGNAL_EMIT SIG_HIDE_RECENT_DONE SRC_EDJE;
                }
+               program {
+                       name, "outside.up.clicked";
+                       source, "outside.up";
+                       signal, "mouse,clicked,1";
+                       action, SIGNAL_EMIT SIG_HIDE_RECENT SRC_PROG;
+               }
        }
 }