From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 3888D859E5 for ; Mon, 20 Dec 2021 20:22:23 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 2FEA621851 for ; Mon, 20 Dec 2021 20:21:53 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 6AB3C21843 for ; Mon, 20 Dec 2021 20:21:52 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 433CC40600 for ; Mon, 20 Dec 2021 20:21:52 +0100 (CET) Message-ID: Date: Mon, 20 Dec 2021 20:21:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:96.0) Gecko/20100101 Thunderbird/96.0 Content-Language: en-GB To: Proxmox VE development discussion , Aaron Lauterer References: <20211220153839.537253-1-a.lauterer@proxmox.com> From: Thomas Lamprecht In-Reply-To: <20211220153839.537253-1-a.lauterer@proxmox.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SPAM-LEVEL: Spam detection results: 0 AWL 1.876 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment NICE_REPLY_A -3.608 Looks like a legit reply (A) SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pve-devel] [PATCH futter_frontend 1/2] fix android splash screen logo X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2021 19:22:23 -0000 On 20/12/2021 16:38, Aaron Lauterer wrote: > The new splash screen that came with Android 12 has stricter rules > regarding the size and form of the logo in the splash screen [0]. > > We do need to have a drawable that is a square with the logo / icon in > the center. That means the current approach with the png image resulted > in it being scaled to the full width and the circular mask cut if off. > The result was a broken looking splash screen. > > I opted for the stacked variant of the logo and saved it as a vector > drawable in the xml format that android wants. I'd like to have the original svg too, ideally with some (Android SDK) CLI tool to convert it, or at least the steps described required for that. Please also just replace the content of the launch_background.xml drawable. > > [0] https://developer.android.com/guide/topics/ui/splash-screen > > Signed-off-by: Aaron Lauterer > --- > .../main/res/drawable/proxmox_splash_logo.xml | 69 +++++++++++++++++++ > .../app/src/main/res/values-night/styles.xml | 2 +- > android/app/src/main/res/values/styles.xml | 2 +- > 3 files changed, 71 insertions(+), 2 deletions(-) > create mode 100644 android/app/src/main/res/drawable/proxmox_splash_logo.xml >