Buttons not showing in header in Android


#1

Hello,

I want to put buttons in my header and they display well when I am under iphone6 view on the navigator but not when I am under Android View.

Here is my code :

<ion-navbar *navbar primary>
  <ion-title text-center>Profile</ion-title>
    <ion-buttons start>
      <button primary id="CameraButton" (click) = "goToCameraPage()">
        <ion-icon name="camera"></ion-icon>
      </button>
    </ion-buttons>
    <ion-buttons end>
      <button primary id="EditButton" (click) = "goToEditPage()">
        <ion-icon name="create"></ion-icon>
      </button>
    </ion-buttons>
</ion-navbar>

I don’t understand why the buttons don’t show up in Android view.

Thank you by advance.


#2

Post here your real html code from device. I think,buttons are showing, but there have same color;


#3

You are right @xr0master when i remove primary on my buttons, i can see them on my header but they are both displayed to the right, even for the iOS view. Here is my real html code


#4

use left/right instead of start/end


#5

Thank you it works perfectly now :smile: