GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV Mobile 2024
→
[WM24] Android Is there a way to lock screen orientation via programming?
[WM24] Android Is there a way to lock screen orientation via programming?
Iniciado por Robert, abr., 22 2021 2:48 PM - 1 resposta
Conecte-se…
Robert
#1
Membro registado
105 mensagems
Publicado em abril, 22 2021 - 2:48 PM
I know you can change the screen orientation via SysScreenOrientation, but is there a way to programmatically change the Orientation property of a window?
The setting where if you go to the Describing the window screen > GUI > Orientation = Free | Locked Portrate | Locked Landscape
Thanks!
Denunciar
0
0
Kasia P
#2
Publicado em janeiro, 28 2022 - 12:04 PM
Have you tried editing the manifest? I have managed the orientation of windows this way.
During the generation of the application go to "Advanced configuration"/"Edit manifest" and then modify the screenOrinetation attributes for all activities (windows) you want.
Denunciar
0
0
→ Voltar para WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto