Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a74bfbca51 | ||
|
|
a56160c07b | ||
|
|
889c5f614d |
No files matched your search
+1
-1
@@ -280,7 +280,7 @@
|
||||
<div class="install">
|
||||
<div class="install__main">
|
||||
<h2 id="install-title">Install Flexera</h2>
|
||||
<p class="intro">Version <span data-version>1.0.6</span>, for Android 8.0 or newer. It’s free, and there are no ads in it.</p>
|
||||
<p class="intro">Version <span data-version>1.0.7</span>, for Android 8.0 or newer. It’s free, and there are no ads in it.</p>
|
||||
<div class="install__actions">
|
||||
<a class="btn btn--lg" href="https://git.mariosem.es/msemes/Flexera-Launcher-Releases/releases/download/latest/FlexeraLauncher.apk" data-apk><svg class="btn__mark" aria-hidden="true"><use href="#b-android"/></svg>Download the APK</a>
|
||||
<a class="link" href="https://git.mariosem.es/msemes/Flexera-Launcher-Releases/releases">Every release, with its notes</a>
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
'use strict';
|
||||
|
||||
/** The version shown on the page. Change it here after a release. */
|
||||
const VERSION = '1.0.6';
|
||||
const VERSION = '1.0.7';
|
||||
/* The phone is drawn at 390 x 844, one pixel per dp; the numbers below are the app's own. */
|
||||
const W = 390, H = 844;
|
||||
const STATUS_H = 40, NAV_H = 24;
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
# build.gradle reads this and derives the Android version code from it
|
||||
# (major * 10000 + minor * 100 + patch), so the name and the code can never disagree.
|
||||
# flexera/release.ps1 raises it for every release.
|
||||
versionName=1.0.7
|
||||
versionName=1.0.8
|
||||
@@ -352,6 +352,11 @@ public class DeviceProfile {
|
||||
private int homeSideMarginDp;
|
||||
private int homeTopMarginDp;
|
||||
private int homeBottomMarginDp;
|
||||
/**
|
||||
* Flexera Launcher: the grid's own side margin, before the owner's home screen margin
|
||||
* replaces it; the drawer keeps this one (updateAllAppsContainerWidth).
|
||||
*/
|
||||
private int flexeraGridSideMarginPx;
|
||||
/** Flexera Launcher: the top and bottom margins as laid out, after fitting the rows. */
|
||||
public int flexeraTopMarginPx;
|
||||
public int flexeraBottomMarginPx;
|
||||
@@ -699,6 +704,9 @@ public class DeviceProfile {
|
||||
// width and get centered, leaving a visible side gap even at factor 0.
|
||||
desiredWorkspaceHorizontalMarginPx =
|
||||
Math.round(desiredWorkspaceHorizontalMarginPx * workspacePaddingHorizontalFactor);
|
||||
// Flexera Launcher: the grid's own side margin, kept for the drawer
|
||||
// (updateAllAppsContainerWidth) before the owner's takes its place on the home screen.
|
||||
flexeraGridSideMarginPx = desiredWorkspaceHorizontalMarginPx;
|
||||
// Flexera Launcher: the owner's side margins (app.flexera.home.HomeMargins), except
|
||||
// beside a landscape phone's side bar, where the grid keeps none.
|
||||
if (!isVerticalBarLayout()) {
|
||||
@@ -1485,8 +1493,16 @@ public class DeviceProfile {
|
||||
+ allAppsPadding.left + allAppsPadding.right;
|
||||
allAppsLeftRightMargin = Math.max(1, (mDeviceProperties.getAvailableWidthPx() - usedWidth) / 2);
|
||||
} else if (!mIsResponsiveGrid) {
|
||||
// Flexera Launcher: the grid's own side margin, not the owner's home screen one
|
||||
// (app.flexera.home.HomeMargins), scaled as the workspace's is (updateIconSize).
|
||||
// The multiplier below makes ten pixels of drawer padding out of every pixel of
|
||||
// margin, so 24 dp at the sides of the home screen gave the drawer 160 dp on each
|
||||
// side and from about 30 dp the list had no width left: no app rows, only the
|
||||
// wave alphabet, which lies over the list.
|
||||
int sideMarginPx = mIsScalableGrid
|
||||
? (int) (flexeraGridSideMarginPx * cellScaleToFit) : flexeraGridSideMarginPx;
|
||||
allAppsPadding.left = allAppsPadding.right =
|
||||
Math.max(0, desiredWorkspaceHorizontalMarginPx + cellLayoutHorizontalPadding
|
||||
Math.max(0, sideMarginPx + cellLayoutHorizontalPadding
|
||||
- (getAllAppsProfile().getBorderSpacePx().x / 2));
|
||||
}
|
||||
var allAppLeftRightMarginMultiplier = PreferenceCacheExtensionsKt
|
||||
|
||||
Reference in new issue
Block a user