Add sticker layout for common profile 28/259028/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 31 May 2021 06:28:45 +0000 (15:28 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 31 May 2021 06:33:19 +0000 (15:33 +0900)
Change-Id: I3c8eec59d998b8e2745911a9b15c2488638bd09c
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
data/layout/common/LYT_CM_POPUP.xml
data/layout/common/LYT_LANDSCAPE_STICKER.xml [new file with mode: 0644]
data/layout/common/LYT_PORTRAIT_STICKER.xml [new file with mode: 0644]
data/layout/common/input_mode_configure.xml
data/layout/mobile/LYT_CM_POPUP.xml
data/pixmaps/default/common/icon/54x54/icon_sticker_dim.png [new file with mode: 0644]
data/pixmaps/default/common/icon/54x54/icon_sticker_nor.png [new file with mode: 0644]
data/pixmaps/default/common/icon/54x54/icon_sticker_press.png [new file with mode: 0644]
data/pixmaps/default/common/icon/bubble/icon_sticker_dim.png [new file with mode: 0644]
data/pixmaps/default/common/icon/bubble/icon_sticker_press.png [new file with mode: 0644]

index 9ffd3be..713630f 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<layout width="391" height="242" style="popup" key_width="75" key_height="116" key_spacing="0" row_spacing="2" hit_left="1" hit_right="1" hit_top="1" hit_bottom="1" label_type="PUNC_POPUP" vibe_style="DEFAULT" sound_style="DEFAULT">
+<layout width="468" height="242" style="popup" key_width="75" key_height="116" key_spacing="0" row_spacing="2" hit_left="1" hit_right="1" hit_top="1" hit_bottom="1" label_type="PUNC_POPUP" vibe_style="DEFAULT" sound_style="DEFAULT">
   <image_path>
     <button_normal>nine patch/popup_bg.#.png</button_normal>
   </image_path>
@@ -7,7 +7,7 @@
     <rec button="pressed">nine patch/popup_bg_press_middle.#.png</rec>
   </background_image>
   <row>
-    <key button_type="uiitem" x="0" y="0" width="391" height="242">
+    <key button_type="uiitem" x="0" y="0" width="468" height="242">
       <background_image>
         <rec>nine patch/popup_stroke.#.png</rec>
       </background_image>
         <rec>~</rec>
       </label>
     </key>
+    <key button_type="uiitem" width="2">
+      <background_image>
+        <rec button="normal">nine patch/popup_line.9.png</rec>
+      </background_image>
+    </key>
+    <key hit_right="4">
+      <label>
+        <rec>@</rec>
+      </label>
+    </key>
   </row>
   <row x="0" y="120">
-    <key button_type="uiitem" width="391" height="2">
+    <key button_type="uiitem" width="468" height="2">
       <background_image>
         <rec button="normal">nine patch/popup_line.9.png</rec>
       </background_image>
         <rec button="disabled">icon/bubble/icon_floating_keypad_dim.png</rec>
       </image_label>
     </key>
+    <key button_type="uiitem" width="2">
+      <background_image>
+        <rec button="normal">nine patch/popup_line.9.png</rec>
+      </background_image>
+    </key>
+    <key key_type="modechange" hit_right="4" custom_id="STICKER_KEY">
+      <key_value>
+        <rec>STICKER_LAYOUT</rec>
+      </key_value>
+      <image_label>
+        <rec button="normal">icon/bubble/icon_sticker.png</rec>
+        <rec button="pressed">icon/bubble/icon_sticker_press.png</rec>
+        <rec button="disabled">icon/bubble/icon_sticker_dim.png</rec>
+      </image_label>
+    </key>
   </row>
 </layout>
diff --git a/data/layout/common/LYT_LANDSCAPE_STICKER.xml b/data/layout/common/LYT_LANDSCAPE_STICKER.xml
new file mode 100644 (file)
index 0000000..75003cd
--- /dev/null
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<layout direction="landscape" width="1280" height="318" magnifier="true" key_width="96" key_height="65" key_spacing="16" row_spacing="8" hit_left="8" hit_right="8" hit_top="4" hit_bottom="8" label_type="QTY_LAND_DEFAULT" vibe_style="DEFAULT" sound_style="DEFAULT" sw_background="true">
+  <background_color>
+    <r>210</r>
+    <g>213</g>
+    <b>217</b>
+    <a>255</a>
+  </background_color>
+  <row x="87" y="244">
+    <key button_type="selfish" key_type="modechange" label_type="QTY_?123" width="153" hit_left="87">
+      <label>
+        <rec>abc</rec>
+      </label>
+      <background_image>
+        <rec button="normal">nine patch/btn_02.#.png</rec>
+        <rec button="pressed">nine patch/btn_press.#.png</rec>
+        <rec button="disabled">nine patch/btn_02.#.png</rec>
+      </background_image>
+      <key_value>
+        <rec>CUR_LANG</rec>
+      </key_value>
+    </key>
+    <key button_type="selfish" key_type="modechange" label_type="QTY_?123_2">
+      <label>
+        <rec>?123</rec>
+      </label>
+      <background_image>
+        <rec button="normal">nine patch/btn_02.#.png</rec>
+        <rec button="pressed">nine patch/btn_press.#.png</rec>
+        <rec button="disabled">nine patch/btn_02.#.png</rec>
+      </background_image>
+      <key_value>
+        <rec>SYM_QTY_1</rec>
+      </key_value>
+    </key>
+    <key key_type="user" use_magnifier="true" longkey_magnifier="true" custom_id="STICKER_GROUP_RECENTLY_USED" multitouch_type="settle_previous">
+      <image_label>
+        <rec button="normal">icon_recent.png</rec>
+      </image_label>
+      <key_value>
+      <rec>STICKER_GROUP_RECENTLY_USED</rec>
+      </key_value>
+    </key>
+    <key key_type="user" use_magnifier="true" longkey_magnifier="true" custom_id="STICKER_GROUP_1" multitouch_type="settle_previous">
+      <key_value>
+        <rec>STICKER_GROUP_1</rec>
+      </key_value>
+    </key>
+    <key key_type="user" use_magnifier="true" longkey_magnifier="true" custom_id="STICKER_GROUP_2" multitouch_type="settle_previous">
+      <key_value>
+        <rec>STICKER_GROUP_2</rec>
+      </key_value>
+    </key>
+    <key key_type="user" use_magnifier="true" longkey_magnifier="true" custom_id="STICKER_GROUP_3" multitouch_type="settle_previous">
+      <key_value>
+        <rec>STICKER_GROUP_3</rec>
+      </key_value>
+    </key>
+    <key key_type="user" use_magnifier="true" longkey_magnifier="true" custom_id="STICKER_GROUP_4" multitouch_type="settle_previous">
+      <key_value>
+        <rec>STICKER_GROUP_4</rec>
+      </key_value>
+    </key>
+    <key button_type="selfish" key_type="control" use_magnifier="true" use_repeat_key="true" width="153" hit_right="87">
+      <image_label>
+        <rec button="normal">icon/54x54/icon_back_nor.png</rec>
+        <rec button="pressed">icon/54x54/icon_back_press.png</rec>
+        <rec button="disabled">icon/54x54/icon_back_dim.png</rec>
+      </image_label>
+      <background_image>
+        <rec button="normal">nine patch/btn_02.#.png</rec>
+        <rec button="pressed">nine patch/btn_press.#.png</rec>
+        <rec button="disabled">nine patch/btn_02.#.png</rec>
+      </background_image>
+      <key_value>
+        <rec>BackSpace</rec>
+      </key_value>
+    </key>
+  </row>
+</layout>
diff --git a/data/layout/common/LYT_PORTRAIT_STICKER.xml b/data/layout/common/LYT_PORTRAIT_STICKER.xml
new file mode 100644 (file)
index 0000000..b12b71f
--- /dev/null
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<layout width="720" height="442" magnifier="true" key_width="65" key_height="104" key_spacing="16" row_spacing="0" hit_left="3" hit_right="3" hit_top="0" hit_bottom="0" label_type="QTY_DEFAULT" vibe_style="DEFAULT" sound_style="DEFAULT" sw_background="true">
+  <background_color>
+    <r>237</r>
+    <g>238</g>
+    <b>240</b>
+    <a>255</a>
+  </background_color>
+  <background_image>
+    <rec button="pressed">btn_bg_press.png</rec>
+  </background_image>
+  <row x="8" y="338">
+    <key button_type="selfish" key_type="modechange" label_type="QTY_?123_DARK" width="100">
+      <label>
+        <rec>abc</rec>
+      </label>
+      <key_value>
+        <rec>CUR_LANG</rec>
+      </key_value>
+    </key>
+    <key button_type="selfish" key_type="modechange" label_type="QTY_?123_2_DARK">
+      <label>
+        <rec>?123</rec>
+      </label>
+      <key_value>
+        <rec>SYM_QTY_1</rec>
+      </key_value>
+    </key>
+    <key key_type="user" use_magnifier="true" longkey_magnifier="true" custom_id="STICKER_GROUP_RECENTLY_USED" multitouch_type="settle_previous">
+      <image_label>
+        <rec button="normal">icon_recent.png</rec>
+      </image_label>
+      <key_value>
+      <rec>STICKER_GROUP_RECENTLY_USED</rec>
+      </key_value>
+    </key>
+    <key key_type="user" use_magnifier="true" longkey_magnifier="true" custom_id="STICKER_GROUP_1" multitouch_type="settle_previous">
+      <key_value>
+        <rec>STICKER_GROUP_1</rec>
+      </key_value>
+    </key>
+    <key key_type="user" use_magnifier="true" longkey_magnifier="true" custom_id="STICKER_GROUP_2" multitouch_type="settle_previous">
+      <key_value>
+        <rec>STICKER_GROUP_2</rec>
+      </key_value>
+    </key>
+    <key key_type="user" use_magnifier="true" longkey_magnifier="true" custom_id="STICKER_GROUP_3" multitouch_type="settle_previous">
+      <key_value>
+        <rec>STICKER_GROUP_3</rec>
+      </key_value>
+    </key>
+    <key key_type="user" use_magnifier="true" longkey_magnifier="true" custom_id="STICKER_GROUP_4" multitouch_type="settle_previous">
+      <key_value>
+        <rec>STICKER_GROUP_4</rec>
+      </key_value>
+    </key>
+    <key button_type="selfish" key_type="control" use_magnifier="true" use_repeat_key="true" width="101">
+      <image_label>
+        <rec button="normal">icon_back_nor.png</rec>
+        <rec button="pressed">icon_back_press.png</rec>
+        <rec button="disabled">icon_back_dim.png</rec>
+      </image_label>
+      <key_value>
+        <rec>BackSpace</rec>
+      </key_value>
+    </key>
+  </row>
+</layout>
index 7e675d2..2235cd8 100644 (file)
       <landscape>LYT_CM_POPUP.xml</landscape>
     </layouts>
   </mode>
+  <mode name="STICKER_LAYOUT">
+    <layouts>
+      <portrait>LYT_PORTRAIT_STICKER.xml</portrait>
+      <landscape>LYT_LANDSCAPE_STICKER.xml</landscape>
+    </layouts>
+  </mode>
 </input_mode_table>
index e14a91d..35c6d2b 100644 (file)
@@ -66,7 +66,7 @@
     </key>
     <key hit_right="4">
       <label>
-        <rec>"</rec>
+        <rec>@</rec>
       </label>
     </key>
   </row>
diff --git a/data/pixmaps/default/common/icon/54x54/icon_sticker_dim.png b/data/pixmaps/default/common/icon/54x54/icon_sticker_dim.png
new file mode 100644 (file)
index 0000000..adb21a5
Binary files /dev/null and b/data/pixmaps/default/common/icon/54x54/icon_sticker_dim.png differ
diff --git a/data/pixmaps/default/common/icon/54x54/icon_sticker_nor.png b/data/pixmaps/default/common/icon/54x54/icon_sticker_nor.png
new file mode 100644 (file)
index 0000000..adb21a5
Binary files /dev/null and b/data/pixmaps/default/common/icon/54x54/icon_sticker_nor.png differ
diff --git a/data/pixmaps/default/common/icon/54x54/icon_sticker_press.png b/data/pixmaps/default/common/icon/54x54/icon_sticker_press.png
new file mode 100644 (file)
index 0000000..adb21a5
Binary files /dev/null and b/data/pixmaps/default/common/icon/54x54/icon_sticker_press.png differ
diff --git a/data/pixmaps/default/common/icon/bubble/icon_sticker_dim.png b/data/pixmaps/default/common/icon/bubble/icon_sticker_dim.png
new file mode 100644 (file)
index 0000000..d29a90a
Binary files /dev/null and b/data/pixmaps/default/common/icon/bubble/icon_sticker_dim.png differ
diff --git a/data/pixmaps/default/common/icon/bubble/icon_sticker_press.png b/data/pixmaps/default/common/icon/bubble/icon_sticker_press.png
new file mode 100644 (file)
index 0000000..a440023
Binary files /dev/null and b/data/pixmaps/default/common/icon/bubble/icon_sticker_press.png differ