我想动画视图,如图所示。怎么做?
Click here to see the image
我有以下代码,但如何设置参数当前?
动画如何运作?
当用户将手指移到图标列表上时,用户触摸的当前图标的高度设置为400.
TransitionManager.beginDelayedTransition(layout);
View child = layout.getChildAt(current);
child.setMinimumHeight(400);
其中current的类型为int。
答案 0 :(得分:0)
如果您想要制作动画,不应尝试更改gnatmake main.adb -f -largs --enable-stdcall-fixup
gcc -c main.adb
gcc -c winapi.ads
gnatbind -x main.ali
gnatlink main.ali --enable-stdcall-fixup
Warning: resolving _LoadLibraryA by linking to _LoadLibraryA@4
Use --enable-stdcall-fixup to disable these warnings
Use --disable-stdcall-fixup to disable these fixups
Warning: resolving _GetProcAddress by linking to _GetProcAddress@8
高度,边距或填充。
在焦点上执行缩放动画:
<h5>Categories</h5>
{% for category in site.categories %}
{% assign cat = category[0] %}
<h6><a href="#">{{ cat }}</a></h6>
{% for post in site.categories[cat] %}
<a href="{{ post.url }}">{{ post.title }}</a> <small>{{ post.date }}</small>
{% endfor %}
{% endfor %}
在非聚焦上缩放到正常尺寸:
View