我已经更新了我的android工作室.之后我的Crashlytics产生了问题.是什么问题崩溃?或者我该如何解决这个问题?
这是错误的
API 'variant.getExternalNativeBuildTasks()' is obsolete and has been
replaced with 'variant.getExternalNativeBuildProviders()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-
avoidance.
To determine what is calling variant.getExternalNativeBuildTasks(), use -
Pandroid.debug.obsoleteApi=true on the command line to display a stack
trace.
Affected Modules: app
Run Code Online (Sandbox Code Playgroud) 我正在使用https://github.com/pichillilorenzo/flutter_inappbrowser在我的应用程序中显示 web 视图。网站上的视频正在播放但即使按下全屏按钮也无法全屏显示。
有没有办法在网页视图中全屏显示视频?
我想要一个来自底部的 View 和 Animation 来填充半个屏幕。在那个视图中,我会有很多 ImageButton。我可以从底部到半屏对动画进行编程,但之后我的视图将填满整个屏幕。
我想要的是:
我拥有的:
xml代码:
<android.support.v4.widget.DrawerLayout
android:id="@+id/screen_dashboard" style="@style/drawer"
tools:openDrawer="start">
(...)
<TableLayout
android:id="@+id/hidden_panel"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/white"
android:visibility="gone" >
<TableRow
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageButton
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/app_name"
android:onClick="slideUpDown" />
<ImageButton
android:id="@+id/button2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/app_name"
android:onClick="slideUpDown" />
</TableRow>
</TableLayout>
</android.support.v4.widget.DrawerLayout>
Run Code Online (Sandbox Code Playgroud)
Java代码:
public void slideUpDown(final View view) {
if (!isPanelShown()) {
// Show the panel
Animation bottomUp = AnimationUtils.loadAnimation(this, R.animator.bottom_up);
hiddenPanel.startAnimation(bottomUp);
hiddenPanel.setVisibility(View.VISIBLE);
}
else {
// Hide the Panel
Animation bottomDown = AnimationUtils.loadAnimation(this, R.animator.bottom_down);
hiddenPanel.startAnimation(bottomDown);
hiddenPanel.setVisibility(View.GONE);
}
}
private boolean …
Run Code Online (Sandbox Code Playgroud)