, __isTabSoundPlayed(false)
, __isSelectedDetailButton(false)
, __isSimpleLastItem(false)
+ , __isSectionItem(false)
, __isTouchPressOnScroll(false)
, __isTouchCancelOnPressRelease(false)
, __pHighlightVisualElement(null)
if (__pDrawingProperty->itemDividerEnabled == false ||
__itemType == TABLE_VIEW_ITEM_TYPE_HEADER ||
__itemType == TABLE_VIEW_ITEM_TYPE_FOOTER ||
- __itemDividerEnabled == false)
+ __itemDividerEnabled == false ||
+ __isSectionItem)
{
__pItemDivider->SetVisibleState(false);
__pItemTopDivider->SetVisibleState(false);
float lineLeftMargin = 0.0f;
float lineHeight = 0.0f;
bounds = GetBoundsF();
- int groupIndex = -1;
- int itemIndex = -1;
-
- GetItemIndex(groupIndex, itemIndex);
-
- if (itemIndex < 1)
- {
- __pItemTopDivider->SetVisibleState(false);
- }
if (!IsContextItem())
{
if (__itemType == TABLE_VIEW_ITEM_TYPE_BOTTOM || __itemType == TABLE_VIEW_ITEM_TYPE_ONE)
{
__pItemDivider->SetVisibleState(false);
+ __pItemTopDivider->SetVisibleState(false);
}
}
}
lineHeight = Tizen::Graphics::CoordinateSystem::ConvertToLogicalY(lineHeight);
bottomPoint = Tizen::Graphics::CoordinateSystem::AlignToDevice(FloatPoint(lineLeftMargin, (bounds.height)));
- dividerTopBounds.SetBounds(lineLeftMargin, 0.0f, bounds.width - lineLeftMargin * 2.0f, lineHeight);
+ dividerTopBounds.SetBounds(lineLeftMargin, bottomPoint.y - (lineHeight * 2.0f), bounds.width - lineLeftMargin * 2.0f, lineHeight);
dividerBottomBounds.SetBounds(lineLeftMargin, bottomPoint.y - lineHeight, bounds.width - lineLeftMargin * 2.0f, lineHeight);
}
}
void
+_TableViewItem::SetSectionItem(bool isSectionItem)
+{
+ __isSectionItem = isSectionItem;
+}
+
+void
_TableViewItem::SetTouchPressOnScroll(bool isTouch)
{
__isTouchPressOnScroll = isTouch;
void FireItemTouchReleased(void);
void FireItemTouchPressed(void);
void SetSimpleLastItemEnabled(bool enable);
+ void SetSectionItem(bool isSectionItem);
void SetTouchPressOnScroll(bool isTouch);
bool IsTouchPressOnScroll(void) const;
bool __isTabSoundPlayed;
bool __isSelectedDetailButton;
bool __isSimpleLastItem;
+ bool __isSectionItem;
bool __isTouchPressOnScroll;
bool __isTouchCancelOnPressRelease;