mirror of
https://github.com/bitwarden/mobile
synced 2026-01-06 10:34:07 +00:00
TableView to add site page
This commit is contained in:
@@ -19,27 +19,12 @@ namespace Bit.App.Pages
|
||||
|
||||
private void Init()
|
||||
{
|
||||
var foldersLayout = new StackLayout { Orientation = StackOrientation.Horizontal };
|
||||
foldersLayout.Children.Add(new Label
|
||||
{
|
||||
Text = "Folders",
|
||||
HorizontalOptions = LayoutOptions.StartAndExpand,
|
||||
VerticalOptions = LayoutOptions.Center,
|
||||
Margin = new Thickness(10, 0, 0, 0)
|
||||
});
|
||||
foldersLayout.Children.Add(new Image
|
||||
{
|
||||
Source = ImageSource.FromFile("ion-chevron-right.png"),
|
||||
Opacity = 0.3,
|
||||
HorizontalOptions = LayoutOptions.End,
|
||||
VerticalOptions = LayoutOptions.Center,
|
||||
Margin = new Thickness(0, 0, 10, 0)
|
||||
});
|
||||
var foldersCell = new ViewCell { View = foldersLayout };
|
||||
var foldersCell = new TextCell { Text = "Folders" };
|
||||
foldersCell.Tapped += FoldersCell_Tapped;
|
||||
|
||||
var table = new TableView
|
||||
{
|
||||
Intent = TableIntent.Menu,
|
||||
Root = new TableRoot
|
||||
{
|
||||
new TableSection("Manage Folders")
|
||||
|
||||
Reference in New Issue
Block a user