From 0f7031e2959a71f98d0295216c5e64fc6f33b445 Mon Sep 17 00:00:00 2001 From: Tianjie Xu Date: Sun, 22 Jan 2017 18:46:04 -0800 Subject: Restore the max width for recovery background texts Restore the max width to 900px for xxhdpi and 1200px for xxxhdpi Bug: 34541299 Test: Checked width and images passed recovery_manual_test Change-Id: If0fd51f93cfb3f965d4e9e69be5626eba89eb857 --- res-xxhdpi/images/erasing_text.png | Bin 121386 -> 121608 bytes res-xxhdpi/images/error_text.png | Bin 85555 -> 84727 bytes res-xxhdpi/images/installing_security_text.png | Bin 387979 -> 447158 bytes res-xxhdpi/images/installing_text.png | Bin 355503 -> 415889 bytes res-xxhdpi/images/no_command_text.png | Bin 148704 -> 243028 bytes res-xxxhdpi/images/erasing_text.png | Bin 257605 -> 263768 bytes res-xxxhdpi/images/error_text.png | Bin 173381 -> 176936 bytes res-xxxhdpi/images/installing_security_text.png | Bin 620933 -> 610107 bytes res-xxxhdpi/images/installing_text.png | Bin 581822 -> 567834 bytes res-xxxhdpi/images/no_command_text.png | Bin 322613 -> 331159 bytes tools/recovery_l10n/README.md | 3 +++ 11 files changed, 3 insertions(+) diff --git a/res-xxhdpi/images/erasing_text.png b/res-xxhdpi/images/erasing_text.png index 8e8dfc450..86693f435 100644 Binary files a/res-xxhdpi/images/erasing_text.png and b/res-xxhdpi/images/erasing_text.png differ diff --git a/res-xxhdpi/images/error_text.png b/res-xxhdpi/images/error_text.png index 7fd1983d5..9c4bcab95 100644 Binary files a/res-xxhdpi/images/error_text.png and b/res-xxhdpi/images/error_text.png differ diff --git a/res-xxhdpi/images/installing_security_text.png b/res-xxhdpi/images/installing_security_text.png index 9779927ef..f5ec698f8 100644 Binary files a/res-xxhdpi/images/installing_security_text.png and b/res-xxhdpi/images/installing_security_text.png differ diff --git a/res-xxhdpi/images/installing_text.png b/res-xxhdpi/images/installing_text.png index fa488960e..100a5b303 100644 Binary files a/res-xxhdpi/images/installing_text.png and b/res-xxhdpi/images/installing_text.png differ diff --git a/res-xxhdpi/images/no_command_text.png b/res-xxhdpi/images/no_command_text.png index d72a840e9..590030c8b 100644 Binary files a/res-xxhdpi/images/no_command_text.png and b/res-xxhdpi/images/no_command_text.png differ diff --git a/res-xxxhdpi/images/erasing_text.png b/res-xxxhdpi/images/erasing_text.png index 7c198176d..4cf5d76e8 100644 Binary files a/res-xxxhdpi/images/erasing_text.png and b/res-xxxhdpi/images/erasing_text.png differ diff --git a/res-xxxhdpi/images/error_text.png b/res-xxxhdpi/images/error_text.png index 4cd2a8cc4..8dd6f1236 100644 Binary files a/res-xxxhdpi/images/error_text.png and b/res-xxxhdpi/images/error_text.png differ diff --git a/res-xxxhdpi/images/installing_security_text.png b/res-xxxhdpi/images/installing_security_text.png index d84c5d9a9..fa06f3147 100644 Binary files a/res-xxxhdpi/images/installing_security_text.png and b/res-xxxhdpi/images/installing_security_text.png differ diff --git a/res-xxxhdpi/images/installing_text.png b/res-xxxhdpi/images/installing_text.png index ffe1474f9..d0f930160 100644 Binary files a/res-xxxhdpi/images/installing_text.png and b/res-xxxhdpi/images/installing_text.png differ diff --git a/res-xxxhdpi/images/no_command_text.png b/res-xxxhdpi/images/no_command_text.png index f4f13003b..233aec468 100644 Binary files a/res-xxxhdpi/images/no_command_text.png and b/res-xxxhdpi/images/no_command_text.png differ diff --git a/tools/recovery_l10n/README.md b/tools/recovery_l10n/README.md index 1554f6618..e9e85d65f 100644 --- a/tools/recovery_l10n/README.md +++ b/tools/recovery_l10n/README.md @@ -8,6 +8,9 @@ * For example, we can use Nexus 5 to generate the text images under res-xxhdpi. + * We can set up the maximum width of the final png image in res/layout/main.xml + Currently, the image width is 1200px for xxxhdpi, 900px for xxhdpi and + 480px for xhdpi/hdpi/mdpi. * When using the emulator, make sure the NDK version matches the current repository. Otherwise, the app may not work properly. -- cgit v1.2.3