Android Tips Directory
001: app removes the name at the top of the interface
Open the src->main->res->values->styles.xml of the
project and change
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
change into
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
002: Change app icon
注:我的图片名字叫做app,所以代码中的app指的是图片的名字。
android:icon="@mipmap/app"
android:roundIcon="@mipmap/app"
两行代码都需要更换,建议保持统一,小写。
app的logo放mipmap文件夹,其余图片放drawable文件夹。
003: ViewBinding technology
Instead of findViewById and butter knife technology, it is safe and efficient, produced by Google.
原博客地址:
https://blog.csdn.net/jklwan/article/details/102767871
https://www.cnblogs.com/ymtianyu/p/13208548.html