全屏设置
// 设置全屏
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
// 移除标题栏
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.activity_splash);
白屏问题
<activity
android:name=".SplashActivity"
android:label="xxx"
android:theme="@style/SplashTheme"
>
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
</style>
<style name="SplashTheme" parent="AppTheme">
<item name="windowNoTitle">true</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
</style>
</resources>
github git 在 AS 上的应用 分支开发 Git 在AS上的实践
本地项目和自己的github建立连接。
我的理解是
可以有 本地的主分支master 以及 其他分支 otherlocalbranch1—
也有远程的主分支 origin以及 其他分支 otherremotebranch1—
本地一个新的分支可以通过三种方式
方式一 从remote branchs 中 check out as a new branch
方式二 直接check out本地的分支
方式三 直接new
本地分支的切换 通过 check out
然后查看下方的current branch : xxxx
本地文件进行编辑后 add commit 后 然后 push 到远程仓库
在这个过程中可以创建新的远程分支。类如下图
点击 master->origin : 右侧的部分 可以编辑新的远程分支名称。