forked from Blendman974/faceclaw
[verified] merge upstream c162c8e6 into all-features
This commit is contained in:
commit
5790e98d27
176 files changed
+5311
-2307
No files matched your search
+11
-12
@@ -1,13 +1,12 @@
|
||||
<Page xmlns="http://schemas.nativescript.org/tns.xsd" xmlns:rc="phone-ui" navigatingTo="navigatingTo" loaded="loaded" unloaded="unloaded">
|
||||
<ActionBar>
|
||||
<!-- Custom titleView: app title on the left; the foreground EvenHub
|
||||
app's phone-UI button, connection status and the warning-triangle
|
||||
indicator right-aligned beside the overflow menu. -->
|
||||
<GridLayout columns="auto,*,auto,auto,auto" width="100%" verticalAlignment="center">
|
||||
<!-- Custom titleView: app title on the left; connection status and
|
||||
the warning-triangle indicator right-aligned beside the overflow
|
||||
menu. -->
|
||||
<GridLayout columns="auto,*,auto,auto" width="100%" verticalAlignment="center">
|
||||
<Label col="0" text="Faceclaw" class="action-bar-title" />
|
||||
<Image col="2" src="{{ evenHubPhoneUiIcon }}" tap="{{ onEvenHubPhoneUiTap }}" visibility="{{ evenHubPhoneUiVisibility }}" class="action-bar-app-icon" />
|
||||
<Label col="3" text="{{ connectionStatusLabel }}" tap="{{ onConnectionStatusTap }}" class="action-bar-status" />
|
||||
<Label col="4" text="⚠️" tap="{{ onWarningIconTap }}" visibility="{{ warningIconVisibility }}" class="action-bar-warning" />
|
||||
<Label col="2" text="{{ connectionStatusLabel }}" tap="{{ onConnectionStatusTap }}" class="action-bar-status" />
|
||||
<Label col="3" text="⚠️" tap="{{ onWarningIconTap }}" visibility="{{ warningIconVisibility }}" class="action-bar-warning" />
|
||||
</GridLayout>
|
||||
<ActionItem text="{{ buttonLabel }}" tap="{{ onTap }}" isEnabled="{{ connectItemEnabled }}" visibility="{{ glassesMenuItemsVisibility }}" android.position="popup" />
|
||||
<ActionItem text="Pair glasses" tap="{{ onPairGlassesTap }}" isEnabled="{{ canRun }}" android.position="popup" />
|
||||
@@ -32,8 +31,8 @@
|
||||
visibility="{{ displayPreviewMessageVisibility }}">
|
||||
<Label text="{{ displayPreviewMessage }}" textWrap="true" horizontalAlignment="center" verticalAlignment="center" />
|
||||
</GridLayout>
|
||||
<!-- The controls get the whole star row so the active tab's
|
||||
content can center in the leftover height. -->
|
||||
<!-- The controls get the whole star row so the touchpad can
|
||||
center in the leftover height. -->
|
||||
<GridLayout row="1" rows="*,auto" class="p-20">
|
||||
<rc:remote-controls row="0" visibility="{{ controlsVisibility }}" />
|
||||
<Button row="1" text="Stop recording" tap="{{ onStopRecordingTap }}" visibility="{{ stopRecordingButtonVisibility }}" />
|
||||
@@ -68,7 +67,7 @@
|
||||
</GridLayout>
|
||||
</GridLayout>
|
||||
<!-- Developer BLE-bandwidth indicator: overlays the bottom edge of the
|
||||
page in both orientations, on every tab. -->
|
||||
page in both orientations. -->
|
||||
<Label
|
||||
text="{{ bleBandwidthLabel }}"
|
||||
visibility="{{ bleBandwidthVisibility }}"
|
||||
@@ -112,7 +111,7 @@
|
||||
<!-- Keyboard-input mode: anchored to the bottom of the (keyboard-
|
||||
shrunk) page, so it sits in the space below the mirror and only
|
||||
overlaps the mirror when the open keyboard leaves too little
|
||||
room. The tabbed controls are collapsed while it is up.
|
||||
room. The controls are collapsed while it is up.
|
||||
|
||||
NativeScript has no maxHeight, so the transparent outer grid's
|
||||
fixed height is the cap: it shrinks to the page when the keyboard
|
||||
@@ -182,7 +181,7 @@
|
||||
</ScrollView>
|
||||
</DockLayout>
|
||||
</GridLayout>
|
||||
<!-- Keyboard-input panel (the keyboard button beside the mic button):
|
||||
<!-- Keyboard-input panel (the keyboard button under the mirror):
|
||||
the phone's end of the keyboard dialog on the glasses
|
||||
(ui/shell/keyboard-input.ts). Same placement and collapsing rules
|
||||
as the setting editor above. Enter inserts a newline; the send
|
||||
|
||||
Reference in new issue
Block a user