android-developers
[Arriba] [Todas las Listas]

Re: [android-developers] Fuerza 4k modo de exhibición en Android con pr

To: <android-developers@xxxxxxxxxxxxxxxx>
Subject: Re: [android-developers] Fuerza 4k modo de exhibición en Android con preferedDisplayMode
From: "'Pena Ryan' via Android Developers" <android-developers@xxxxxxxxxxxxxxxx>
Date: Tue, 8 Aug 2017 16:50:53 +0000 (UTC)
Arc-authentication-results: i=2; gmr-mx.google.com; dkim=pass header.i=@yahoo.com header.s=s2048 header.b=X1zWDV5O; spf=pass (google.com: domain of ryan.pena@xxxxxxxxx designates 66.163.187.36 as permitted sender) smtp.mailfrom=ryan.pena@xxxxxxxxx; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=yahoo.com
Arc-authentication-results: i=1; gmr-mx.google.com; dkim=pass header.i=@yahoo.com header.s=s2048 header.b=X1zWDV5O; spf=pass (google.com: domain of ryan.pena@xxxxxxxxx designates 66.163.187.36 as permitted sender) smtp.mailfrom=ryan.pena@xxxxxxxxx; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=yahoo.com
Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:content-length:references :mime-version:subject:message-id:to:reply-to:from:date :arc-authentication-results:arc-message-signature:dkim-signature :arc-authentication-results; bh=GJAfPX6D4KRwY9rYp80M27+IediNrg9I88GRQu1Y8SA=; b=W+pCkPjFvoI1V7NGvQE1EzMgzyScMSDSu7mBU0o3g7Aqx20vFTnsYTvJwGcm84d7Ux bnhEBZ7bE+6pXUej7EhwFUTyjK+VefTiYpgpGZKuvHUSbeL/JwBi6p+WRQCW7Iv2wavJ /Cf5D6k6qd7TgWOnae5DZq/bT7X/LOiC5hydHxyakkmZDbSVSVPPxLqLW+afbOF3uaUO y3dujyCvfQpVzcUDHYnO9RjeD6tMgw5CEDUk5tf4p9RYU8MDllh39X038OnGyxTqenun lEhsc7MYiBogu/Qq6qbDwVIuKIKOX0vJaYqvJ6GWF6IV0/xhsqQ9ojPknpjkP8LYkKMX uGXQ==
Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-length:references:content-transfer-encoding:mime-version :subject:message-id:to:reply-to:from:date:dkim-signature :arc-authentication-results; bh=aFodF/2q1onFw6/0WEQtgC3XE09yRw2qhFRPyZoUXq0=; b=hj+8OGXr/7rCgTVvG3mt59tzP3KrKJA9fqP0rx0gOiTiItbiVc7TsdRgC9KUWz3JRC 6NMjmOmdS6Ha4IbeVA32TEgZb+K8x3eNSzyQDa4U9doBZVbLTCQSvZH0wOlbTzG7a0cr gXJZ2Tm1dF0UXzn3o4kB2a0MLrMCvUgzMOuHdy63uxAJ4pSPj+buXe3F2/jhhMnC6zGk 4ofE4W5YqIW1bxdlRqqGDm8Y39RRY1tqbrJtoHTGLyy1RCxMzBIzlnYHMUcuMObXH+5f 929kfu/2GISB/vi2LiYKyjRUzqrPgZlmyQqP3Wyd4+eNErsDAAv5TLJNJ3d2XaXIout4 e3yg==
Arc-seal: i=2; a=rsa-sha256; t=1502211094; cv=pass; d=google.com; s=arc-20160816; b=od+SmfSmzMNGOG46rNenMM2MLg+ETHpI4ZIg1AtwRDfZbudOe8mBdhkIwrNJP6Piga C+peoVrzXqEFdBSXOmbGEdsoh2isKDoZVJia8pxMpTMgAc7IRSSS8cxIV8zWYCaP61ac Aa2YHLFiMSRfW8NchCU6LRCISvY1rqFDkCAnfsCVD3TzdoFNZSgEjpCGu3BZ0GZYtqaA 47SibJNe6PA+fWDJlhRMGO5tv662kuV+TOHqnm8uAx6hJ01j+MDO7L+9HPgE1UXWWfMj QHcM62Mabn5nFWAGbzS4G3wg0kqxMbuVEb/ZzBDtETEzn3kNzIga9vPdM/Tic3G1Xkps xsKA==
Arc-seal: i=1; a=rsa-sha256; t=1502211058; cv=none; d=google.com; s=arc-20160816; b=NRUPmiz6lYSa5mLfSBPV3RNdJorjhwupn3nsafyoW/btt9fK1GJBxJgC6r4Xyweu4Y LeSIWtG5THyeip0ZnunORQi631CzzZXYe6m8vQsRi1C5WDsW5gEwCeuLlPrnVMZZtEqN +X1F6+VoTo9/6nH8dnId7xkdARGi/EGhoyhfiOId7Hu7LtM3pstyHDg27O9kEUsGsI2Q 2F4Hl/L485UNLfoTzb/nxunN74wMwrr9Li1DzqTLjfDDC7TU6sR2B/CLFFMrTI+UolFo TADzrla5f4OFheJluyiyPkjNU8NLmIpMSXmlz7bo6f0kelnNQO0NofbLEXcmymS0UBss RqBw==
Delivery-date: Tue, 08 Aug 2017 12:51:40 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=date:from:reply-to:to:message-id:subject:mime-version:references :content-length:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=GJAfPX6D4KRwY9rYp80M27+IediNrg9I88GRQu1Y8SA=; b=qgCb5TUu7ueM8shKBQCboVAsuIC77W2Nkww5iELkHOVnoWzmSDNvbQAh+Lmmf11CGc Kwgr40+H5sFJpkyCpzyhI7kDgl8laA9f0pkzLmX5HIqywD5YQaxHgvHJOFDpGGvm5Pyz W4VzTFK23a6nn90VKcrGD+iW0tSOMfirnBa78LH2jLr4lscBvrT0zzvDcc6T2F+OxMa5 Mk3U162xpMCe+bD83pjedarXdETtOB5UasOKN/K3M4swGd3vzVcUOC/kulekH5D8C6ZL JUrxMJXNbi6zjyR9IH5gPTFoCZDWKHty6e/X9rSt8l6eFc2u92GGSUNJN3xHn4jPrniN j79g==
Envelope-to: traductor@xxxxxxxxxxx
List-archive: <https://groups.google.com/group/android-developer>
List-help: <https://groups.google.com/support/>, <mailto:android-developers+help@googlegroups.com>
List-id: <android-developers.googlegroups.com>
List-post: <https://groups.google.com/group/android-developers/post>, <mailto:android-developers@googlegroups.com>
List-subscribe: <https://groups.google.com/group/android-developers/subscribe>, <mailto:android-developers+subscribe@googlegroups.com>
List-unsubscribe: <mailto:googlegroups-manage+364598216046+unsubscribe@googlegroups.com>, <https://groups.google.com/group/android-developers/subscribe>
Mailing-list: list android-developers@xxxxxxxxxxxxxxxx; contact android-developers+owners@xxxxxxxxxxxxxxxx
References: <1697057601.2007494.1502211053411.ref@mail.yahoo.com>
Reply-to: android-developers@xxxxxxxxxxxxxxxx
--------------------------------------------
En *Tue, 8/8/17, *youssef EL *MOUMNI <*youssef.*elmoumni89@*xxxxxxxxx> escribió:

 Sujeto: *Re: [*android-*developers] Fuerza 4*k modo de exhibición en *Android con *preferedDisplayMode
 A: "*Android *Developers" <*android-developers@xxxxxxxxxxxxxxxx>
 Fecha: martes, agosto 8, 2017, 5:45 PM
 
 *Thanks
 para la respuesta Marina. Estoy comprobando los modos, probando en
 un *Xperia *Z5 *Premium, y hay 2 modos: 1080*p y 4*k. Trabajaba bastante bien en *Android *M, pero en el *N actualiza
 es *scaling el teléfono entero *UI a 4*k y la interfaz
 de teléfono entera es *messed arriba. No el *app *UI, pero el teléfono
 entero, no veo la barra de navegación inferior por ejemplo,
 y la barra de estado llena 1/4 de la pantalla con el
 tiempo, red y *wifi iconos. No tengo ninguna idea por qué está
 haciendo que (o incluso si es supuesto para ser haciendo
 aquel).
 
 En martes, 8 agosto
 2017 16:40:06 *UTC+2, Marina *Cuello  escribió:podrías comprobar
 los modos apoyados en el dispositivo, y entonces comprobar el *pixel medida
 en aquellos para seleccionar el más cercano a lo que quieres.
 Marina
 En *Tue,
 *Aug 8, 2017 en 9:49 AM, *youssef EL *MOUMNI <youssef.e...@xxxxxxxxx> escribió:
 *Hi
 todo el mundo,
 estoy intentando forzar 4*k modo de exhibición para apuntar teléfonos con 4*k
 pantallas. Trabajaba bastante bien con *Android *M y tuve
 bonito 4*k apoyo *usingWindowManager.*LayoutParams
 *params
 =
 *getWindow().*getAttributes();
         *params.*preferredDisplayModeId
 =
 2;
         *getWindow().*setAttributes(*para
 *ms);Después de que
 el *Android *N actualizarlo cambiado el *behavior completamente, la interfaz
 entera consigue *scaled manera sobre los límites de pantalla donde
 sólo veo una porción de la pantalla, incluyendo la barra de estado
 y los botones de navegación en el fondo. Para dejar el *app necesito cerrarlo de *Android Estudio.Cualquier
 idea cómo para conseguir el *Android *M
 comportamiento atrás?
 
 
 
 -- 
 
 Recibiste este mensaje porque eres *subscribed al
 *Google Grupos "*Android *Developers" grupo.
 
 A *unsubscribe de este grupo y la parón que recibe *emails
 de él, enviar un *email a *android-*developers+
 unsubscribe@xxxxxxxxxxxxxxxx.
 
 A correo a este grupo, envía *email a *android-*d...@ *googlegroups.*com.
 
 Visita este grupo en *https://grupos.*google.*com/
 Grupo/*android-*developers.
 
 Para ver esta discusión en la visita de web *https://grupos.*google.*com/*d/
 *msgid/*android-*developers/ 4*d4*c833*d-0*aa1-4*b17-9*e60-
 anuncio4*bf6*db9*b16%40*googlegroups. *com.
 
 Para más opciones, visita *https://grupos.*google.*com/*d/
 *optout.
 
 
 
 
 
 
 
 -- 
 
 Recibiste este mensaje porque eres *subscribed al
 *Google Grupos "*Android *Developers" grupo.
 
 A *unsubscribe de este grupo y la parón que recibe *emails
 de él, enviar un *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx.
 
 A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx.
 
 Visita este grupo en *https://grupos.*google.*com/Grupo/*android-*developers.
 
 Para ver esta discusión en la visita de web *https://grupos.*google.*com/*d/*msgid/*android-*developers/0676#uno9*dd-699*d-4687-9*db4-*cf31*d7*cb5#uno1*b%40*googlegroups.*com.
 
 Para más opciones, visita *https://grupos.*google.*com/*d/*optout.
 Bronceado  *Apostol  *Grupari *si *curente *politice *intre *Unire *si *Independenta  *Bucuresti  1979.

-- 
Recibiste este mensaje porque eres *subscribed al *Google Grupos "*Android *Developers" grupo.
A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx.
A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx.
Visita este grupo en *https://grupos.*google.*com/Grupo/*android-*developers.
Para ver esta discusión en la visita de web *https://grupos.*google.*com/*d/*msgid/*android-*developers/1697057601.2007494.#1502211053411%40correo.*yahoo.*com.
Para más opciones, visita *https://grupos.*google.*com/*d/*optout.

--------------------------------------------
On Tue, 8/8/17, youssef EL MOUMNI <youssef.elmoumni89@xxxxxxxxx> wrote:

 Subject: Re: [android-developers] Force 4k display mode on Android with preferedDisplayMode
 To: "Android Developers" <android-developers@xxxxxxxxxxxxxxxx>
 Date: Tuesday, August 8, 2017, 5:45 PM
 
 Thanks for
 the reply Marina. I am checking the modes, testing on an
 Xperia Z5 Premium, and there are 2 modes: 1080p and 4k. It
 was working pretty well on Android M, but on the N update
 it's scaling the whole phone UI to 4k and the whole
 phone interface is messed up. Not the app UI, but the whole
 phone, I don't see the bottom navigation bar for
 example, and the status bar fills 1/4 of the screen with the
 time, network and wifi icons. I have no idea why it's
 doing that (or even if it's supposed to be doing
 that).
 
 On Tuesday, 8 August
 2017 16:40:06 UTC+2, Marina Cuello  wrote:You could check the
 supported modes on the device, and then check the pixel size
 on those to select the one closer to what you want.
 Marina
 On Tue,
 Aug 8, 2017 at 9:49 AM, youssef EL MOUMNI <youssef.e...@xxxxxxxxx> wrote:
 Hi
 everyone,
 I
 am trying to force 4k display mode to target phones with 4k
 screens. It was working pretty well with Android M and I had
 beautiful 4k support usingWindowManager.LayoutParams
 params
 =
 getWindow().getAttributes();
         params.preferredDisplayModeId
 =
 2;
         getWindow().setAttributes(para
 ms);After
 the Android N update it changed the behavior completely, the
 whole interface gets scaled way over the screen limits where
 I only see a portion of the screen, including the status bar
 and the navigation buttons on the bottom. to leave the app I
 need to close it from Android Studio.Any
 idea how to get the Android M behaviour
 back?
 
 
 
 -- 
 
 You received this message because you are subscribed to the
 Google Groups "Android Developers" group.
 
 To unsubscribe from this group and stop receiving emails
 from it, send an email to android-developers+
 unsubscribe@xxxxxxxxxxxxxxxx.
 
 To post to this group, send email to android-d...@ googlegroups.com.
 
 Visit this group at https://groups.google.com/
 group/android-developers.
 
 To view this discussion on the web visit https://groups.google.com/d/
 msgid/android-developers/ 4d4c833d-0aa1-4b17-9e60-
 ad4bf6db9b16%40googlegroups. com.
 
 For more options, visit https://groups.google.com/d/
 optout.
 
 
 
 
 
 
 
 -- 
 
 You received this message because you are subscribed to the
 Google Groups "Android Developers" group.
 
 To unsubscribe from this group and stop receiving emails
 from it, send an email to android-developers+unsubscribe@xxxxxxxxxxxxxxxx.
 
 To post to this group, send email to android-developers@xxxxxxxxxxxxxxxx.
 
 Visit this group at https://groups.google.com/group/android-developers.
 
 To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/0676a9dd-699d-4687-9db4-cf31d7cb5a1b%40googlegroups.com.
 
 For more options, visit https://groups.google.com/d/optout.
 tan  Apostol  Grupari si curente politice intre Unire si Independenta  Bucuresti  1979.

-- 
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to android-developers@xxxxxxxxxxxxxxxx.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/1697057601.2007494.1502211053411%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.

<Anterior por Tema] Tema Actual [Siguiente por Tema>