added splashscreen, removed unwanted image and linked to contribution guide from readme.

This commit is contained in:
Kosh 2017-02-25 14:53:09 +08:00
parent b98bfecb48
commit bb4d367caf
7 changed files with 12 additions and 8 deletions

View File

@ -30,6 +30,8 @@
You love FastHub? You want new features or bug fixes? Please contribute to the project either by creating PR or submitting an issue ticket.
[Contribution Guide](CONTRIBUTE.md)
> **FastHub** contain Ads, but they are disabled by default, you could enable them if you like to support development.
# Copyright Notice

View File

@ -16,7 +16,8 @@
android:theme="@style/AppTheme"
tools:replace="android:allowBackup">
<activity
android:name="com.fastaccess.ui.modules.main.MainView">
android:name="com.fastaccess.ui.modules.main.MainView"
android:theme="@style/SplashTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

View File

@ -1,12 +1,12 @@
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_checked="true">
<shape>
<solid android:color="@color/bluish_primary_dark"/>
<solid android:color="@color/accent"/>
</shape>
</item>
<item>
<bitmap
android:gravity="center"
android:src="@mipmap/ic_launcher"/>
android:gravity="fill_horizontal"
android:src="@drawable/fasthub_splash"/>
</item>
</layer-list>

View File

@ -19,7 +19,7 @@
android:layout_width="match_parent"
android:layout_height="100dp"
android:layout_gravity="center"
android:background="@drawable/header_background"
android:background="?colorPrimaryDark"
android:fitsSystemWindows="true"
android:gravity="center"
android:orientation="vertical"
@ -28,12 +28,13 @@
app:layout_scrollFlags="scroll|enterAlways">
<com.fastaccess.ui.widgets.FontTextView
style="@style/TextAppearance.AppCompat.Title.Inverse"
style="@style/TextAppearance.AppCompat.Title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:text="@string/sign_in_to_github"/>
android:text="@string/sign_in_to_github"
android:textColor="?colorAccent"/>
</LinearLayout>

View File

@ -26,7 +26,7 @@
<style name="SplashTheme" parent="AppTheme.Base">
<item name="colorPrimaryDark">@color/transparent</item>
<!--<item name="android:windowBackground">@drawable/splash_screen_drawable</item>-->
<item name="android:windowBackground">@drawable/splash_screen_drawable</item>
</style>