Giter VIP home page Giter VIP logo

simple-view-behavior's People

Contributors

zoonooz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simple-view-behavior's Issues

simple-view-behavior/app/src/main/res/layout/activity_profile.xml

in this file,if i change the textview "HI!" by findViewIyId, it's will have a bug.
the image will do not move to the top

java code

      TextView detial_name = (TextView) bottomsheet1.findViewById(R.id.name_detial
https://github.com/zoonooz/simple-view-behavior/issues/ne
![Uploading Screenshot_2016-05-20-18-13-44.png…]()
![Uploading Screenshot_2016-05-20-18-13-47.png…]()

w);
//        Picasso.with(getApplicationContext())
//                .load("http://192.168.1.106/enterprise/Public/" + detialInfo.getData().getTutor_profile())
//                .into(circleImageView);
        detial_name.setText("2323");

res code



 <de.hdodenhof.circleimageview.CircleImageView
        android:layout_width="120dp"
        android:layout_height="120dp"
        android:layout_gravity="center|top"
        android:layout_marginTop="50dp"
        android:elevation="10dp"
        android:src="@drawable/bigmercu"
        app:civ_border_color="#ffffff"
        app:civ_border_width="2dp"
        app:dependTargetY="-176dp"
        app:dependType="y"
        app:dependsOn="@+id/app_barA"
        app:layout_behavior="com.zoonref.SimpleViewBehavior"
        app:targetHeight="40dp"
        app:targetWidth="40dp"
        app:targetX="16dp"
        app:targetY="8dp"
        android:id="@+id/detialTouxiang" />

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="?attr/actionBarSize"
        android:layout_marginLeft="72dp"
        android:layout_marginTop="-100dp"
        android:alpha="0"
        android:elevation="10dp"
        android:gravity="center_vertical"
        android:id="@+id/name_detial"
        android:text="吴老师"
        android:textColor="@android:color/white"
        android:textSize="18dp"
        app:dependTargetY="-206dp"
        app:dependType="y"
        app:dependsOn="@+id/app_barA"
        app:layout_behavior="com.zoonref.SimpleViewBehavior"
        app:targetAlpha="1"
        app:targetY="0dp" />

Simple view behavior with NavigationDrawer

Hi!

I'm trying to do exactly the same effect as in your ProfileActivity, in my "HomeFragment".
The problem is, this fragment is already in my MainActivity, witch contains the toolbar, where there is a NavigationDrawer.
Do you know how I can proceed so the animation can work , and the picture and the name will be on the right of the navigationDrawer?

Thank you!

Automatically retracted or fully expanded

For example, the widget moves to half the distance. Loosen your hand. It doesn't move. I want him to keep on moving. Automatically retracted or fully expanded. What should I do?

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.