>Hi All,
>
>I have a splash screen which shows up nicely on first run. However, if my
>app has been killed, when it resumes, it doesn¹t show the splash. Rather,
>it shows a slightly mangled version of one on of the activities.
>
>The activity in question has a custom title (see below), but when it's
>being resumed, the custom TypeFace and textSize is lost, the image on the
>left doesn't show and non-title area is just black.

Is it meant to be showing the splash? If not, can I override the image
that is shown or something? It just doesn't look very slick during resume.

>
><?xml version="1.0" encoding="utf-8"?>
><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android";
>           android:orientation="vertical"
>       android:layout_width="fill_parent"
>       android:layout_height="wrap_content">
>        <LinearLayout android:layout_width="fill_parent"
>                   android:layout_height="fill_parent"
>                   android:gravity="center_vertical|center_horizontal"
>                   android:orientation="horizontal"
>                               >
>            <ImageView
>                               android:id="@+id/home_button"
>                               android:layout_width="wrap_content"
>                               android:layout_height="wrap_content"
>                               android:src="@drawable/homeWhite"
>                               android:layout_margin="5dp"
>                               android:padding="4dp"                           
>                               android:scaleType="fitCenter"
>               />
>              <TextView
>                               android:id="@+id/title_text_view"
>                   android:layout_width="wrap_content"
>                   android:layout_height="wrap_content"
>                   android:gravity="center"
>                   android:layout_weight="1"
>                               android:layout_marginTop="3dp"
>                   android:text="Dictionary"
>                               android:textColor="@color/titletextcolor"
>                               android:textSize="22dp"                 
>                               android:paddingRight="30dp"
>                               android:ellipsize="end"
>                               android:singleLine="true"
>                   />
>       </LinearLayout>
></LinearLayout>        
>
>The Splash Activity, which shows fine first time around is defined like
>this:
>
>
>
>[Activity (MainLauncher = true, Theme = "@style/Theme.Splash", NoHistory
>= 
>true)]
>    public class SplashActivity : Activity, ISplashView
>
>


_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to