all my layout are on top of my ActionBar. This seems like a very simple issue but I can't seem to figure it out.
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingTop="?android:attr/actionBarSize"
android:fitsSystemWindows="true" >
<TextView
android:id="@+id/txtLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="16dp"
android:text="Home View"
android:layout_alignParentTop="true"
android:layout_alignParentStart="true" />
<ImageView android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/txtLabel"
android:src="@drawable/ic_home"
android:layout_centerHorizontal="true"
android:layout_marginTop="10dp"
android:id="@+id/imageView" />
<Button
android:layout_width="fill_parent"
android:layout_height="40dp"
android:text="Logout"
android:id="@+id/logout"
android:textSize="13dp"
android:textColor="#000000"
android:layout_marginLeft="0dp"
android:layout_below="@+id/imageView"
android:layout_alignParentStart="true" />
</RelativeLayout>
Any ideas?
Thanks