嗨我想删除工具栏的下方阴影,因为我使用了提升属性,目前我的代码是
<android.support.design.widget.CoordinatorLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true">
<android.support.design.widget.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/transparent">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
/>
</android.support.design.widget.AppBarLayout>
<FrameLayout
android:id="@+id/content_frame"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</android.support.design.widget.CoordinatorLayout>
Run Code Online (Sandbox Code Playgroud)
输出是: -
在这里,我不想要下面的阴影,所以我设置
app:elevation="0dp"
Run Code Online (Sandbox Code Playgroud)
到AppBarLayout,然后它删除阴影但HamburgerMenu消失了.新产出如下: -

任何人都可以告诉我如何在不隐藏/消失HamburgerMenu的情况下移除阴影.
在 Android OS 11 中,应用程序面向 SDK 30+。当我们第一次请求位置-前景权限时,我们会得到一个带有三个按钮的权限对话框。
根据文件,操作系统仅授予本次权限。
https://developer.android.com/about/versions/11/privacy/permissions#one-time
当我点击“仅限这一次”时。从用户的角度来看,应该再次询问权限。当我回来的时候。但在实际操作系统中授予权限。为什么会发生这种情况。这是系统行为吗?我需要在应用程序端进行任何更改吗?
谢谢期待。
我正在尝试将.apk转换为jar,因为我使用了以下链接 http://androidorigin.blogspot.in/2011/02/dex-format-to-jar-format.html
但现在我收到了错误.如:-
this cmd is deprecated, use the d2j-dex2jar if possible
dex2jar version: translator-0.0.9.13
dex2jar Health.apk -> Health_dex2jar.jar
. while process file: [Health.apk]
. ROOT cause:
java.io.FileNotFoundException: File 'Health.apk' does not exist
at org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:56)
at org.apache.commons.io.FileUtils.readFileToByteArray(FileUtils.java:40)
at com.googlecode.dex2jar.reader.DexFileReader.readDex(DexFileReader.java:150)
at com.googlecode.dex2jar.v3.Main.doFile(Main.java:63)
at com.googlecode.dex2jar.v3.Main.main(Main.java:86)
Done.
Run Code Online (Sandbox Code Playgroud)
谁能帮我..