Open MhtSuthar opened 8 years ago
pls attach your layout file,thx.
This is my xml
<?xml version="1.0" encoding="utf-8"?> <com.utils.customview.ResideLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/reside_layout" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/bg">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#012740"
android:scaleType="centerCrop" />
<include
layout="@layout/sidebar"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" />
</FrameLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.design.widget.CoordinatorLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.design.widget.AppBarLayout
android:id="@+id/appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
style="@style/MyToolbar"
android:background="@color/dashboard_header">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:orientation="vertical">
<com.opf.font.ArchivoNarrowRegularTextview
android:id="@+id/toolbar_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="DASHBOARD"
android:singleLine="true"
android:textColor="@color/toolbar_title_color"
android:textSize="20sp" />
<com.opf.font.DosisMediumTextview
android:id="@+id/toolbar_sub_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="sub"
android:visibility="visible"
android:singleLine="true"
android:textColor="#002A6F"
android:textSize="12sp" />
</LinearLayout>
</android.support.v7.widget.Toolbar>
<android.support.design.widget.TabLayout
android:id="@+id/tabs"
style="@style/Widget.MaterialSheetFab.TabLayout" />
<FrameLayout
android:id="@+id/container_appbar"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/appbar"
android:visibility="gone" />
</android.support.design.widget.AppBarLayout>
<android.support.v4.view.ViewPager
android:id="@+id/viewpager"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/appbar"
android:visibility="gone"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
<FrameLayout
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/appbar"
android:background="@drawable/bg"
android:visibility="visible"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
</android.support.design.widget.CoordinatorLayout>
</RelativeLayout>
</com.utils.customview.ResideLayout>
"<com.utils.customview.ResideLayout" is not showing i dont know what happen
Hello, i am using your reside layout, it is awesome. but in Samsung device when i am using webview in fragment and open side menu than its weird behaviors i dnt know how to resolve, plz help me if you know about that. I attach screen shots of my app see my dashboard which is not displaying.