diff --git a/CHANGELOG b/CHANGELOG
index 322a8b8a..8825e13a 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -4,6 +4,7 @@
* Navigate and terminal app: App-specific screen size/position setting
* Transcribe app: Scrolling; automatic reconnection; insert newlines
* Notifications: Add notification filters
+* Phone screen preview: Add rotation option; improve landscape layout
## 0.6.5 - 2026-09-04
* Changed context menu gestures: — for system, ●— for app context menu.
diff --git a/app/app.css b/app/app.css
index 1d96f325..faa23972 100644
--- a/app/app.css
+++ b/app/app.css
@@ -201,6 +201,27 @@ Button.-primary {
height: 20;
tint-color: #333333;
}
+/* Landscape uses the full page height and a shared left edge for tabs/pad. */
+.landscape-layout .remote-controls {
+ margin: 0;
+}
+.landscape-layout .controls-tab-bar {
+ margin-bottom: 2;
+}
+.landscape-layout .tab-button {
+ margin-left: 1;
+ margin-right: 1;
+ min-width: 0;
+}
+.landscape-layout .tab-button[col="0"] {
+ margin-left: 0;
+}
+.landscape-layout .tab-icon-button {
+ width: 48;
+}
+.landscape-layout .tab-icon-button[col="4"] {
+ margin-right: 0;
+}
.ns-dark .tab-icon {
tint-color: #cccccc;
}
diff --git a/app/app.ts b/app/app.ts
index b1f9e59b..7a2f44f9 100644
--- a/app/app.ts
+++ b/app/app.ts
@@ -7,9 +7,11 @@ purpose of the file is to pass control to the app’s first module.
import { Application } from '@nativescript/core'
import { registerShareIntentHandler } from './native/share-intents'
import { installNativeUserAgent } from './util/http'
+import { registerPhoneRotation } from './native/phone-rotation'
installNativeUserAgent()
registerShareIntentHandler()
+registerPhoneRotation()
Application.run({ moduleName: 'app-root' })
diff --git a/app/native/phone-rotation.ts b/app/native/phone-rotation.ts
new file mode 100644
index 00000000..652a1fd2
--- /dev/null
+++ b/app/native/phone-rotation.ts
@@ -0,0 +1,30 @@
+import { Application, isAndroid } from "@nativescript/core";
+import { getStringSetting, onSettingsStoreChanged } from "./settings-store";
+
+// Shared with phoneRotationSetting; keep startup independent of the glasses UI.
+const ROTATION_KEY = "phone.rotation";
+
+/** Installed once on the UI thread; also covers navigation and activity recreation. */
+export function registerPhoneRotation(): void {
+ if (!isAndroid) return;
+
+ const apply = (activity = Application.android.foregroundActivity ?? Application.android.startActivity): void => {
+ if (!activity) return;
+ const orientations = android.content.pm.ActivityInfo;
+ const requested = {
+ auto: orientations.SCREEN_ORIENTATION_UNSPECIFIED,
+ portrait: orientations.SCREEN_ORIENTATION_PORTRAIT,
+ landscape: orientations.SCREEN_ORIENTATION_SENSOR_LANDSCAPE,
+ }[getStringSetting(ROTATION_KEY, "auto")] ?? orientations.SCREEN_ORIENTATION_UNSPECIFIED;
+ if (activity.getRequestedOrientation() !== requested) {
+ activity.setRequestedOrientation(requested);
+ }
+ };
+
+ Application.android.on(Application.android.activityCreatedEvent, (args) => apply(args.activity));
+ Application.android.on(Application.android.activityResumedEvent, (args) => apply(args.activity));
+ onSettingsStoreChanged((key) => {
+ if (key === ROTATION_KEY) apply();
+ });
+ apply();
+}
diff --git a/app/phone-ui/main-page.xml b/app/phone-ui/main-page.xml
index 2eb80beb..c10ee6a5 100644
--- a/app/phone-ui/main-page.xml
+++ b/app/phone-ui/main-page.xml
@@ -38,30 +38,31 @@
-
-
-
-
+
+
+
+
+
+
-
-
-
+ visibility="{{ displayPreviewMessageVisibility }}">
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
@@ -34,48 +34,47 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
diff --git a/app/ui/dashboard-settings.ts b/app/ui/dashboard-settings.ts
index 32411b4b..6795d252 100644
--- a/app/ui/dashboard-settings.ts
+++ b/app/ui/dashboard-settings.ts
@@ -285,6 +285,17 @@ export const lockScreenEnabledSetting = new ConfigSettingBoolean({
// Phone display: the phone app's mirror of the glasses screen and the
// controls around it on the main page.
export type PreviewColor = "white" | "green";
+export type PhoneRotation = "auto" | "portrait" | "landscape";
+
+export const phoneRotationSetting = new ConfigSettingEnum({
+ id: "phone-rotation",
+ label: "Rotation",
+ storageKey: "phone.rotation",
+ defaultValue: "auto",
+ values: ["auto", "portrait", "landscape"],
+ formatValue: (value) => ({ auto: "Auto-Rotate", portrait: "Always Portrait", landscape: "Always Landscape" })[value],
+ description: "Automatically rotate with the phone, or keep the phone app in portrait or landscape. Auto-Rotate follows the phone's system rotation preference.",
+});
export const previewColorSetting = new ConfigSettingEnum({
id: "preview-color",
diff --git a/app/ui/dashboard/settings-menus.ts b/app/ui/dashboard/settings-menus.ts
index b609de6e..37ac6c9a 100644
--- a/app/ui/dashboard/settings-menus.ts
+++ b/app/ui/dashboard/settings-menus.ts
@@ -48,6 +48,7 @@ import {
navigateWorkAddressSetting,
openAiApiKeySetting,
previewColorSetting,
+ phoneRotationSetting,
ringConnectionModeSetting,
sonioxApiKeySetting,
enumSettingMenuItem,
@@ -177,6 +178,7 @@ function settingsSections(): SettingsSection[] {
// The phone app's mirror of the glasses screen and its controls
// (app/phone-ui/): all read live by the main page.
items: [
+ enumSettingMenuItem(phoneRotationSetting),
enumSettingMenuItem(previewColorSetting),
toggleSettingMenuItem(mirrorTouchSetting),
],