Merge pull request #137 from NativeScript/segmented-bar-fixes

Segmented bar fixes
This commit is contained in:
Vladimir Enchev
2015-03-05 15:33:37 +02:00
10 changed files with 217 additions and 56 deletions

View File

@ -27,9 +27,9 @@
<SegmentedBar selectedIndex="{{ selectedIndex }}" >
<SegmentedBar.items>
<SegmentedBarEntry title="MAY 3" />
<SegmentedBarEntry title="MAY 4" />
<SegmentedBarEntry title="MAY 5" />
<SegmentedBarItem title="MAY 3" />
<SegmentedBarItem title="MAY 4" />
<SegmentedBarItem title="MAY 5" />
</SegmentedBar.items>
</SegmentedBar>

View File

@ -6,6 +6,15 @@
<TabEntry title="Tab 1">
<TabEntry.view>
<StackLayout>
<SegmentedBar selectedIndex="1" style="background-color: red; color: white" selectedBackgroundColor="green">
<SegmentedBar.items>
<SegmentedBarItem title="MAY 3" />
<SegmentedBarItem title="MAY 4" />
<SegmentedBarItem title="MAY 5" />
</SegmentedBar.items>
</SegmentedBar>
<ListPicker items="{{ someItems }}" selectedIndex="3"/>
<DatePicker year="1976" month="10" day="30" />
<TimePicker hour="10" minute="34" />