I am working on the project of windows universal platform(UWP).In this Project I have a issued regarding to the bottom Appbar.
I designed a bottom Appbar and add a 7 Appbar Button.which is displayed Properly in desktop and tabulate view, but in mobile view its not properly displayed. I captured a bottom Appbar photo of the both Mobile and Desktop view. so kindly give a solution for mobile view how i manage all 7 appbar button? how to reduce appbar button size ? so it will display proper in mobile view.
Code:
<Page.BottomAppBar>
<AppBar x:Name="applicationbar" Background="#FFE45427">
<StackPanel x:Name="bottombar" Orientation="Horizontal" HorizontalAlignment="Center">
<AppBarButton Label="HOME" x:Name="appbarhome" Click="appbarhome_Click">
<AppBarButton.Icon>
<BitmapIcon UriSource="Images/DashboardImages/product-default-small.png" />
</AppBarButton.Icon>
</AppBarButton>
<AppBarButton Label="Sales" x:Name="appbarsales" Click="appbarsales_Click">
<AppBarButton.Icon>
<BitmapIcon UriSource="Images/DashboardImages/menu_sales.png"/>
</AppBarButton.Icon>
</AppBarButton>
<AppBarButton Label="Product" x:Name="appbarproduct" Click="appbarproduct_Click">
<AppBarButton.Icon>
<BitmapIcon UriSource="Images/DashboardImages/menu_product.png" />
</AppBarButton.Icon>
</AppBarButton>
<AppBarButton Label="POS" x:Name="appbarpos" Click="appbarpos_Click">
<AppBarButton.Icon>
<BitmapIcon UriSource="Images/DashboardImages/menu_pos.png"/>
</AppBarButton.Icon>
</AppBarButton>
<AppBarButton Label="Customer" x:Name="customer" Click="customer_Click">
<AppBarButton.Icon>
<BitmapIcon UriSource="Images/DashboardImages/menu_customers.png"/>
</AppBarButton.Icon>
</AppBarButton>
<AppBarButton Label="About US" x:Name="aboutUs" Click="aboutUs_Click">
<AppBarButton.Icon>
<BitmapIcon UriSource="Images/DashboardImages/menu_aboutus.png"/>
</AppBarButton.Icon>
</AppBarButton>
<AppBarButton Label="Logout" x:Name="mobile_logout_commandbar" Click="mobile_logout_commandbar_Click">
<AppBarButton.Icon>
<BitmapIcon UriSource="Images/DashboardImages/menu_logout.png"/>
</AppBarButton.Icon>
</AppBarButton>
</StackPanel>
</AppBar>
</Page.BottomAppBar>
Image: