Android NDK开发详解Wear之Watch Face Studio
Device compatibility
Watch faces made using WFS can be downloaded and installed for any Wear OS watch device, regardless of manufacturer, as long as the device targets Wear 3.0 (API level 30) or higher.
Get started
WFS works on both Windows and macOS environments. Here are some of the key ways you can use WFS:
Style editing:
Customize the watch face’s color, background image, font, etc.
Groups and complications:
Group components so that you can control or move those components with a single action. You can handle a complication by shape.
Tag expressions:
Add tags with date, time, battery, step count information, and more.
Figure 1. Watch face design in WFS
Keyboard shortcuts
Use the following keyboard shortcuts to quickly navigate Watch Face Studio (WFS).
Function
Windows
macOS
Context
Note
Menu bar
Preview
Layer
Conditional line
New project Control+N Command+N ✓
Open project Control+O Command+O ✓
Save Control+S Command+S ✓ Available if changes have occurred
Save as Control+Shift+S Command+Shift+S ✓
Close Control+W Command+W ✓ ✓ ✓ ✓ Available on the landing page
Quit Control+Q Command+Q ✓ ✓ ✓ ✓ Available on the landing page
Undo Control+Z Command+Z ✓
Redo Control+Y Command+Y ✓
Cut Control+X Command+X ✓ ✓ ✓ ✓ Available when selecting objects
Copy Control+C Command+C ✓ ✓ ✓ ✓ Available when selecting objects
Paste Control+V Command+V ✓ ✓ ✓ ✓
Duplicate Control+D Command+D ✓ ✓ ✓ Available when selecting objects
Group Control+G Command+G ✓ ✓ ✓ Available when selecting multiple objects
Ungroup Control+Shift+G Command+Shift+G ✓ ✓ ✓ Available when selecting a group
Show or hide layer Control+Shift+H Command+Shift+H ✓ ✓ ✓ Available when selecting layer or object
Run on device F9 F9 ✓
Build F10 F10 ✓
Show pivot Control+P Command+P ✓ ✓
Bring to front Control+Alt+] Command+Option+] ✓ ✓ Available when selecting objects
Bring forward Control+] Command+] ✓ ✓ Available when selecting objects
Send backward Control+[ Command+[ ✓ ✓ Available when selecting objects
Send to back Control+Alt+[ Command+Option+[ ✓ ✓ Available when selecting objects
Align center Control+\ Command+\ ✓
Zoom in Control++ Command++ ✓ Same as mouse wheel up
Zoom out Control+- Command+- ✓ Same as mouse wheel down
Zoom in or out Control+Mouse wheel Command+Mouse wheel ✓ Same as mouse wheel down
Fit in window Control+0 Command+0 ✓
View actual size (100%) Control+1 Command+1 ✓
Horizontal scroll view Shift+Mouse wheel Shift+Mouse wheel ✓ ✓
Lock or unlock Control+Shift+L Command+Shift+L ✓ ✓ Available when selecting layer or object
Multiple select or deselect Shift-click Shift-click ✓
Delete Del Del ✓ ✓
Move Drag Drag ✓ Available when selecting objects
Copy Alt-drag Option-drag ✓ Available when selecting objects
Move vertically or horizontally Shift-drag Shift-drag ✓ Available when selecting objects
Adjust image size proportionally Shift-drag ✓ Available when selecting object's selection handle
Restrict movement to 45 degree angles Shift-drag ✓ Available when selecting with the Hand tool
Move object Arrow key Arrow key ✓ Available when selecting objects
Fast move object Shift+Arrow key Shift+Arrow key ✓ Available when selecting objects. Moves objects by 10 pixels.
Hand tool Spacebar Spacebar ✓ Available in the preview window
Multi-select show or hide pattern Drag Drag ✓ Available when selecting a frame
Move selected show or hide pattern Drag ✓
Left-align Control+Shift+[ Command+Shift+[ ✓ Available when selecting digital clock or text
Center-align Control+Shift+\ Command+Shift+\ ✓
Right-align Control+Shift+] Command+Shift+] ✓
Justify Control+Shift+J Command+Shift+J ✓