Fixed SD Card detach issue and applied TableViewContextItem Gridlayout
authorMyunkyu <mk70.kang@partner.samsung.com>
Fri, 19 Apr 2013 02:30:19 +0000 (11:30 +0900)
committerMyunkyu <mk70.kang@partner.samsung.com>
Fri, 19 Apr 2013 02:30:19 +0000 (11:30 +0900)
Change-Id: I392f4c2506029fd95b8a981ace2425c9c7dfdb45

res/screen-size-normal/IDL_SWEEP_QUICK_ALBUM_PANEL.xml
res/screen-size-normal/IDL_SWEEP_QUICK_ITEM2_PANEL.xml
res/screen-size-normal/IDL_SWEEP_QUICK_MENU_ITEM_PANEL.xml
res/screen-size-normal/IDL_SWEEP_QUICK_PLAYALL_ITEM_PANEL.xml
src/MpCommonUtil.cpp
src/MpPlaylistPickerPopup.cpp

index 66ba989..e6b0ef6 100644 (file)
@@ -6,17 +6,17 @@
 <ScenePanel Bversion="2.0.0.201303041025" Dversion="20120315">\r
     <Panel id="IDL_SWEEP_QUICK_ALBUM_PANEL">\r
         <property backgroundColor="#F8F6EF" backgroundColorOpacity="100" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>\r
-        <layout height="140" mode="Portrait" type="LAYOUT_RELATIVE" width="720" x="0" y="0"/>\r
-        <layout height="140" mode="Landscape" type="LAYOUT_RELATIVE" width="1280" x="0" y="0"/>\r
+        <layout column1Collapsed="false" column1Shrinkable="true" column1Spacing="0.0" column1Stretchable="true" column2Collapsed="false" column2Shrinkable="true" column2Spacing="16.0" column2Stretchable="true" column3Collapsed="false" column3Shrinkable="true" column3Spacing="0.0" column3Stretchable="true" height="140.0" maxColumn="3" maxRow="1" mode="Portrait" row1Collapsed="false" row1Shrinkable="false" row1Spacing="0.0" row1Stretchable="false" type="LAYOUT_GRID" width="720.0" x="0.0" y="0.0"/>\r
+        <layout column1Collapsed="false" column1Shrinkable="true" column1Spacing="0.0" column1Stretchable="true" column2Collapsed="false" column2Shrinkable="true" column2Spacing="16.0" column2Stretchable="true" column3Collapsed="false" column3Shrinkable="true" column3Spacing="0.0" column3Stretchable="false" height="140.0" maxColumn="3" maxRow="1" mode="Landscape" row1Collapsed="false" row1Shrinkable="false" row1Spacing="0.0" row1Stretchable="false" type="LAYOUT_GRID" width="1280.0" x="0.0" y="0.0"/>\r
     </Panel>\r
     <Button id="IDC_PLAY_ALL_BUTTON" parent="IDL_SWEEP_QUICK_ALBUM_PANEL">\r
-        <property DisabledBitmapX="0" DisabledBitmapY="0" NormalBitmapX="0" NormalBitmapY="0" PressedBitmapX="0" PressedBitmapY="0" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0" highlightedBitmapY="0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="Play all" textSize="32" verticalAlign="ALIGN_MIDDLE"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="true" height="74" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="26" marginRight="20" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_LEFT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="322" x="26" y="33"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="true" height="74" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="26" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="604" x="26" y="33"/>\r
+        <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="Play all" textSize="32.0" verticalAlign="ALIGN_MIDDLE"/>\r
+        <layout height="74.0" horizontalAlignment="LAYOUT_HORIZONTAL_ALIGN_LEFT" marginBottom="0.0" marginLeft="26.0" marginRight="0.0" marginTop="35.0" mode="Portrait" positionColumn="0" positionColumnSpan="1" positionRow="0" positionRowSpan="1" verticalAlignment="LAYOUT_VERTICAL_ALIGN_TOP" width="326.0"/>\r
+        <layout height="74.0" horizontalAlignment="LAYOUT_HORIZONTAL_ALIGN_LEFT" marginBottom="0.0" marginLeft="26.0" marginRight="0.0" marginTop="35.0" mode="Landscape" positionColumn="0" positionColumnSpan="1" positionRow="0" positionRowSpan="1" verticalAlignment="LAYOUT_VERTICAL_ALIGN_TOP" width="606.0"/>\r
     </Button>\r
     <Button id="IDC_ADD_TO_BUTTON" parent="IDL_SWEEP_QUICK_ALBUM_PANEL">\r
-        <property DisabledBitmapX="0" DisabledBitmapY="0" NormalBitmapX="0" NormalBitmapY="0" PressedBitmapX="0" PressedBitmapY="0" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0" highlightedBitmapY="0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="Add to Playlist" textSize="32" verticalAlign="ALIGN_MIDDLE"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="true" height="74" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="26" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="322" x="372" y="33"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="true" height="74" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="26" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="604" x="650" y="33"/>\r
+        <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="Add to" textSize="32.0" verticalAlign="ALIGN_MIDDLE"/>\r
+        <layout height="74.0" horizontalAlignment="LAYOUT_HORIZONTAL_ALIGN_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="26.0" marginTop="35.0" mode="Portrait" positionColumn="1" positionColumnSpan="1" positionRow="0" positionRowSpan="1" verticalAlignment="LAYOUT_VERTICAL_ALIGN_TOP" width="326.0"/>\r
+        <layout height="74.0" horizontalAlignment="LAYOUT_HORIZONTAL_ALIGN_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="26.0" marginTop="35.0" mode="Landscape" positionColumn="1" positionColumnSpan="1" positionRow="0" positionRowSpan="1" verticalAlignment="LAYOUT_VERTICAL_ALIGN_TOP" width="606.0"/>\r
     </Button>\r
 </ScenePanel>\r
index 7a73244..2ab2d36 100644 (file)
@@ -6,17 +6,17 @@
 <ScenePanel Bversion="2.0.0.201303041025" Dversion="20120315">\r
     <Panel id="IDL_SWEEP_QUICK_ITEM2_PANEL">\r
         <property backgroundColor="#F8F6EF" backgroundColorOpacity="100" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>\r
-        <layout height="140" mode="Portrait" type="LAYOUT_RELATIVE" width="720" x="0" y="0"/>\r
-        <layout height="140" mode="Landscape" type="LAYOUT_RELATIVE" width="1280" x="0" y="0"/>\r
+        <layout column1Collapsed="false" column1Shrinkable="true" column1Spacing="0.0" column1Stretchable="true" column2Collapsed="false" column2Shrinkable="true" column2Spacing="16.0" column2Stretchable="true" column3Collapsed="false" column3Shrinkable="true" column3Spacing="0.0" column3Stretchable="true" height="140.0" maxColumn="3" maxRow="1" mode="Portrait" row1Collapsed="false" row1Shrinkable="false" row1Spacing="0.0" row1Stretchable="false" type="LAYOUT_GRID" width="720.0" x="0.0" y="0.0"/>\r
+        <layout column1Collapsed="false" column1Shrinkable="true" column1Spacing="0.0" column1Stretchable="true" column2Collapsed="false" column2Shrinkable="true" column2Spacing="16.0" column2Stretchable="true" column3Collapsed="false" column3Shrinkable="true" column3Spacing="0.0" column3Stretchable="false" height="140.0" maxColumn="3" maxRow="1" mode="Landscape" row1Collapsed="false" row1Shrinkable="false" row1Spacing="0.0" row1Stretchable="false" type="LAYOUT_GRID" width="1280.0" x="0.0" y="0.0"/>\r
     </Panel>\r
     <Button id="IDC_PLAY_ALL_BUTTON" parent="IDL_SWEEP_QUICK_ITEM2_PANEL">\r
-        <property DisabledBitmapX="0" DisabledBitmapY="0" NormalBitmapX="0" NormalBitmapY="0" PressedBitmapX="0" PressedBitmapY="0" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0" highlightedBitmapY="0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="Play all" textSize="32" verticalAlign="ALIGN_MIDDLE"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="true" height="74" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_SWEEP_QUICK_ITEM2_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="26" marginRight="20" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_LEFT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="322" x="26" y="33"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="true" height="74" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_SWEEP_QUICK_ITEM2_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="26" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="604" x="26" y="33"/>\r
+        <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="Play all" textSize="32.0" verticalAlign="ALIGN_MIDDLE"/>\r
+        <layout height="74.0" horizontalAlignment="LAYOUT_HORIZONTAL_ALIGN_LEFT" marginBottom="0.0" marginLeft="26.0" marginRight="0.0" marginTop="35.0" mode="Portrait" positionColumn="0" positionColumnSpan="1" positionRow="0" positionRowSpan="1" verticalAlignment="LAYOUT_VERTICAL_ALIGN_TOP" width="326.0"/>\r
+        <layout height="74.0" horizontalAlignment="LAYOUT_HORIZONTAL_ALIGN_LEFT" marginBottom="0.0" marginLeft="26.0" marginRight="0.0" marginTop="35.0" mode="Landscape" positionColumn="0" positionColumnSpan="1" positionRow="0" positionRowSpan="1" verticalAlignment="LAYOUT_VERTICAL_ALIGN_TOP" width="606.0"/>\r
     </Button>\r
     <Button id="IDC_BUTTON_DELETE" parent="IDL_SWEEP_QUICK_ITEM2_PANEL">\r
-        <property DisabledBitmapX="0" DisabledBitmapY="0" NormalBitmapX="0" NormalBitmapY="0" PressedBitmapX="0" PressedBitmapY="0" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0" highlightedBitmapY="0" highlightedColor="#D05252" highlightedColorOpacity="40" highlightedTextColor="#F8F7EF" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="#D05252" normalColorOpacity="100" normalTextColor="#F8F7EF" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="#C24747" pressedColorOpacity="100" pressedTextColor="" text="Delete" textSize="32" verticalAlign="ALIGN_MIDDLE"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="true" height="74" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="26" marginTop="0" mode="Portrait" rightRelation="IDL_SWEEP_QUICK_ITEM2_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="322" x="372" y="33"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="true" height="74" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="26" marginTop="0" mode="Landscape" rightRelation="IDL_SWEEP_QUICK_ITEM2_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="604" x="650" y="33"/>\r
+        <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="#D05252" highlightedColorOpacity="40" highlightedTextColor="#F8F7EF" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="#D05252" normalColorOpacity="100" normalTextColor="#F8F7EF" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="#C24747" pressedColorOpacity="100" pressedTextColor="" text="Delete" textSize="32.0" verticalAlign="ALIGN_MIDDLE"/>\r
+        <layout height="74.0" horizontalAlignment="LAYOUT_HORIZONTAL_ALIGN_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="26.0" marginTop="35.0" mode="Portrait" positionColumn="1" positionColumnSpan="1" positionRow="0" positionRowSpan="1" verticalAlignment="LAYOUT_VERTICAL_ALIGN_TOP" width="326.0"/>\r
+        <layout height="74.0" horizontalAlignment="LAYOUT_HORIZONTAL_ALIGN_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="26.0" marginTop="35.0" mode="Landscape" positionColumn="1" positionColumnSpan="1" positionRow="0" positionRowSpan="1" verticalAlignment="LAYOUT_VERTICAL_ALIGN_TOP" width="606.0"/>\r
     </Button>\r
 </ScenePanel>\r
index b158e9d..1b9a693 100644 (file)
@@ -6,27 +6,27 @@
 <ScenePanel Bversion="2.0.0.201302250944" Dversion="20120315">\r
     <Panel id="IDL_SWEEP_QUICK_MENU_ITEM_PANEL">\r
         <property backgroundColor="#F8F6EF" backgroundColorOpacity="100" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>\r
-        <layout height="140" mode="Portrait" type="LAYOUT_RELATIVE" width="720" x="0" y="0"/>\r
-        <layout height="140" mode="Landscape" type="LAYOUT_RELATIVE" width="1280" x="0" y="0"/>\r
+        <layout column1Collapsed="false" column1Shrinkable="true" column1Spacing="0.0" column1Stretchable="true" column2Collapsed="false" column2Shrinkable="true" column2Spacing="16.0" column2Stretchable="true" column3Collapsed="false" column3Shrinkable="true" column3Spacing="16.0" column3Stretchable="true" column4Collapsed="false" column4Shrinkable="true" column4Spacing="16.0" column4Stretchable="true" column5Collapsed="false" column5Shrinkable="true" column5Spacing="0.0" column5Stretchable="false" height="140.0" maxColumn="5" maxRow="1" mode="Portrait" row1Collapsed="false" row1Shrinkable="false" row1Spacing="0.0" row1Stretchable="false" type="LAYOUT_GRID" width="720.0" x="0.0" y="0.0"/>\r
+        <layout column1Collapsed="false" column1Shrinkable="true" column1Spacing="0.0" column1Stretchable="true" column2Collapsed="false" column2Shrinkable="true" column2Spacing="16.0" column2Stretchable="true" column3Collapsed="false" column3Shrinkable="true" column3Spacing="16.0" column3Stretchable="true" column4Collapsed="false" column4Shrinkable="true" column4Spacing="16.0" column4Stretchable="true" column5Collapsed="false" column5Shrinkable="true" column5Spacing="0.0" column5Stretchable="false" height="140.0" maxColumn="5" maxRow="1" mode="Landscape" row1Collapsed="false" row1Shrinkable="true" row1Spacing="0.0" row1Stretchable="false" type="LAYOUT_GRID" width="1280.0" x="0.0" y="0.0"/>\r
     </Panel>\r
     <Button id="IDC_SHARE_BUTTON" parent="IDL_SWEEP_QUICK_MENU_ITEM_PANEL">\r
-        <property DisabledBitmapX="0" DisabledBitmapY="0" NormalBitmapX="0" NormalBitmapY="0" PressedBitmapX="0" PressedBitmapY="0" disableTextColor="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="Share" textSize="32" verticalAlign="ALIGN_MIDDLE"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="true" height="74" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_SWEEP_QUICK_MENU_ITEM_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="26" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_CONTENTS_ARTIST_NAME" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="155" x="26" y="33"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="true" height="74" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_SWEEP_QUICK_MENU_ITEM_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="26" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="295" x="26" y="33"/>\r
+        <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="Share" textSize="32.0" verticalAlign="ALIGN_MIDDLE"/>\r
+        <layout height="74.0" horizontalAlignment="LAYOUT_HORIZONTAL_ALIGN_LEFT" marginBottom="0.0" marginLeft="26.0" marginRight="0.0" marginTop="35.0" mode="Portrait" positionColumn="0" positionColumnSpan="1" positionRow="0" positionRowSpan="1" verticalAlignment="LAYOUT_VERTICAL_ALIGN_TOP" width="156.17188"/>\r
+        <layout height="74.0" horizontalAlignment="LAYOUT_HORIZONTAL_ALIGN_LEFT" marginBottom="0.0" marginLeft="26.0" marginRight="0.0" marginTop="35.0" mode="Landscape" positionColumn="0" positionColumnSpan="1" positionRow="0" positionRowSpan="1" verticalAlignment="LAYOUT_VERTICAL_ALIGN_TOP" width="285.25"/>\r
     </Button>\r
     <Button id="IDC_SET_AS_BUTTON" parent="IDL_SWEEP_QUICK_MENU_ITEM_PANEL">\r
-        <property DisabledBitmapX="0" DisabledBitmapY="0" NormalBitmapX="0" NormalBitmapY="0" PressedBitmapX="0" PressedBitmapY="0" disableTextColor="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="Set As" textSize="32" verticalAlign="ALIGN_MIDDLE"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="true" height="74" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_SHARE_BUTTON" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0" marginLeft="16" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_CONTENTS_ARTIST_NAME" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="155" x="197" y="33"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="true" height="74" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_SHARE_BUTTON" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0" marginLeft="16" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="295" x="337" y="33"/>\r
+        <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="Set As" textSize="32.0" verticalAlign="ALIGN_MIDDLE"/>\r
+        <layout height="74.0" horizontalAlignment="LAYOUT_HORIZONTAL_ALIGN_CENTER" marginBottom="0.0" marginLeft="16.0" marginRight="0.0" marginTop="35.0" mode="Portrait" positionColumn="1" positionColumnSpan="1" positionRow="0" positionRowSpan="1" verticalAlignment="LAYOUT_VERTICAL_ALIGN_TOP" width="156.17188"/>\r
+        <layout height="74.0" horizontalAlignment="LAYOUT_HORIZONTAL_ALIGN_CENTER" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="35.0" mode="Landscape" positionColumn="1" positionColumnSpan="1" positionRow="0" positionRowSpan="1" verticalAlignment="LAYOUT_VERTICAL_ALIGN_TOP" width="299.25"/>\r
     </Button>\r
     <Button id="IDC_BUTTON_DELETE" parent="IDL_SWEEP_QUICK_MENU_ITEM_PANEL">\r
-        <property DisabledBitmapX="0" DisabledBitmapY="0" NormalBitmapX="0" NormalBitmapY="0" PressedBitmapX="0" PressedBitmapY="0" disableTextColor="#F8F6EF" disabledBitmapPath="" disabledColor="#D05252" disabledColorOpacity="40" highlightedBGBitmapPath="" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="#D05252" normalColorOpacity="100" normalTextColor="#F8F6EF" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="#C24747" pressedColorOpacity="100" pressedTextColor="" text="Delete" textSize="32" verticalAlign="ALIGN_MIDDLE"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="true" height="74" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="16" marginRight="26" marginTop="0" mode="Portrait" rightRelation="IDL_SWEEP_QUICK_MENU_ITEM_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_CONTENTS_ARTIST_NAME" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="155" x="539" y="33"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="true" height="74" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="26" marginRight="26" marginTop="0" mode="Landscape" rightRelation="IDL_SWEEP_QUICK_MENU_ITEM_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="295" x="959" y="33"/>\r
+        <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="#F8F6EF" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="#D05252" disabledColorOpacity="40" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="#D05252" normalColorOpacity="100" normalTextColor="#F8F6EF" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="#C24747" pressedColorOpacity="100" pressedTextColor="" text="Delete" textSize="32.0" verticalAlign="ALIGN_MIDDLE"/>\r
+        <layout height="74.0" horizontalAlignment="LAYOUT_HORIZONTAL_ALIGN_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="26.0" marginTop="35.0" mode="Portrait" positionColumn="3" positionColumnSpan="1" positionRow="0" positionRowSpan="1" verticalAlignment="LAYOUT_VERTICAL_ALIGN_TOP" width="158.17188"/>\r
+        <layout height="74.0" horizontalAlignment="LAYOUT_HORIZONTAL_ALIGN_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="26.0" marginTop="35.0" mode="Landscape" positionColumn="3" positionColumnSpan="1" positionRow="0" positionRowSpan="1" verticalAlignment="LAYOUT_VERTICAL_ALIGN_TOP" width="299.25"/>\r
     </Button>\r
     <Button id="IDC_ADD_TO_BUTTON" parent="IDL_SWEEP_QUICK_MENU_ITEM_PANEL">\r
-        <property DisabledBitmapX="0" DisabledBitmapY="0" NormalBitmapX="0" NormalBitmapY="0" PressedBitmapX="0" PressedBitmapY="0" disableTextColor="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="Add to" textSize="32" verticalAlign="ALIGN_MIDDLE"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="true" height="74" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="16" marginRight="16" marginTop="0" mode="Portrait" rightRelation="IDC_BUTTON_DELETE" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_LEFT" topRelation="IDC_CONTENTS_ARTIST_NAME" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="155" x="368" y="33"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="true" height="74" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="26" marginRight="16" marginTop="0" mode="Landscape" rightRelation="IDC_BUTTON_DELETE" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_LEFT" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="295" x="648" y="33"/>\r
+        <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="Add to" textSize="32.0" verticalAlign="ALIGN_MIDDLE"/>\r
+        <layout height="74.0" horizontalAlignment="LAYOUT_HORIZONTAL_ALIGN_CENTER" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="35.0" mode="Portrait" positionColumn="2" positionColumnSpan="1" positionRow="0" positionRowSpan="1" verticalAlignment="LAYOUT_VERTICAL_ALIGN_TOP" width="150.48438"/>\r
+        <layout height="74.0" horizontalAlignment="LAYOUT_HORIZONTAL_ALIGN_CENTER" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="35.0" mode="Landscape" positionColumn="2" positionColumnSpan="1" positionRow="0" positionRowSpan="1" verticalAlignment="LAYOUT_VERTICAL_ALIGN_TOP" width="299.25"/>\r
     </Button>\r
 </ScenePanel>\r
index 9ac410e..688a8aa 100644 (file)
@@ -6,12 +6,12 @@
 <ScenePanel Bversion="2.0.0.201303041025" Dversion="20120315">\r
     <Panel id="IDL_SWEEP_QUICK_PLAYALL_ITEM_PANEL">\r
         <property backgroundColor="#F8F6EF" backgroundColorOpacity="100" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>\r
-        <layout height="140" mode="Portrait" type="LAYOUT_RELATIVE" width="720" x="0" y="0"/>\r
-        <layout height="140" mode="Landscape" type="LAYOUT_RELATIVE" width="1280" x="0" y="0"/>\r
+        <layout column1Collapsed="false" column1Shrinkable="true" column1Spacing="0.0" column1Stretchable="true" column2Collapsed="false" column2Shrinkable="false" column2Spacing="26.0" column2Stretchable="false" height="140.0" maxColumn="2" maxRow="1" mode="Portrait" row1Collapsed="false" row1Shrinkable="false" row1Spacing="0.0" row1Stretchable="false" type="LAYOUT_GRID" width="720.0" x="0.0" y="0.0"/>\r
+        <layout column1Collapsed="false" column1Shrinkable="true" column1Spacing="0.0" column1Stretchable="true" column2Collapsed="false" column2Shrinkable="true" column2Spacing="26.0" column2Stretchable="false" height="140.0" maxColumn="2" maxRow="1" mode="Landscape" row1Collapsed="false" row1Shrinkable="false" row1Spacing="0.0" row1Stretchable="false" type="LAYOUT_GRID" width="1280.0" x="0.0" y="0.0"/>\r
     </Panel>\r
     <Button id="IDC_PLAY_ALL_BUTTON" parent="IDL_SWEEP_QUICK_PLAYALL_ITEM_PANEL">\r
-        <property DisabledBitmapX="0" DisabledBitmapY="0" NormalBitmapX="0" NormalBitmapY="0" PressedBitmapX="0" PressedBitmapY="0" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0" highlightedBitmapY="0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="Play All" textSize="32" verticalAlign="ALIGN_MIDDLE"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="true" centerVertical="true" height="74" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_SWEEP_QUICK_PLAYALL_ITEM_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="11" marginLeft="197" marginRight="197" marginTop="0" mode="Portrait" rightRelation="IDL_SWEEP_QUICK_PLAYALL_ITEM_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="326" x="197" y="33"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="true" height="74" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_SWEEP_QUICK_PLAYALL_ITEM_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="11" marginLeft="197" marginRight="197" marginTop="0" mode="Landscape" rightRelation="IDL_SWEEP_QUICK_PLAYALL_ITEM_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="886" x="197" y="33"/>\r
+        <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="Play All" textSize="32.0" verticalAlign="ALIGN_MIDDLE"/>\r
+        <layout height="74.0" horizontalAlignment="LAYOUT_HORIZONTAL_ALIGN_LEFT" marginBottom="0.0" marginLeft="26.0" marginRight="0.0" marginTop="35.0" mode="Portrait" positionColumn="0" positionColumnSpan="1" positionRow="0" positionRowSpan="1" verticalAlignment="LAYOUT_VERTICAL_ALIGN_TOP" width="668.0"/>\r
+        <layout height="74.0" horizontalAlignment="LAYOUT_HORIZONTAL_ALIGN_LEFT" marginBottom="0.0" marginLeft="26.0" marginRight="10.0" marginTop="35.0" mode="Landscape" positionColumn="0" positionColumnSpan="1" positionRow="0" positionRowSpan="1" verticalAlignment="LAYOUT_VERTICAL_ALIGN_TOP" width="1228.0"/>\r
     </Button>\r
 </ScenePanel>\r
index c45d0b2..8be993a 100644 (file)
@@ -777,6 +777,23 @@ CommonUtil::CreateTableViewContextItemN(Tizen::Ui::IActionEventListener& listene
        pTableViewContextItem->AddControl(*pItem);
        pTableViewContextItem->SetIndividualSelectionEnabled(pItem, true);
 
+       int controlCount = pItem->GetControlCount();
+       if (controlCount != INIT_VALUE)
+       {
+                Tizen::Ui::GridLayout* pGridLayout = dynamic_cast<Tizen::Ui::GridLayout*>(pItem->GetLandscapeLayoutN());
+                if (pGridLayout != null)
+                {
+                        int margin = 80;
+                        if (controlCount == 1)
+                        {
+                                margin = 106;
+                        }
+
+                        pGridLayout->SetColumnSpacing(controlCount, margin);
+                        pGridLayout->Update();
+                        delete pGridLayout;
+                }
+       }
        AppLogDebug("EXIT");
        return pTableViewContextItem;
 }
index e08483b..f005030 100644 (file)
@@ -313,7 +313,11 @@ PlayListPickerPopup::OnTableViewItemStateChanged(Tizen::Ui::Controls::TableView&
                                }
                        }
                }
+               Tizen::Base::Collection::ArrayList* pDataList = new (std::nothrow) ArrayList();
+               pDataList->Construct();
+               pDataList->Add(*(new (std::nothrow) Boolean(true)));
 
+               __pControl->SendUserEvent(ID_DESTORY_PLAY_LIST_PICKER_POPUP, pDataList);
                if (GetLastResult() == E_SUCCESS)
                {
                        MessageBox messageBox;
@@ -323,11 +327,6 @@ PlayListPickerPopup::OnTableViewItemStateChanged(Tizen::Ui::Controls::TableView&
                        int modalResult = 0;
                        messageBox.ShowAndWait(modalResult);
                }
-               Tizen::Base::Collection::ArrayList* pDataList = new (std::nothrow) ArrayList();
-               pDataList->Construct();
-               pDataList->Add(*(new (std::nothrow) Boolean(true)));
-
-               __pControl->SendUserEvent(ID_DESTORY_PLAY_LIST_PICKER_POPUP, pDataList);
        }
        AppLogDebug("EXIT");
 }