mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-11-01 16:05:42 +00:00
Tabs
This commit is contained in:
parent
9332a41320
commit
82aaec1b90
2 changed files with 25 additions and 16 deletions
|
|
@ -6,6 +6,6 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?attr/colorPrimary"
|
android:background="?attr/colorPrimary"
|
||||||
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
|
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
|
||||||
app:tabIndicatorColor="@android:color/white"
|
app:tabIndicatorColor="@color/HDRed"
|
||||||
app:tabGravity="fill"
|
app:tabGravity="fill"
|
||||||
app:tabMode="fixed" />
|
app:tabMode="scrollable" />
|
||||||
|
|
|
||||||
|
|
@ -9,27 +9,28 @@
|
||||||
xmlns:mdview="clr-namespace:Xam.Forms.Markdown"
|
xmlns:mdview="clr-namespace:Xam.Forms.Markdown"
|
||||||
x:Name="This"
|
x:Name="This"
|
||||||
Title="Création de personnage"
|
Title="Création de personnage"
|
||||||
android:TabbedPage.ToolbarPlacement="Bottom"
|
SelectedTabColor="{StaticResource HDRed}"
|
||||||
android:TabbedPage.IsSwipePagingEnabled="True"
|
UnselectedTabColor="{StaticResource HDMidGrey}"
|
||||||
android:TabbedPage.BarItemColor="{StaticResource HDMidGrey}"
|
android:TabbedPage.IsSwipePagingEnabled="True">
|
||||||
android:TabbedPage.BarSelectedItemColor="{StaticResource HDRed}"
|
|
||||||
windows:TabbedPage.HeaderIconsEnabled="true">
|
|
||||||
<windows:TabbedPage.HeaderIconsSize>
|
|
||||||
<Size>
|
|
||||||
<x:Arguments>
|
|
||||||
<x:Double>48</x:Double>
|
|
||||||
<x:Double>48</x:Double>
|
|
||||||
</x:Arguments>
|
|
||||||
</Size>
|
|
||||||
</windows:TabbedPage.HeaderIconsSize>
|
|
||||||
<TabbedPage.Resources>
|
<TabbedPage.Resources>
|
||||||
<ResourceDictionary>
|
<ResourceDictionary>
|
||||||
<tools:MonsterMarkdownTheme x:Key="MonsterMarkdownTheme" />
|
<tools:MonsterMarkdownTheme x:Key="MonsterMarkdownTheme" />
|
||||||
<tools:NullToFalseConverter x:Key="NullToFalseConverter" />
|
<tools:NullToFalseConverter x:Key="NullToFalseConverter" />
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
</TabbedPage.Resources>
|
</TabbedPage.Resources>
|
||||||
<ContentPage Title="Niveau">
|
<ContentPage Title="Généralités">
|
||||||
<StackLayout>
|
<StackLayout>
|
||||||
|
<Entry Placeholder="Nom" Text="{Binding Name}" />
|
||||||
|
<Picker Title="Genre" HorizontalOptions="FillAndExpand">
|
||||||
|
<Picker.ItemsSource>
|
||||||
|
<x:Array Type="{x:Type x:String}">
|
||||||
|
<x:String>Autre</x:String>
|
||||||
|
<x:String>Féminin</x:String>
|
||||||
|
<x:String>Masculin</x:String>
|
||||||
|
<x:String>Non précisé</x:String>
|
||||||
|
</x:Array>
|
||||||
|
</Picker.ItemsSource>
|
||||||
|
</Picker>
|
||||||
<Picker Title="Niveau" HorizontalOptions="FillAndExpand" ItemsSource="{Binding Levels}" ItemDisplayBinding="{Binding StringFormat='Niveau : {0}'}" />
|
<Picker Title="Niveau" HorizontalOptions="FillAndExpand" ItemsSource="{Binding Levels}" ItemDisplayBinding="{Binding StringFormat='Niveau : {0}'}" />
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</ContentPage>
|
</ContentPage>
|
||||||
|
|
@ -67,6 +68,14 @@
|
||||||
<Picker Title="Charisme" HorizontalOptions="FillAndExpand" ItemsSource="{Binding Abilities}" ItemDisplayBinding="{Binding StringFormat='Charisme : {0}'}" />
|
<Picker Title="Charisme" HorizontalOptions="FillAndExpand" ItemsSource="{Binding Abilities}" ItemDisplayBinding="{Binding StringFormat='Charisme : {0}'}" />
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</ContentPage>
|
</ContentPage>
|
||||||
|
<ContentPage Title="Equipement">
|
||||||
|
<StackLayout>
|
||||||
|
</StackLayout>
|
||||||
|
</ContentPage>
|
||||||
|
<ContentPage Title="Résumé">
|
||||||
|
<StackLayout>
|
||||||
|
</StackLayout>
|
||||||
|
</ContentPage>
|
||||||
<!--<StackLayout Orientation="Vertical">
|
<!--<StackLayout Orientation="Vertical">
|
||||||
<TableView Margin="10,0">
|
<TableView Margin="10,0">
|
||||||
<TableRoot>
|
<TableRoot>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue