From 3f805bdb1ea046b6f123e5b3956220f9afa27e00 Mon Sep 17 00:00:00 2001 From: Thomas Weber Date: Tue, 4 Jan 2022 22:28:17 -0600 Subject: [PATCH] Continue improving phrasing --- src/p4/PackagerOptions.svelte | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/p4/PackagerOptions.svelte b/src/p4/PackagerOptions.svelte index 5f10f335..107159cd 100644 --- a/src/p4/PackagerOptions.svelte +++ b/src/p4/PackagerOptions.svelte @@ -779,20 +779,21 @@ Unlike the other environments, Android support is not fully automated. You must manually create an app. This section will try to guide you through the process. -

This section assumes you have complete access to a Windows, macOS, or Linux computer.

+

This section assumes you have full access (including adminstrator/root) to a Windows, macOS, or Linux computer.

+

Parts of this section may be generated by various options selected above.

Install Android Studio

Install Android Studio.

This is quite large and may take a while.

Create a new project

-

Create a new project in Android studio.

+

Create a new project in Android Studio.

@@ -836,7 +837,8 @@ '}' ].join('\n')} -

At this point, you now have a fully functional Android app. However, there are still a few more things you should change.

+

Make sure to leave the first line that says package ...

+

At this point, you have a functional Android app. However, there are still a few more things you should change.

Fixing screen orientation issues

In the sidebar on the left, open app > main > AndroidManifest.xml

@@ -860,7 +862,7 @@

Updating colors

-

If you ran the app now, it would have a purple color scheme, which may not be what you want. This can be changed.

+

Currently the app has a purple color scheme, which may not be what you want. This can be changed.

In the sidebar on the left, open app > main > res > values > color.xml.

You will see these lines:

@@ -870,7 +872,7 @@
                 '    #FF3700B3',
               ].join('\n')}
             
-

Replace those lines with:

+

Replace those lines with: (the following snippet is generated according to your configured background color)

               {[
                 `    #FF${$options.appearance.background.substr(1)}`,
@@ -879,11 +881,11 @@
               ].join('\n')}
             

Do not change the other lines.

-

The above snippet will make the status bar match your app's background color. For advanced users, note that these color codes are a bit unusual in that the "alpha" or "transparency" byte goes first instead of last.

-

Ignore the bits about purple_yyy -- just them as is. While it would be a good idea to these colors, you will be making more work for yourself because you'll have to update some other files to reflect the new names.

+

For advanced users, note that these color codes are a bit unusual in that the "alpha" or "transparency" byte (typically 255 or FF) goes first instead of last.

+

Ignore the bits about purple_yyy; just them as is. It would typically be a good idea to rename these colors, but you will be making more work for yourself because you'll have to update some other files to reflect the new names.

Updating the project

-

It's likely that at some point you will want to update the project without redoing this entire guide. Updating is much simpler:

+

It's likely that at some point you will want to update the project without redoing this entire guide. Updating a project is much simpler:

  1. Open Android Studio and open the project
  2. Delete everything inside the assets folder