Support lift Appbar when scroll, use CollapsingAppbar on gallery detail for long title
This commit is contained in:
1 parent
2da436189a
commit
545eed98a7
14 files changed
+206
-29
No files matched your search
@@ -88,8 +88,12 @@ public class ContentLayout extends FrameLayout {
|
||||
init(context);
|
||||
}
|
||||
|
||||
protected int getLayout() {
|
||||
return R.layout.widget_content_layout;
|
||||
}
|
||||
|
||||
private void init(Context context) {
|
||||
((Activity) context).getLayoutInflater().inflate(R.layout.widget_content_layout, this);
|
||||
((Activity) context).getLayoutInflater().inflate(getLayout(), this);
|
||||
setClipChildren(false);
|
||||
setClipToPadding(false);
|
||||
|
||||
|
||||
Reference in new issue
Block a user