Android iOS-like startup interface and android-like ios

Source: Internet
Author: User
Tags blank page

Android iOS-like startup interface and android-like ios

Part 1

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

[Problem]

Because the Activity can only be displayed at the front end when it is in onResume, if you set a background for MainActivity, no matter how fast the onCreate-onResume is, there will be a short blank page with title, this is what we don't want.

[Method]

You only need to add the theme attribute to your <application> In AndroidManifest. xml.

<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 startup screen implementation

Reprinted: Click to open the link


What is the principle of an android-based fake iphone that can mimic the ios interface?

This is simple. sence interfaces can all be made of software, but the difference between functions and control is still very large.
!

Call and dial screen for Android iOS 7

Play.google.com/..ialer7
No thanks.

Related Article

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.