android-developers
[Arriba] [Todas las Listas]

[android-developers] Re: Impidiendo aplicación redraw en rotación

To: android-developers@xxxxxxxxxxxxxxxx
Subject: [android-developers] Re: Impidiendo aplicación redraw en rotación
From: lbendlin <lutz@xxxxxxxxxx>
Date: Sun, 30 Oct 2011 08:02:41 -0700 (PDT)
Delivery-date: Sun, 30 Oct 2011 11:03:12 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:date:from:reply-to:to:message-id:in-reply-to:references :subject:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=nNZ9x0HjFY50UP7VQjr6QrRHTIwYHTctc3T+AGDTZe8=; b=U1U8znEMypg6d9bYhZoAIunKqW1DUqu5cZ/DGkTVXkSRHm0M/K6nkjKlvSNFnAo0DP BvsA+HpS5QDJX5rG4N4zztf/fIVVsqtTI6p+k60uqi0OhgTT3XyuRY8neGCBOP+ia26T G0ji9WLUlp3Lo4/7KJYl/+fvD4Wc7B9FidDL8=
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <CAA_CB1LRRfuHjVe_b=8hNhbW2WbhZG0AzKBh63DNa56efKz-ig@mail.gmail.com>
List-archive: <http://groups.google.com/group/android-developers?hl=en_US>
List-help: <http://groups.google.com/support/?hl=en_US>, <mailto:android-developers+help@googlegroups.com>
List-id: <android-developers.googlegroups.com>
List-post: <http://groups.google.com/group/android-developers/post?hl=en_US>, <mailto:android-developers@googlegroups.com>
List-subscribe: <http://groups.google.com/group/android-developers/subscribe?hl=en_US>, <mailto:android-developers+subscribe@googlegroups.com>
List-unsubscribe: <http://groups.google.com/group/android-developers/subscribe?hl=en_US>, <mailto:android-developers+unsubscribe@googlegroups.com>
Mailing-list: list android-developers@xxxxxxxxxxxxxxxx; contact android-developers+owners@xxxxxxxxxxxxxxxx
References: <CAA_CB1LRRfuHjVe_b=8hNhbW2WbhZG0AzKBh63DNa56efKz-ig@mail.gmail.com>
Reply-to: android-developers@xxxxxxxxxxxxxxxx
Sender: android-developers@xxxxxxxxxxxxxxxx
Primero, decir el manifestar que quieres manejar rotación tú

<actividad *android:nombre=".*MainScreen" *android:Cadena="@de etiqueta/*app_nombre"
            *android:*configChanges="orientación" 
*android:*launchMode="*singleTask"
            *android:*alwaysRetainTaskState="cierto">...

Entonces manejar la rotación tú (o ignorar él)

@*Override
público *void *onConfigurationChanged(Configuración *newConfig)#punt..}


-- 
Recibiste este mensaje porque eres *subscribed al *Google
Grupos "*Android *Developers" grupo.
A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx
A *unsubscribe de este grupo, envía *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx

Puesto que más opciones, visita este grupo en
*http://grupos.*google.*com/Grupo/*android-*developers?*hl=*en
first, tell the manifest that you want to handle rotation yourself

<activity android:name=".MainScreen" android:label="@string/app_name"
            android:configChanges="orientation" 
android:launchMode="singleTask"
            android:alwaysRetainTaskState="true">...

then handle the rotation yourself (or ignore it)

@Override
public void onConfigurationChanged(Configuration newConfig)
{...}


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
android-developers+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
<Anterior por Tema] Tema Actual [Siguiente por Tema>