腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(6892)
视频
沙龙
1
回答
ConstraintLayout
AutoTransition
动画
不
工作
android
、
android-animation
、
android-constraintlayout
我正在尝试设置约束变化的
动画
。我的布局是: <androidx.
constraintlayout
.widget.
ConstraintLayout
} val transition =
AutoTransition
workspa
浏览 11
提问于2020-10-15
得票数 0
2
回答
如何指定TransitionManager.beginDelayedTransition仅影响直接子视图
android
、
android-recyclerview
、
android-transitions
我试图使用一个
ConstraintLayout
与幻灯片与
动画
的视图一起使用。由于这是在RecyclerView内部引起的问题,所以没有
动画
就可以了,因此我想知道如何在TransitionManager.beginDelayedTransition中指定只
动画
ConstraintLayout
final ConstraintSet constraintSet; constra
浏览 1
提问于2018-05-21
得票数 5
回答已采纳
1
回答
如何在constrainlayout中显示软键盘时灵活隐藏/显示视图
android
、
authentication
、
android-softkeyboard
tools" android:layout_height="match_parent"> app:layout_constraintVertical_bias="0.3&qu
浏览 18
提问于2019-10-09
得票数 0
1
回答
ConstraintLayout
ConstraintSet立即应用而不是
动画
android
、
android-animation
、
android-constraintlayout
我有以下布局: app:layout_constraintTop_toBottomOf="@id/topLayout" /> <androidx.
constraintlayou
浏览 2
提问于2020-01-03
得票数 0
回答已采纳
1
回答
“回收器视图”中的约束设置
动画
未正确
动画
android
、
animation
、
android-constraintlayout
、
constraintset
要将它们
动画
化(展开/折叠),我使用约束集
动画
。打开的
动画
在所有项目上运行良好。关闭
动画
也运行良好,但当关闭
动画
开始于项时,不是最后一个项目,而是在
动画
开始时,而不是在
动画
结束时,所有项目都会跳起。:
ConstraintLayout
) { constraintToApply.
浏览 1
提问于2019-03-06
得票数 7
1
回答
下面的Android TransitionManager视图不是
动画
android
、
transition
、
android-cardview
我喜欢cardView在顶部的
动画
,但下面的视图并不是
动画
,只是在适当的位置。我怎么能以一种没有重叠的方式给他们
动画
呢?这不是recyclerView,这些是单独的cardViews。muell_extend.getVisibility() == View.GONE){ } else {
浏览 1
提问于2020-04-27
得票数 0
回答已采纳
1
回答
使用过渡框架的延迟
动画
android
、
android-transitions
我想用
AutoTransition
来使一个LinearLayout出现/消失。
动画
完全按照预期
工作
,只是没有延迟。TransitionManager.beginDelayedTransition(rootViewGroup, new
AutoTransition
().setStartDelay(1000)); linearLayout.setVisibility
浏览 7
提问于2017-07-28
得票数 3
1
回答
如何以编程方式激发带有MotionLayout的
动画
?
android
我有一个MotionLayout,它引用了MotionScene,当一个事件"OnClick“在视图上发生时,我会触发
动画
”转换“,但是我想立即启动
动画
,我的活动开始了,我如何实现呢?片段布局 app:layou
浏览 3
提问于2019-12-23
得票数 1
6
回答
使用RecyclerView时出错:指定的子项已有父项
android
、
listview
、
android-recyclerview
我正在尝试使用新的RecyvlerView适配器创建listView。我遵循了android开发人员资源上提供的确切指南。但是这给了我一个奇怪的错误:指定的子对象已经有了父对象。你必须先在孩子的父母上调用removeView()。我有最新的SDK。我还在gradle中定义了依赖项。public class MyActivity extends Activity { private RecyclerView.Adapter mAdapter; private
浏览 81
提问于2014-10-28
得票数 56
回答已采纳
2
回答
当用户触摸时,如何在回收器视图中缩放项目?
android
、
android-recyclerview
、
android-animation
我正在开发一个应用程序,其中应该有一个垂直的回收视图,其中的项目将被用户触摸时放大,当用户释放它们时减少。 在我的研究中,我还没有找到构建它的方法。最类似于我寻找的是Facebook的反应,如下面的GIF所示。 ? 我该怎么做呢?提前感谢
浏览 21
提问于2019-08-30
得票数 1
1
回答
ConstraintLayout
AHBottomNavigation
动画
问题
java
、
android
、
kotlin
、
android-constraintlayout
我有一个
ConstraintLayout
,底部有一个导航。在某些情况下,我需要用
ConstraintLayout
动画
隐藏底部导航。XML布局文件: android:id="@+id/lMainConstraint"wrap_content" app:layout_constraintBottom_toBottomOf="parent&quo
浏览 1
提问于2019-01-16
得票数 0
回答已采纳
3
回答
如何在MotionLayout中运行特定的转换?
android
、
animation
、
android-constraintlayout
、
androidx
、
android-motionlayout
motion_layout.setTransition(R.id.set1) motion_layout.transitionToState(R.id.set1) motion_layout.setProgress(0.25f, 1.0f)motion_layout.progress = 0.25f
浏览 0
提问于2020-06-16
得票数 12
回答已采纳
1
回答
Android
动画
约束布局
android
、
android-animation
、
android-constraintlayout
我知道
动画
只在
ConstraintLayout
的直接子程序上
工作
,所以这是我的布局: btn.text = "switch: $switch&qu
浏览 2
提问于2018-05-22
得票数 6
1
回答
平滑
动画
BottomSheet窥视高度
android
、
animation
、
android-animation
、
bottom-sheet
我试图
动画
的高度的BottomSheet在layoutChange上,但我无法得到任何
工作
。我试过几次没有运气的教程。 android:layout_height="wrap_content"&
浏览 4
提问于2021-11-08
得票数 1
1
回答
Android MotionLayout
autoTransition
不在beta7中
工作
android
、
xml
、
android-layout
、
android-animation
、
android-motionlayout
当我的片段被显示时,我想自动启动
动画
。我已经将
autoTransition
属性设置为animateToEnd,但什么也没有发生。我现在在
constraintLayout
beta7。当降级到beta6或更低时,除了
动画
在片段进入屏幕时完成之外,什么也不会发生。之后,OnTransitionEnd被调用,我的TextView立即可见,没有
动画
。<?/start" motion:duration="1000&quo
浏览 4
提问于2020-06-25
得票数 5
1
回答
在Android应用程序中改变
动画
的速度
android
、
android-animation
、
android-constraintlayout
我需要修改
动画
的速度,对我的应用程序中的一些事件做出反应。为了解决这个问题,我制作了一个小型演示应用程序。我希望有人能给我一些关于如何改变代码以得到我想要的东西的指导。class MainActivity : AppCompatActivity() { val
autoTransition
=
AutoTransition
()
autoTransition</em
浏览 7
提问于2022-05-17
得票数 0
2
回答
如何链接MotionLayout
动画
android-constraintlayout
、
android-transitions
、
android-motionlayout
所以基本上,我必须“链接”2个
动画
。我的问题是:我如何仅使用1个转换就能做到这一点? 我使用doOnEnd() ktx函数,使用Transition.TransitionListener实现了它。它
工作
得很好,但是代码可能很复杂,因为我还计划删除onDestroy()中的侦听器,以防止内存泄漏。 以下是默认的布局: <?xml version="1.0" encoding="utf-8"?> 这是第一个
动画
的结果: <?> 这是第二个
动画
的结果: <?c
浏览 29
提问于2019-09-04
得票数 2
1
回答
我的闪屏不显示
动画
,没有打开下一个屏幕就停止(片段)
android
、
kotlin
、
animation
、
splash-screen
、
android-fragmentactivity
我首先创建了我的入职片段,然后创建了我的
动画
启动screen.However,当我运行我的应用程序时,我的启动屏幕没有显示
动画
,并且没有打开下一个片段就停止了''' motion:constraintSetStart="@id/start" motion:
autoTra
浏览 31
提问于2021-11-28
得票数 0
6
回答
AutoTransition
不能在运动布局中
工作
android
、
android-motionlayout
onClick和onSwipe属性在设备上
工作
得很好,但是当我在设备上运行应用程序时,如果使用
autotransition
= animateToEnd,什么都不会发生。> a
浏览 0
提问于2020-06-17
得票数 2
1
回答
Android共享元素转换,错误的起始位置
android
、
android-animation
、
android-transitions
FragmentManager fm = getChildFragmentManager();
autoTransition
.setDuration(3000); fm.beginT
浏览 0
提问于2015-10-27
得票数 7
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Android性能优化来龙去脉总结
动作编辑器实时布局,布局实时验证,AndroidStudio 4可更新
Android Studio 4.0发布:全新的 Motion 编辑器及众多更新
Android框架搭建1-架构选型
最强动画师辅助!NVIDIA深度学习技术直接从音频生成面部动画!
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券