我在应用程序中使用了底层表单。我想像这张图片一样创建表单:
如何创建曲线布局?我想在单击绿色圆圈时打开底页。
我已经创建了这个形状:
public class AppConfig extends WebSecurityConfigurerAdapter {
@Override
public void configure(AuthenticationManagerBuilder builder)
throws Exception {
builder.authenticationProvider(new CustomAuthenticationProvider());
}
@Override
protected void configure(HttpSecurity http) throws Exception {
}
}
看起来根本不像:-(
*************************编辑**************
在谷歌搜索之后,我发现了这个link:我扩展了<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<solid android:color="#4f5551" />
<size
android:width="100dp"
android:height="50dp" />
</shape>
</item>
<item
android:bottom="-100dp"
android:left="-2000dp"
android:right="-1300dp"
android:top="48dp">
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#4f5551" />
<size
android:width="100dp"
android:height="500dp" />
</shape>
</item>
</layer-list>
而不是BottomNavigationView
,这是我的布局:
RelativeLayout
如何将这些曲线旋转到布局的顶部而不是内部曲线?