Skip to content

Instantly share code, notes, and snippets.

@BCsl
Last active May 6, 2016 13:53
Show Gist options
  • Select an option

  • Save BCsl/9c1b2960056e3422a9d418b9ac2f1b1f to your computer and use it in GitHub Desktop.

Select an option

Save BCsl/9c1b2960056e3422a9d418b9ac2f1b1f to your computer and use it in GitHub Desktop.
ClodStar
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:theme="@style/Launcher">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
android:opacity="opaque">
<item>
<shape android:shape="rectangle">
<solid android:color="@color/colorPrimary"/>
</shape>
</item>
<!--toolbar height+statu bar-->
<item android:gravity="bottom" android:top="80dip">
<shape android:shape="rectangle">
<solid android:color="@color/app_bg"/>
</shape>
</item>
</layer-list>
<style name="Launcher" parent="AppTheme">
<item name="android:windowBackground">@drawable/bg_startingwindow</item>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment