あなたはこれを試すNativeScript Tab View Sample code
OR
を使用することができます。 あなたはListView
<GridLayout rows="*, auto, auto">
<ScrollView row="0">
<StackLayout row="0" backgroundColor="#eeeeee">
<Label text="Hello world" textWrap="true"></Label>
<Label text="Hello world" textWrap="true"></Label>
<Label text="Hello world" textWrap="true"></Label>
<Label text="Hello world" textWrap="true"></Label>
<Label text="Hello world" textWrap="true"></Label>
<Label text="Hello world" textWrap="true"></Label>
<Label text="Hello world" textWrap="true"></Label>
<Label text="Hello world" textWrap="true"></Label>
<Label text="Hello world" textWrap="true"></Label>
<Label text="Hello world" textWrap="true"></Label>
<Label text="Hello world" textWrap="true"></Label>
<Label text="Hello world" textWrap="true"></Label>
<Label text="Hello world" textWrap="true"></Label>
<Label text="Hello world" textWrap="true"></Label>
<Label text="Hello world" textWrap="true"></Label>
<Label text="Hello world" textWrap="true"></Label>
<Label text="Hello world" textWrap="true"></Label>
<Label text="Hello world" textWrap="true"></Label>
<Label text="Hello world" textWrap="true"></Label>
</StackLayout>
</ScrollView>
<StackLayout height="2" backgroundColor="#777" row="1"></StackLayout>
<GridLayout class="foot" columns="*,*,*,*" row="2">
<Label col="0" text="" textWrap="true"></Label>
<Label col="1" text="" textWrap="true"></Label>
<Label col="2" text="" textWrap="true"></Label>
<Label col="3" text="" textWrap="true"></Label>
</GridLayout>
</GridLayout>
で
ScrollViewを交換することができます
.foot {
background-color: #ccc;
}
.foot label {
text-align: center;
vertical-align: middle;
padding: 10;
font-size: 20;
}
Http://nativescriptsnacks.comいくつかのサンプルを持っています。私はそのUIのためのNativeScriptのtabviewコンポーネントを望んでいると思う。 –
ありがとう、あなたに素敵なウェブサイト – hidden