我正在Android Studio中创建具有依赖项的项目.我知道如何通过添加模块来链接项目.
但我意识到"导入模块"会在项目中创建libProject的副本.
有办法防止这种情况吗?像'外部模块'?
由于我负责这两个项目,我希望能够将更改推送到libProject Repo,而无需在文件夹之间复制粘贴文件.
谢谢
我已android:animateLayoutChanges到true了我LinearLayout:
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="top"
android:animateLayoutChanges="true">
</LinearLayout>
Run Code Online (Sandbox Code Playgroud)
然后,我运行以下操作来动画元素的消失.
TextView line;
...
line.setVisibility(View.GONE);
Run Code Online (Sandbox Code Playgroud)
我怎么知道动画何时结束?