Files
android_development/samples/ApiDemos/res/layout/print_html_from_screen.xml
Svetoslav Ganov 42c6250c9d Add print samples to the ApiDemos app.
1. Added a sample for printing a bitmap.

2. Added a sample for printing an on-screen WebView.

3. Added s sample for printing an off-screen WebView.

4. Fixed a bug in the custom layout print sample.

Change-Id: I35b2bbf8c7fd9bc39be795b1f793d9ea7bdfc8a0
2013-10-30 12:12:55 -07:00

23 lines
906 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2013 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<WebView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/web_view"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:padding="16dip">
</WebView>