zoonooz / simple-view-behavior Goto Github PK
View Code? Open in Web Editor NEWSimple and easy way to deal with CoordinatorLayout Behavior
License: MIT License
Simple and easy way to deal with CoordinatorLayout Behavior
License: MIT License
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" />
It'll be just great if the library could be migrated to androidX.
Hi. Can you add rtl support please?
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!
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.