Building a Simple User Interface 创建一个简单的用户界面 This lesson teaches you to 这节课将教给你: Create a Linear Layout 创建一个线性布局 Add a Text Field 增加一个文本域 Add String Resources 增加一个String(字符串)资源 Add a Button 增加一个按钮 Make the Input Box Fill in the Screen Width 让输入框充满屏幕的…
最近在自学android,抽空把官方文档的guide跟training差不多看了一遍,又对比了一些书籍,感觉还是官方文档讲得比较好,所以自己计划把官方文档翻译一下,方便自己的知识巩固以及复习查找,由于英文不是非常好,所以翻译得不是很好,有不好的地方欢迎大家指出哈, 由于之前已经看过官方文档了,感觉最佳的路线是跟着官方training操作,遇到知识点或者不懂的再去guide跟reference中查找阅读,所以先从trainging翻译起了.针对官方文档,在翻译的基础上加入了一些自己的解释,希望能够…
Adding Action Buttons 增加动作按钮 This lesson teaches you to 这节课教给你 Specify the Actions in XML 在XML中指定动作 Add the Actions to the Action Bar 把动作添加到状态栏 Respond to Action Buttons 让动作按钮有响应 Add Up Button for Low-level Activities 对低版本的activities增加顶部按钮 You should…
Building Your First App 创建你的第一个App项目 Dependencies and prerequisites 依赖关系和先决条件 * Android SDK * ADT Plugin 22.6.2 or higher (if you're using Eclipse) *Android SDK *ADT 插件 22.6.2或者更高(如果你使用Eclipse的话) Welcome to Android application development! 欢迎来到Androi…
Supporting Different Platform Versions 支持不同的平台版本 This lesson teaches you to 这节课教给你 Specify Minimum and Target API Levels 指定最小和目标API等级 Check System Version at Runtime 检查运行时的系统版本 Use Platform Styles and Themes 使用平台样式和主题 You should also read 你还应该阅读 Andr…
Supporting Different Languages 支持不同语言 This class teaches you to 这节课教给你 Create Locale Directories and String Files 创建一个本地目录和String文件夹 Use the String Resources 使用String资源 You should also read 你还需要阅读 Localization Checklist 本地清单列表 Localization with Resou…
Setting Up the Action Bar 建立Action Bar This lesson teaches you to 这节课教给你 Support Android 3.0 and Above Only 仅仅支持Android 3.0及以上 Support Android 2.1 and Above 支持Android 2.1及其以上 You should also read 你还需要阅读 Setting Up the Support Library 建立Support Librar…
Starting Another Activity 开启另一个Activity This lesson teaches you to 这节课教给你: Respond to the Send Button 给发送按钮设置响应 Build an Intent 创建一个意图 Start the Second Activity 开启第二个Activity Create the Second Activity 创建第二个Activity Receive the Intent 接受意图 Display th…
Pausing and Resuming an Activity 暂停和恢复一个activity This lesson teaches you to 这节课教给你 Pause Your Activity 暂停你的Activity Resume Your Activity 恢复你的Activity You should also read 你还应该阅读 Activities During normal app use, the foreground activity is sometimes o…
Starting an Activity 开启一个Activity This lesson teaches you to 这节课教给你 Understand the Lifecycle Callbacks 理解生命周期回调 Specify Your App's Launcher Activity 声明你的App的启动Activity Create a New Instance 创建一个新的实例 Destroy the Activity 销毁Activity You should also rea…
Managing the Activity Lifecycle 管理activity的生命周期 Dependencies and prerequisites 依赖关系和先决条件 How to create an Android project (see Creating an Android Project) 如何创建一个Android项目(请看Creating an Android Project) You should also read 你还需要阅读 Activities As a use…
Supporting Different Screens 支持不同的屏幕 This lesson teaches you to 这节课教给你 Create Different Layouts 创建不同的布局 Create Different Bitmaps 创建不同的位图 You should also read 你还应该阅读 Designing for Multiple Screens 为多种屏幕进行设计 Providing Resources 提供资源 Iconography design…
Running Your App If you followed the previous lesson to create an Android project, it includes a default set of "Hello World" source files that allow you to immediately run the app. 如果你跟着前面的课程创建了一个Android项目,这个项目包括一系列默认的"Hello World"资源文…
Creating an Android Project 创建一个Android项目 An Android project contains all the files that comprise the source code for your Android app. The Android SDK tools make it easy to start a new Android project with a set of default project directories and fi…
Getting Started 让我们开始吧! Welcome to Training for Android developers. 欢迎来到Android开发者训练营. Here you'll find sets of lessons within classes that describe how to accomplish a specific task with code samples you can re-use in your app. 在这里你可以发现一系列的课程,这些课程是描…
Supporting Different Devices 支持不同设备 Dependencies and prerequisites 依赖关系和先决条件 Android 1.6 or higher Android 1.6 及其以上版本 You should also read 你还需要阅读 Application Resources 应用程序资源 Designing for Multiple Screens 为不同的屏幕进行设计 Android devices come in many shap…
Overlaying the Action Bar 叠加菜单栏 This lesson teaches you to 这节课教给你: Enable Overlay Mode 启用叠加模式 For Android 3.0 and higher only 对于仅支持Android 3.0及其以上版本 For Android 2.1 and higher 对于支持Android 2.1及其以上版本 Specify Layout Top-margin 指定布局的顶边距 You should also r…
Styling the Action Bar 设计菜单栏的样式 This lesson teaches you to 这节课教给你 Use an Android Theme 使用一个Android主题 Customize the Background 定义背景 Customize the Text Color 定义文本颜色 Customize the Tab Indicator 定义标签指示器 You should also read 你还应该读 Styles and Themes 样式和主题…
Adding the Action Bar 增加一个Action Bar(工具栏) The action bar is one of the most important design elements you can implement for your app's activities. It provides several user interface features that make your app immediately familiar to users by offerin…
原文地址:http://docs.orchardproject.net/Documentation/Getting-around-the-dashboard 想要查看文档目录请用力点击这里 最近想要学习了解orchard,但却没有找到相关的中文文档,只有英文文档.于是决定自行翻译,以便日后方便翻阅. 转载请注明原作者与出处. 本人英文水平有限,错误之处欢迎指出以便修正. Dashboard相关 该主题内容已在Orchard1.8版本下测试通过. 通过Orchard dashboard管理站点,可…
日志类提供了很多方法用于处理日志活动,它不允许我们自己实例化一个logger,但是提供给我们两种静态方法获得logger对象: public static Logger getRootLogger(); public static Logger getLogger(String name); 第一种方法返回应用实例的根logger,它没有名字. 第二种方法可以通过名字获得日志对象logger,类的名字是你传递的class的名字,通常是一个class的类名或者包名. static Logger l…
网上有的博客写得太乱 不如自己翻译官方文档 Lifecycle 生命周期 Though a Fragment's lifecycle is tied to its owning activity, it has its own wrinkle on the standard activity lifecycle. It includes basic activity lifecycle methods such as onResume(), but also important are meth…
Getting Started Welcome to Training for Android developers. Here you'll find sets of lessons within classes that describe how to accomplish a specific task with code samples you can re-use in your app. Classes are organized into several groups you ca…
昨晚把第五章未译完的几句话攻克了.只是第六章没怎么译,明后天又是周末,假设周一前第六章翻译完的话,周一再发第六章. 本文译自Android官方技术文档<Gradle Plugin User Guide>,原文地址:http://tools.android.com/tech-docs/new-build-system/user-guide. 翻译不易.转载请注明CSDN博客上的出处: http://blog.csdn.net/maosidiaoxian/article/details/42023…
本文译自Android官方技术文档<Gradle Plugin User Guide>,原文地址:http://tools.android.com/tech-docs/new-build-system/user-guide. 翻译不易,转载请注明CSDN博客上的出处: http://blog.csdn.net/maosidiaoxian/article/details/42417779 前三章见<Android官方技术文档翻译--Gradle 插件用户指南(1-3)>. 第四章见&…
没想到翻译这篇<Gradle 插件用户指南>拖了差不多一个月,还跨年了.不过还好,在2号时终于一口气把剩下的给翻译完了(其实那天剩下的也就不到一章). 今天先发一下第六章,明天再发第七章. 本文译自Android官方技术文档<Gradle Plugin User Guide>,原文地址:http://tools.android.com/tech-docs/new-build-system/user-guide. 翻译不易,转载请注明CSDN博客上的出处: http://blog.c…
ble4.0开发整理资料_百度文库 http://wenku.baidu.com/link?url=ZYix8_obOT37JUQyFv-t9Y0Sv7SPCIfmc5QwjW-aifxA8WJ4iWajKpfQS7o4aFykDaDUuVmtis_nISFn6ji7lSB2t7NXoZreAzNAAyrB25q Ricardo_Li's blog - 蓝牙4.0——Android BLE开发官方文档翻译http://ricardoli.com/2014/07/31/%E8%93%9D%E7%8…
最近赶项目,白天基本没时间,只有晚上在家的时候才能看一看.昨天晚上只翻译完了第四章,今天就只发第四章吧. 本文译自Android官方技术文档<Gradle Plugin User Guide>,原文地址:http://tools.android.com/tech-docs/new-build-system/user-guide. 翻译不易,转载请注明CSDN博客上的出处: http://blog.csdn.net/maosidiaoxian/article/details/41955809 前…
本文译自Android官方技术文档<Ant Tasks>,原文地址:http://tools.android.com/tech-docs/ant-tasks. 由于是抽着时间译的.所以这篇文章我分了几个阶段才译完,且边译我的英语边成长.以致里面的表格里相同的句式有了几种不同的译法. 这一边是讲Ant的,虽然如今Android官方在大力推行基于 Gradle 构建系统的 Android Studio.但用着Eclipse的也不少.就顺便把这篇也译了. 这一篇文档主要是对Ant任务的一些简单介绍.…
不知道是什么网络问题,上午一直发不了博客,其它页面基本正常,就是在写博客这里,每次打开都是响应超时.刚才用了VPN,顺便试了一下,竟然能够编辑.想是CDN之类的问题吧. 这次翻译的是Gradle 插件用户指南,也就是Gradle上的Android插件的官方文档.文档非常长,加上近期激情不够,翻译得有些慢.到昨天为止,才译到第四章.今天先发前三章. 本文译自Android官方技术文档<Gradle Plugin User Guide>,原文地址:http://tools.android.com/…