Changes

An Android 6 HTML and Web Content Printing Example

45 bytes added, 19:57, 27 October 2016
m
Text replacement - "<table border="0" cellspacing="0">" to "<table border="0" cellspacing="0" width="100%">"
<td width="20%">[[Printing with the Android 6 Printing Framework|Previous]]<td align="center">[[Android Studio Development Essentials - Android 6 Edition|Table of Contents]]<td width="20%" align="right">[[A Guide to Android 6 Custom Document Printing|Next]]</td>
<tr>
<td width="20%">Printing with the Android 6 Printing Framework<td align="center"><td width="20%" align="right">A Guide to Android 6 Custom Document Printing</td>
</table>
<hr>
As outlined in the previous chapter, entitled [[Printing with the Android 6 Printing Framework]], the Android Printing framework can be used to print both web pages and dynamically created HTML content. While there is much similarity in these two approaches to printing, there are also some subtle differences that need to be taken into consideration. This chapter will work through the creation of two example applications in order to bring some clarity to these two printing options.
== Creating the HTML Printing Example Application ==
== Designing the User Interface Layout ==
<googlehtmlet>ADSDAQBOX_FLOWadsdaqbox_flow</googlehtmlet>
Load the content_web_print.xml layout resource file into the Designer tool if it has not already been loaded and, in Design mode, select and delete the “Hello World!” TextView object.
== Designing the User Interface Layout ==
<googlehtmlet>ADSDAQ_FLOWadsdaqbox_flow</googlehtmlet>
Load the content_web_print.xml layout resource file into the Designer tool if it has not already been loaded and, in Design mode, select and delete the “Hello World!” TextView object.
 
<htmlet>ezoicbottom</htmlet>
<hr>
<table border="0" cellspacing="0" width="100%">
<tr>
<td width="20%">[[Printing with the Android 6 Printing Framework|Previous]]<td align="center">[[Android Studio Development Essentials - Android 6 Edition|Table of Contents]]<td width="20%" align="right">[[A Guide to Android 6 Custom Document Printing|Next]]</td>
<tr>
<td width="20%">Printing with the Android 6 Printing Framework<td align="center"><td width="20%" align="right">A Guide to Android 6 Custom Document Printing</td>
</table>