Giter Club home page Giter Club logo

Comments (9)

mxn21 avatar mxn21 commented on August 9, 2024

FlowingDrawer will always fit all the screen height and overlaps the title bar(toolbar) ,but not the status bar.

from flowingdrawer.

tudor07 avatar tudor07 commented on August 9, 2024

But in my case (as you can see in the picture) the FlowingDrawer does not overlay the title bar(toolbar). Is this a default behavior ? Because it does not work by default for me.

from flowingdrawer.

mxn21 avatar mxn21 commented on August 9, 2024

I guess your xml file is not correct. please read README or refer to demo

from flowingdrawer.

tudor07 avatar tudor07 commented on August 9, 2024

Thanks for your fast response.
This is my activity_main.xml:

<com.mxn.soul.flowingdrawer_core.FlowingDrawer
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/drawerlayout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:clipChildren="false"
    android:clipToPadding="false"
    app:edPosition="1"
    app:edMenuSize="260dp"
    app:edMenuBackground="#dddddd">

    <!--content-->
    <RelativeLayout
        android:id="@+id/content"
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <RelativeLayout
            android:id="@+id/fragment_container"
            android:layout_width="match_parent"
            android:layout_height="match_parent" />

        <Button
            android:id="@+id/pair_try_again"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/try_again"
            android:layout_centerHorizontal="true"
            android:visibility="gone"/>

    </RelativeLayout>

    <!--menu-->
    <com.mxn.soul.flowingdrawer_core.FlowingMenuLayout
        android:id="@+id/menulayout"
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <RelativeLayout
            android:id="@+id/id_container_menu"
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <TextView
                android:id="@+id/home"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="HOME"/>

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="SETTINGS"
                android:layout_below="@id/home"/>
        </RelativeLayout>

    </com.mxn.soul.flowingdrawer_core.FlowingMenuLayout>

</com.mxn.soul.flowingdrawer_core.FlowingDrawer>

I don't really see anything wrong with it.

from flowingdrawer.

mxn21 avatar mxn21 commented on August 9, 2024

well, check out your mainActivity's style , in my demo I use Theme.AppCompat.Light.NoActionBar

from flowingdrawer.

tudor07 avatar tudor07 commented on August 9, 2024

Ohh I understand. I use Theme.AppCompat.Light.DarkActionBar.
So I should make a custom ActionBar and make it stay below the FlowingDrawer as there is no customization option for the FlowingDrawer itself ?

from flowingdrawer.

mxn21 avatar mxn21 commented on August 9, 2024

yes ,you are right . @tudor07

from flowingdrawer.

tudor07 avatar tudor07 commented on August 9, 2024

Ok I understand.
Thank you very much for your time and fast responses.
This issue can be closed then. :)

from flowingdrawer.

usergoodvery avatar usergoodvery commented on August 9, 2024

Hi,
Is it actually a "mistake" to display below the toolbar? In my case that's a requirement.

regards,

from flowingdrawer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.