Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard not showing #9

Open
MhtSuthar opened this issue Mar 15, 2016 · 2 comments
Open

Dashboard not showing #9

MhtSuthar opened this issue Mar 15, 2016 · 2 comments

Comments

@MhtSuthar
Copy link

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.

screenshot_2016-03-15-16-26-10

@kyze8439690
Copy link
Owner

pls attach your layout file,thx.

@MhtSuthar
Copy link
Author

This is my xml

<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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants