字幕组成品列表(Beta)
  • 写在前面
  • Android 平台
    • Game On! 游戏开发系列 - 031
      • Pie Noon - 1503060393
      • The Death of Base Game Activity - 1504030543
      • Surviving OpenGL Context Loss - 1504030546
      • WebP for Game Devs - 1504030547
      • Saved Games In-Depth (Part 1) - 1504070556
      • Saved Games In-Depth (Part 2) - 1504030548
      • Smaller Flipbook Textures with CRABBY - 1504030544
      • Google Tag Manager - 1504030545
      • Flatbuffers - 1505050794
      • Achievement Point Pointers - 1505050796
      • Frequency Scaling - 1505050797
      • Meet the Management APIs - 1501140367
      • Y U Ship Broken Games - 1505050795
    • Android 性能优化 - 088
      • Garbage Collection in Android - 1503170425
      • Performance Cost of Memory Leaks - 1503170424
      • Rendering Performance 101 - 1501130351
      • Understanding Overdraw - 1501130352
      • Understanding VSYNC - 1501130353
      • Tool - Profile GPU Rendering - 1501130354
      • Why 60fps? - 1501130355
      • Android UI and the GPU - 1501130356
      • Invalidations, Layouts, and Performance - 1501130357
      • Overdraw, Cliprect, QuickReject - 1501130358
      • Tool - Memory Monitor - 1501130363
      • Battery Performance 101 - 1501130364
      • Understanding Battery Drain on Android - 1501130365
      • Battery Drain and WakeLocks - 1501130366
      • Memory Performance 101 - 1504170661
    • I/O 2014 Android 开发专题 - 089
      • Activity Transitions - 1504020505
      • Building Apps For Android TV - 1504020520
      • Building great Android media experiences - 1504020510
      • Building a quality app from start to finish - 1504020515
      • App Indexing API - 1504020507
      • What's new in WebView - 1504010484
      • Bluetooth Low Energy - 1504010486
      • Building impressive Android media experiences - 1504010493
      • The next Generation of Authentication - 1504020497
      • Don't Alpha That Pixel! - 1504020523
      • NFC + HCE Your phone in an interactive world - 1504020509
      • Demystifying encodes and decodes of WebM - 1504020521
      • Google Cloud Messaging - 1504020524
      • Getting your Game on the Big Screen - 1504020518
      • I hear you like realtime memes - 1504020511
      • Offerize your App - 1504020506
      • Using the Android Job Scheduler - 1504020504
      • From Holo to Material - 1504020526
      • Under the Hood of Android Auto - 1504020501
      • Isolation for Android App Developers - 1504020498
      • Android Work - 1504010496
      • ExoPlayer: Adaptive video streaming on Android - 1504010489
      • Sample rates and resampling: Why can't we all just agree? - 1504010488
      • Drive Android API - 1504010485
    • Android Studio - 004
      • Layout Editor (Ep 3, Android Studio) - 1503290479
      • Introducing Gradle (Ep 2, Android Studio) - 1503170426
    • I/O 2014 Android 分发主题 - 091
      • Introduction to Google Play - 1504030534
      • Google Play: building your user community - 1504030535
      • Optimizing Apps for Education - 1504030536
      • Succeeding in Education Technology - 1504030530
      • Subscriptions Made Easy with Google Play - 1504030531
      • The world is your playground - go global with Google - 1504030533
      • Maximizing discoverability on Google Play - 1504030538
    • Android Auto - 003
      • Introduction to Android Auto - 1504130615
      • Android Auto Messaging - 1504130617
      • Android Auto Audio - 1504130616
    • Android Wear - 006
      • Designing for Android Wear - 1503210448
      • How We Customized Google Apps for Android Wear - 1503210450
      • Fullscreen apps for Android Wear - 1503210445
      • New Notification Features for Android Wear - 1503210446
      • Building Cloud-powered wearable Apps - 1503210449
      • An Introduction to Android Wear - 1503190435
      • Google I/O 2014 - Android Wear: The developer's perspective - 1503210442
      • Devoxx 2014 Interviews: Android Wear - 1503210440
      • DevBytes: Watch Faces for Android Wear - 1503210439
    • Android TV - 005
      • Using the Leanback library - 1504080588
      • Beach Buggy Racing Multiplayer with Nearby Connections (Play Services) - 1503060387
    • Android for Work - 106
      • Android for Work for Developers - 1503060390
      • App Configurations, Testing and Launchers - 1504110590
    • IO Bytes 2014 - Android - 066
      • Chrome Apps on Android and iOS - 1501080014
      • Perf Primer CPU, GPU and your Android game - 1501080017
  • Chrome 平台
    • IO Bytes 2014 - Chrome and Web - 067
      • Using the PageSpeed API - 1505070815
      • Fabulous Forms for the multi-device web - 1505070816
      • Testing multi-screen web pages - 1505070817
      • Responsive images today - 1505070819
      • Web Performance Testing at YouTube - 1505070828
      • Building sites for the multi-device web - 1505070820
      • Deep dive: Google Cloud Messaging for Chrome - 1505070827
  • Google 创业者资源
    • Coffee with a Googler - 012
      • Chat with Allen Huang of AndroidTV - 1503040384
      • Chat with Fred Chung about developer advocacy - 1503070395
      • Google Fit platform with Michelle Haq - 1503210443
      • Android Auto Product Manager Andrew Brenner - 1501120027
      • Chat with Francis Ma about Google Play services - 1501120028
    • Root Access For Startups - 077
      • What we learned building plug-ins for Android, with startup Magnet - 1503230453
      • How to use crowdfunding to your advantage, with startup Hale Devices - 1503280462
      • How to overcome customer objections when selling tech, with startup Guesswork - 1503280458
    • First Things First - 029
      • Getting started with Android: A crash-course in developing for Android - 1504120601
      • How to ask a question: conducting research for your startup - 1504120603
      • MVP Design Hacks: transform your hot idea into a validated prototype - 1504120602
      • Build something people want: Solving real problems - 1504120605
    • How I - 061
      • Use BigQuery to find my most valuable customers - 1504070573
      • Manage beta testing communities using Google Play - 1504070572
      • Use paper wireframing to build native prototypes - 1504070570
      • Used social media and $0 marketing to get 68 million users - 1504070568
      • Prep to fundraise with four questions - 1504070564
      • Validated my idea in 2 days (with no code) - 1504070562
      • Build open platforms on Android - 1504120596
      • Get cheap, automatic analytics for my business using BigQuery - 1504070571
      • Write press releases to get international media coverage - 1504070569
      • Test beta-product features using Google Apps - 1504070563
      • Use URL builder to measure ROI on social media - 1504070561
      • Use events to build DeadSocial's brand - 1504070557
      • Use BigQuery to visualize streaming data - 1503220452
      • Find, screen, and hire developers - 1503120406
      • Drive engagement with social challenges - 1504070558
  • 设计
    • DesignBytes - 017
      • Paper and Ink: The Materials that Matter - 1505050793
  • 云计算
    • DevBytes: Google Cloud Platform - 021
      • Powering the next killer app with the Google Cloud Platform - 1504210672
      • Introduction to Google Cloud Endpoints - 1504210675
      • The Beauty of Scale with Google Cloud Platform - 1504210678
    • Google Cloud Platform - Big Data - 105
      • GDELT & BigQuery: Understand the world - 1502200379
    • Uncategorized - 999
      • Introducing Google Cloud Platform Resources - 1501190370
  • Google 应用开发
    • Launchpad Online - 072
      • The Setup: Creating new apps using Google APIs - 1503190428
      • Listing your files in Google Drive - 1503190429
      • Customizing Google Analytics for your startup - 1503290473
      • The Launchpad Online series - 1503190427
      • Getting started with Google Analytics - 1503290472
      • Accessing Google Maps from a spreadsheet?!? - 1502220381
      • Change the world in 10 lines of code - 1503080398
    • Google Play Services - 054
      • Google Play services 6.1 - 1503290481
      • Google Play Services 7.0 - 1503200437
      • Google Play Services 6.5 - 1501080015
    • 谷歌地图 iOS SDK - 053
      • Maps Live: New Features in the Google Maps Mobile APIs for Android and iOS - 1504300777
    • Google 移动搜索开发 - 055
      • Is your app in the Google index? - 1504120598
      • Get more engaged users with Google Search for Developers - 1503070397
    • DevBytes: Google Cast - 020
      • Google Cast SDK for Android - 1504180666
      • Media Router Framework - Part 1 - Media Router API - 1504180667
      • Overview for Google Cast Receivers - 1504180664
      • Google Cast SDK for iOS - 1504180663
    • Getting Started with the Google Maps SDK for iOS - 035
      • Getting started with the Google Maps SDK for iOS, Part 1 - 1504270757
    • IO Bytes 2014 - Wearables - 070
      • Voice Driven GDK Glassware - 1505280836
    • Route 85 - 078
      • Introducing Route 85 - 1501120022
      • Quick Tip: Don't Default that Switch! - 1501190371
      • OpenInChrome on iOS, Part 1 - 1501120023
      • OpenInChrome on iOS, Part 2 - 1501120024
      • OpenInChrome on iOS, Part 3 - 1501120025
      • OpenInChrome on iOS, Part 4 - 1501120026
    • DevBytes 2014 - 019
      • Web Components - Template - 1505040789
      • Wearable DataLayer API - 1505050792
      • Using srcset for responsive images - 1505050790
      • The picture element for art direction - 1505050791
    • Uncategorized - 999
      • Sun Surveyor brings augmented reality to photographers using Google Maps APIs - 1504200668
      • Snappy travels with the Roads API - 1503060392
      • Easy Maps Apps in Java and Python - 1501140030
  • Google 广告平台
  • Polymer
    • Polycasts - 076
      • The Awesome Power of Auto-Binding Templates -- Polycasts #08 - 1502220382
      • Content Switcheroo with Core-Pages -- Polycasts #09 - 1502200380
      • Core Iconset -- Polycasts #02 - 1505040788
  • Web 平台
    • HTTP 203 - 062
      • Gotchas - 1501140368
      • Font Rendering - 1501080016
    • Web Components - 081
      • DevBytes: Web Components - Overview - 1504250709
  • 宣传视频
    • Uncategorized - 999
      • Google Developers - 1501150369
      • I/O Extended 2014 - Join me - 1502220383
  • Google 各类开发者会议
    • 2014 Chrome 开发者高峰会议 - 009
      • Keynote - Chrome Dev Summit 2014 (Darin Fisher) - 1503120407
      • TLS All the Things! - Security with Performance(Chris Palmer) - 1503140412
      • Let’s build some apps with Polymer!(Rob Dodson) - 1503150415
      • Day One Closing Remarks(Sundar Pichai) - 1503150417
      • Chrome Leadership panel - 1503160422
      • Fundamentals of Mobile Web Development(Matt Gaunt) - 1503150416
    • 2015 游戏开发者大会中 - 039
      • FlatBuffers - 1504150640
      • Games for Google Cast - 1504150637
      • Top 10 Things Android Game Developers Should Know v 3.0 - 1504150643
      • Automate Publishing for Google Play APIs - 1504150639
      • 3 Game Design Mistakes You're Making - 1504150636
      • Android TV - 1504150638
      • How to Go Viral Without Really Trying - 1504150641
    • Devoxx 2014 Interviews - 024
      • What's new in Android 5.0 Lollipop - 1504260740
      • Android Tools - 1504260743
      • BigQuery and user-defined functions - 1504260744
    • IO Bytes 2014 - 065
      • Dart in Google Cloud - 1505070810
      • Big genomic data on Google Cloud Platform - 1505070811
      • Easy International Checkout with Chrome - 1505070802
      • Google developer tools and APIs for iOS - 1503190436
      • Whet your appetite with IO Bytes - 1501080021
    • PlayTime@Shanghai - 095
      • 主题演讲 Chris Yerga - 1504060549
      • 如何成功地开发你的应用 Ellie Powers - 1504060550
      • 在Google上营利 Brahim Elbouchikhi - 1504060551
      • Playtime Shanghai event sizzle reel - 1504070552
    • Project Google I/O 2015 - 098
      • Project Tango Mobile 3D tracking and perception - 1506120857
      • Democratizing Education - 1506120868
      • Improve your Android app’s accessibility - 1506120864
      • Google Cloud Messaging 3.0 - 1506120844
      • Developers connecting the world through Google Play - 1506120862
  • 开源开放技术
    • Compressor Head - 013
      • The Trailer, Season 2 - 1503060385
      • Behind the Scenes - 1503210441
      • Arithmetic Compression (Ep 5, Compressor Head) Google - 1503070394
      • Introducing Compressor Head - 1502120372
      • Episode 1 (Variable Length Codes) - 1502120373
      • Episode 2 (The LZ77 Compression Family) - 1502120374
      • Episode 3 (Markov Chain Compression) - 1502120375
Powered by GitBook
On this page
  • 译者信息
  • 解说词中文版:

Was this helpful?

  1. Android 平台
  2. Android Wear - 006

DevBytes: Watch Faces for Android Wear - 1503210439

PreviousDevoxx 2014 Interviews: Android Wear - 1503210440NextAndroid TV - 005

Last updated 5 years ago

Was this helpful?

视频发布时间

2014年12月10日

视频介绍

In this DevByte, Timothy Jordan introduces the Watch Face API for Android Wear. Watch faces give developers the opportunity to customize the most prominent UI feature of Android wearables. The API is simple enough for rapid development and flexible enough to build something awesome.

视频推介语

暂无,待补充。

译者信息

翻译

润稿

终审

原始链接

中文字幕

翻译流水号

加入字幕组

方杰

吴雅婷

——

1503210439

解说词中文版:

早上好 同学们

好 现在静下来 静下来

我们今天上的是钟表课 讲讲便携式计时器

这个超赞的发明可以追溯到

16世纪 它在当时起着报时

方式与时尚符号的作用

随着时代的发展 哈 旅行钟变得更

轻便 功能更多样 种类更丰富

使现代手表成为最有用

最私人的穿戴设备之一

然而 任何手表表身之外的东西

像数字 时针 和分针

都被钟表匠们称作造成复杂化的因素。

也就是说 至今 制作出除了报时之外

还有其它用途的个性手表表盘

不仅仅是一门单一的艺术

这显然是很复杂的

但现在的手表有用户界面和屏幕 没有

钟面和指针了

这也使得每天改变手表的外观

来搭配你的服装变得简单

大家好 我是Timothy Jordan

今天的节目将会介绍Android Wear手表表盘的API

快速创建一个手表表盘非常简单

也非常灵活 允许个性化

更妙的是 它使得为用户提供

有用的信息或者信息综合体不再复杂

现在我门首先快速地看下API

因为它超级简单

要创建一个手表表盘 你只需要

拓展CanvasWatchFaceService和它的引擎

你可以加载和缩放任何你可能需要

的画板 并用onCreate方式设置手表表盘的样式

这包括控制Peek卡片模式的变量

“OK Google”指令和状态栏图标等

都置于其中

然后你可以用onDraw方式绘制手表的表盘

确保绘制适应交互模式的完整颜色和动作

版本 在Ambient模式中你被限制

在一分钟之内用一个颜色版本

现在 有更多的一些实施细节

需要我们去处理 像监听Ambient模式

和处理时间的更新

但是一旦处理了这些细节

你就可以真正的在画布上绘制 超级简单 是吗?

现在我们来讲一个有趣的部分 设计和绘制你的手表表盘

这里最重要的事情就是

快速报时是很容易的

记住 手表表盘 最关键的特色就是报时

最重要的事 你会想要

考虑到系统条目 如状态栏 通知栏

卡片 当然 和任何你将呈现给用户

的附加数据 比如日期

当天的天气 他们下一个日期的

约会 或者当天的活动安排表

现在这里有一些指导 这些指导

通过设置正确的上下文来做设计决定

首先 它应该在方形和圆形设备上都能很好地运作

在你创建两个完全不同的设计之前

考虑你的设计理念如何能足够灵活地

运用在这两种屏幕形状上 几乎或者完全不需要调整

现在 如果情况必须改变的话 确保使用共同的设计语言

共同的色系 线条厚度 以及阴影

可以使你在不同设备之间的设计保持一致的精神

即使存在主要的不同之处

现在 许多设计理念将自然地

采用指针式钟表的形状 因此看起来是圆的

在这种情况下 别忘了这些

看起来像从方形手表上去除的四角

要将你的设计延伸到这些负空间

Android Wear手表的运作有两种主要的模式 Interactive

和Ambient

Interactive模式是全彩的 动态的 带有流体动画

当用户全神贯注于他们的手表时

尤为如此

Ambient模式的调色板色彩有限

每分钟只更新一次

现在 一定要考虑特殊的屏幕

在低分辨率的屏幕上 Ambient模式下的像素

要么暗要么亮 这就意味着你只

能使用无抗锯齿的黑色和白色部分

你也会想在OLED屏幕上使用

热测试剔除法的保护技术 比如 避免大量的透明像素

实际上 我们推荐 大约95%

Ambient模式的屏幕保持为黑色

现在 正如之前提到的 在设计你的表盘的时候

要考虑被覆盖在刻度盘上的UI元素

大小型号的Peek卡片都要考虑到

也要考虑电池图标等指示器

以及OK Google快捷词

用onCreate方法设定表盘风格时

你有一定的灵活性

你可以选择初始的选项

比如一个短的Peek开盘 在屏幕中央放入

一个指示器

现在 当考虑如何扩展手表表盘功能

使其不单单显示时间时

要考虑对用户的核心的价值

记住一点 尽可能简化 而且将

数据与时间维度联系起来

举个例子 不要仅仅添加今天的

天气 而是在表盘上的时间那里添加

一天的天气

用户从手表

或者从他们手机上的相关应用里都可以简单选择一个表盘

因此你不需要添加一个启动图标

用户的设置可以

在带有简单的两项选择和列表选项的手表

和更多复杂配置的手机上来修改

你也不需要设置

实际上 你是想避免使用设置的

这样用户就可能使用

不带安装以外设置的手表

那么 以上就是设计指导

最后一点跟设计指导联系在一起的 就是

记住你是在为人而设计的

首先考虑到你努力去解决的

用户问题 这

与设计一些漂亮的东西让他们去佩戴

一样简单 或者与每天给予他们

健身动机一样具体

尽管这些附加的东西在历史上

被称为造成复杂化的因素 他们

的构建不再复杂 他们的使用也

不应该是复杂的

接下来 解释下在UI元素系统中不同的

手表硬件 然后测试

自己使用一下 并让你那些没有参与到设计过程中的朋友们

没有参与到设计过程中的朋友们也使用一下

如果手边合乎他们的生活习惯 不会带来多余的麻烦

你的设计就是正确的

手表已经成为了当今时代我们个人表达的一部分

现在各种用户急切的需要更多更广的应用选择

和合乎他们品味的手表

像你们这样的开发者可以给他们提供

独特而又有用的手表表盘 这就是他们最个性的设备上

最突出的UI元素

这个API可以很简单地快速创建一个手表表盘

也非常灵活定制简单的个性化

更多的关于手表表盘API的详细信息

包括所有的实现细节

请直接查看文档

我是Timothy Jordan 我期待着

你们的设计

Youtube
Youtube
加入 GDG 字幕组
video_screenshot