Android Imitation iOS launcher interface

Source: Internet
Author: User

First part

--------------------------------------------------------------------------------

Problem

As the activity can only be displayed to the foreground when the onresume, so, if the background set for mainactivity, no matter how fast oncreate-onresume speed, will appear a short empty page with the title , That's what we don't want.

Method

just at Androidmanifest.xml for your < Application > plus the Theme property.

<span style= "Font-family:helvetica, Tahoma, Arial, Sans-serif;" ><span style= "line-height:25.2000007629395px;" ><activity      android:name= ". Android.ui.activities.splasha</span></span><span style=" Font-family:helvetica, Tahoma, Arial, Sans-serif; ><span style= "line-height:25.2000007629395px;" >ctivity "      android:theme=" @style/theme.start "      >      <intent-filter>          <action android: Name= "Android.intent.action.MAIN"/>          <category android:name= "Android.intent.category.LAUNCHER"/>      </intent-filter>  </activity>  ----  <style name= "Theme.start" parent= "Android: Theme ">      <item name=" Android:windowbackground "> @drawable/logo</item> <item      name=" Android:windownotitle ">true</item>  </style> </span></span>


Part II

---------------------------------------------------------------------------------

Android splash Screen Implementation

Reprint: Click to open link

Android Imitation iOS launcher interface

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.