layout - Android : Button Error. Visible in Marshmallow Not seen in Kitkat AVD? -
i'm developing android application music player. here in tabbed layout have placed botton. while running project button shown in marshmallow avd . while running same programme on kitkat avd button not seen .. can 1 me find error ..?
my xml code,......
<linearlayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:fitssystemwindows="true" android:orientation="vertical"> <android.support.v7.widget.toolbar xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/material_blue_grey_800" android:id="@+id/toolbar" android:theme="@style/themeoverlay.appcompat.dark.actionbar" app:title="millenium audios" /> <android.support.v4.widget.drawerlayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_height="match_parent" android:layout_width="match_parent" android:id="@+id/drawerlayout" > <framelayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/containerview"> <button android:layout_width="403dp" android:layout_height="wrap_content" android:text="new button" android:id="@+id/button" android:onclick="clikplayer" android:layout_gravity="left|bottom" /> </framelayout> <android.support.design.widget.navigationview xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_gravity="start" android:id="@+id/shitstuff" app:itemtextcolor="@color/black" app:menu="@menu/drawermenu" android:layout_margintop="-24dp" /> </android.support.v4.widget.drawerlayout> </linearlayout>
Comments
Post a Comment