File Manager / edc /

processing_popup.edc

  1. /*
  2. * Copyright 2014 Samsung Electronics Co., Ltd All Rights Reserved
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16.  
  17. #define POPUP_PROCESSING_VIEW_LAYOUT_BG_MIN_SIZE 0 120
  18. #define POPUP_TEXT_FONT_SIZE 40
  19. #define POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_WIDTH 32
  20. #define POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_SIZE 56 56
  21. #define POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_PADDING_AFTER_SIZE 32 120
  22. #define POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_TEXT_MIN_SIZE 0 120
  23.  
  24. group { name: "processing_view";
  25. styles {
  26. style { name: "popup_processing_style";
  27. base: "font=Tizen:style=Regular align=left font_size="POPUP_TEXT_FONT_SIZE" color=#000000 wrap=mixed ellipsis=1.0";
  28. tag: "br" "\n";
  29. tag: "tab" "\t";
  30. }
  31. }
  32. parts {
  33. part { name: "bg";
  34. type: SPACER;
  35. scale: 1;
  36. description { state: "default" 0.0;
  37. min: POPUP_PROCESSING_VIEW_LAYOUT_BG_MIN_SIZE;
  38. fixed: 1 0;
  39. }
  40. }
  41. part { name: "pad_l";
  42. type: SPACER;
  43. scale: 1;
  44. description { state: "default" 0.0;
  45. min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_WIDTH 0;
  46. fixed: 1 0;
  47. rel1.relative: 0.0 0.0;
  48. rel2.relative: 0.0 1.0;
  49. align: 0.0 0.0;
  50. }
  51. }
  52. part { name: "pad_r";
  53. type: SPACER;
  54. scale: 1;
  55. description { state: "default" 0.0;
  56. min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_WIDTH 0;
  57. fixed: 1 0;
  58. rel1.relative: 1.0 0.0;
  59. rel2.relative: 1.0 1.0;
  60. align: 1.0 0.0;
  61. }
  62. }
  63. part { name: "processing";
  64. type: SWALLOW;
  65. scale: 1;
  66. description { state: "default" 0.0;
  67. fixed: 1 0;
  68. min: POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_SIZE;
  69. max: POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_SIZE;
  70. rel1 {
  71. relative: 1.0 0.0;
  72. to_x: "pad_l";
  73. }
  74. rel2 {
  75. relative: 0.0 1.0;
  76. to_x: "pad_r";
  77. }
  78. align: 0.0 0.5;
  79. }
  80. }
  81. part { name: "pad_after_processing";
  82. type: SPACER;
  83. scale: 1;
  84. description { state: "default" 0.0;
  85. fixed: 1 1;
  86. min: POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_PADDING_AFTER_SIZE;
  87. rel1 {
  88. relative: 1.0 0.0;
  89. to: "processing";
  90. }
  91. rel2.to: "processing";
  92. align: 0.0 0.5;
  93. }
  94. }
  95. part { name: "elm.text";
  96. type: TEXTBLOCK;
  97. scale: 1;
  98. description { state: "default" 0.0;
  99. min: POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_TEXT_MIN_SIZE;
  100. fixed: 1 1;
  101. rel1 {
  102. relative: 1.0 0.0;
  103. to: "pad_after_processing";
  104. }
  105. rel2 {
  106. relative: 0.0 1.0;
  107. to_x: "pad_r";
  108. }
  109. align: 0.0 0.5;
  110. text {
  111. style: "popup_processing_style";
  112. min: 0 1;
  113. }
  114. }
  115. }
  116. }
  117. }
  118.