美文网首页Google的搬运工
https://developer.android.com/tr

https://developer.android.com/tr

作者: Anonymous_NO1 | 来源:发表于2017-12-27 11:13 被阅读0次

    准备一个单词一个单词的开始看,煞笔式学习法。

    首先感谢翻译软件,感谢梯子。

    以下内容出自该链接,以后不写这句话,反正就是链接以下的就是出自该链接

    https://developer.android.com/training/basics/firstapp/building-ui.html#open

    Illustration n. 说明;插图;例证;图解

    vocabulary n. 词汇;词表;词汇量

    ConstraintLayout is a layout that defines the position for each view based on constraints to sibling views and the parent layout. In this way, you can create both simple and complex layouts with a flat view hieararchy. That is, it avoids the need for nested layouts (a layout inside a layout, as shown in figure 2), which can increase the time required to draw the UI.

    sibling n. 兄弟姊妹;民族成员

    flat adj. 平的;单调的;不景气的;干脆的;平坦的;扁平的;浅的

    大致翻译是,约束布局通过父布局和兄弟姐妹布局来确定子view的位置,这样的话,你可以用扁平的布局来创造简单或者复杂的布局。如此,避免了布局的嵌套,加快了UI的绘制。

    You can also create a horizontal alignment using the top or bottom edges, but the button includes padding around its image, so the visual alignment is wrong if you align these views that way.

    alignment n. 队列,成直线;校准;结盟

    visual adj. 视觉的,视力的;栩栩如生的

    你可以利用顶部和底部边缘把这两个控件对齐,但是button自身是有padding的,所以这种视觉上的对齐实际上是错误的

    hard-coding strings 硬编码字符串

    responsive adj. 响应的;应答的;回答的

    chain is a bidirectional constraint between two or more views that allows you to lay out the chained views in unison.

    bidirectional adj. 双向的;双向作用的

    chain的作用是双向约束,让两个或者更多的view一致的摆放在一条链上

    https://developer.android.com/training/basics/firstapp/starting-activity.html#CreateActivity

     It's a good practice to define keys for intent extras using your app's package name as a prefix. This ensures the keys are unique, in case your app interacts with other apps.

    尽量用app的包名作为extras的前缀,在与其他app交互时,确保了key的唯一性。

    https://developer.android.com/training/basics/supporting-devices/index.html

    configurations n. 配置(configuration的复数);立体基阵

    This class teaches you how to use basic platform features that leverage alternative resources and other features so your app can provide an optimized user experience on a variety of Android-compatible devices, using a single application package (APK).

    leverage v. 利用;举债经营

    alternative n. 二中择一;供替代的选择

    optimized adj. 最佳化的;尽量充分利用

    这个教程就是教你通过平台特性利用可选择的资源,通过一个apk就可以为各种Android手机提供最佳的用户体验。

    相关文章

      网友评论

        本文标题:https://developer.android.com/tr

        本文链接:https://www.haomeiwen.com/subject/oawygxtx.html