This is a migrated thread and some comments may be shown as answers.

iOS "Hamburger" icon on left?

3 Answers 235 Views
SideDrawer
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 28 Aug 2015, 07:07 AM

Hi

Currently the Hamburger icon is on the right of the Nav Bar in iOS - how can I move it to the left? Most side drawers open to the left, so it will make sense to have the icon on the left as well.

Thanks

Martin

3 Answers, 1 is accepted

Sort by
0
Rosy Topchiyska
Telerik team
answered on 01 Sep 2015, 03:28 PM
Hello Martin,

Thank you for contacting us.

You can take a look at the documentation provided by Xamarin about the iOS Navigation Controller. Unfortunately, we can not help you further, since this issue is not related to our product.

Regards,
Rosy Topchiyska
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
N Mackay
Top achievements
Rank 1
answered on 28 Oct 2015, 01:41 PM

Hi Rosy,

The hamburger on the right makes no sense as I've never seen an app with it there, also the overflow indicator in Lollipop will go there making touch very difficult.

Can you use it conjunction with MasterDetailForm page? 

I can open a ticket about this if you prefer.

Thanks,

Norman.

 

 

0
N Mackay
Top achievements
Rank 1
answered on 28 Oct 2015, 05:38 PM

The actual control works very well and can be used as a menu selector to fire of events in the parent bindingcontext. 

 

<?xml version="1.0" encoding="utf-8" ?>
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:local="clr-namespace:OrderFinder.CustomRenderers;assembly=OrderFinder"
             xmlns:primitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
             xmlns:mvvm="clr-namespace:OrderFinder;assembly=OrderFinder"
             BindingContext="{Binding Source={x:Static mvvm:App.Locator}, Path=Homepage}"
             Title="Homepage"
             x:Name="Home"
             x:Class="OrderFinder.View.HomePage">
 
  <ContentPage.ToolbarItems>
    <ToolbarItem Clicked="OnToolbarButtonClick" Order="Primary" Priority="0" Icon="IconMenu"/>
  </ContentPage.ToolbarItems>
      
  <Grid>
    <primitives:RadSideDrawer x:Name="Drawer" DrawerTransitionType="SlideInOnTop" DrawerLocation="Left">
      <primitives:RadSideDrawer.DrawerLength>
        <OnPlatform x:TypeArguments="x:Double" iOS="150" Android="400"/>
      </primitives:RadSideDrawer.DrawerLength>
      <primitives:RadSideDrawer.DrawerContent>
        <StackLayout BackgroundColor="#17817C">
          <Label Text="Drawer Content" FontSize="Medium" HorizontalOptions="Center"/>
          <Button Text="Order Search"/>
          <Button Text="Order List" Command="{Binding Source={x:Reference Home}, Path=BindingContext.OrderlistCommand}" />
          <Button Text="Scheduled"/>
          <Button Text="Logout"/>
        </StackLayout>
      </primitives:RadSideDrawer.DrawerContent>
      <primitives:RadSideDrawer.MainContent>
        <StackLayout Orientation="Vertical" VerticalOptions="CenterAndExpand">
          <Label Text="Dashboard goes here" HorizontalOptions="Center"></Label>
        </StackLayout>
      </primitives:RadSideDrawer.MainContent>
    </primitives:RadSideDrawer>
  </Grid>
   
</ContentPage>

Just a shame the button is on the right, seems all wrong for Android :/

Tags
SideDrawer
Asked by
Martin
Top achievements
Rank 1
Answers by
Rosy Topchiyska
Telerik team
N Mackay
Top achievements
Rank 1
Share this question
or