make oobe layout partially scalable
authorLukasz Stanislawski <lukasz.stanislawski@gmail.com>
Tue, 30 Jun 2020 11:41:57 +0000 (13:41 +0200)
committerLukasz Stanislawski <lukasz.stanislawski@gmail.com>
Wed, 1 Jul 2020 11:15:46 +0000 (13:15 +0200)
commit27d8e8fc3d1cfbebd6a457ab6fe536dc982cf8f7
treec2cccb87a1036006793584a81ceb10c6b1bb3f0b
parent9c73431dbac9a5c7b7a4c8b8f7b14f08c5b10b6e
make oobe layout partially scalable

This is 1st stage of making OOBE Layout scalable
across various resolutions. This patch makes ui
scale well across 1280x720 and 1280x800 resolutions.

Supporting other resolutions will require some more work
and will be added later, after deciding which elements
should scale with resolution increase and which not.

This patch also removes some duplicated code and make
future changes easier.

Change-Id: I412af147d66825e2558f81e8b11803267942b0c7
Oobe/Oobe.Common/Layouts/BasePageLayout.cs [new file with mode: 0644]
Oobe/Oobe.Common/Layouts/OneButtonLayout.cs [new file with mode: 0644]
Oobe/Oobe.Common/Layouts/TwoButtonLayout.cs [new file with mode: 0644]
Oobe/Oobe.Language/LanguageStep.cs
Oobe/Oobe.Region/RegionStep.cs
Oobe/Oobe.Terms/Views/TermsView.cs
Oobe/Oobe.Welcome/WelcomeStep.cs
Oobe/Oobe.Wifi/WifiStep.cs
Oobe/Oobe/Views/MainView.cs