diff -r 2f259fa3e83a -r 8ca85d2f0db7 uifw/AvKon/aknhlist/src/akntreelistview.cpp --- a/uifw/AvKon/aknhlist/src/akntreelistview.cpp Tue Feb 02 01:00:49 2010 +0200 +++ b/uifw/AvKon/aknhlist/src/akntreelistview.cpp Fri Feb 19 23:04:46 2010 +0200 @@ -25,7 +25,7 @@ #include #include #include // for testability hooks -#include +#include #include "akntreelistview.h" #include "akntree.h" #include "akntreelist.h" @@ -2776,6 +2776,11 @@ } #endif // RD_UI_TRANSITION_EFFECTS_LIST + // text color, used to draw the separator line between list items + TRgb textColor( KRgbBlack ); + AknsUtils::GetCachedColor( AknsUtils::SkinInstance(), textColor, + KAknsIIDQsnTextColors, EAknsCIQsnTextColorsCG6 ); + const TInt itemCount = iItems.Count(); for ( TInt ii = 0; ii < itemCount; ++ii ) { @@ -2816,6 +2821,11 @@ transApi->StopDrawing(); } #endif + if ( ii < iBottomIndex ) + { + AknListUtils::DrawSeparator( gc, tfxDrawRect, textColor ); + } + TBool focused = ( IsFocused() && FocusedItem() && iItems[ii].Item() == FocusedItem() );