1

I am new to android and I have just started working on application for the first time. I have created/using a tab bar view to display multiple view.

I am getting the tab bar at the bottom of the screen. However I want to display the tab bar on the left of the screen.

The code I am using is as follows.

  android:layout_alignParentBottom="true"

My activity_main.xml is as follows:-

  <TabWidget
        android:id="@android:id/tabs"
        android:layout_width="300dp"
        android:layout_height="wrap_content"
        android:layout_alignParentLeft="true"
        android:background="#2184C6" />

The image i am getting is:- enter image description here

Can anyone please help me with this.

SemperFi
  • 2,358
  • 6
  • 31
  • 51

0 Answers0