sdk doc change for esr: fix some broken links to resources files.

Bug: 2160782
Change-Id: Ie8650e4b642a96e67a2e7e62669282bc58d414ba
diff --git a/samples/ApiDemos/src/com/example/android/apis/app/_index.html b/samples/ApiDemos/src/com/example/android/apis/app/_index.html
index 0ef5d9c..2454bad 100644
--- a/samples/ApiDemos/src/com/example/android/apis/app/_index.html
+++ b/samples/ApiDemos/src/com/example/android/apis/app/_index.html
@@ -7,7 +7,7 @@
   <dt>Code:
   <dd> <a href="HelloWorld.html">HelloWorld.java</a>
   <dt>Layout:
-  <dd> <a href="/guide/samples/ApiDemos/res/layout/hello_world.html">
+  <dd> <a href="../../../../../../res/layout/hello_world.html">
   hello_world.xml</a>
   </dl>
   </dd>
@@ -82,7 +82,7 @@
   <dd> <a href="ServiceStartArgumentsController.html">ServiceStartArgumentsController.java</a>
   <dd> <a href="ServiceStartArguments.html">ServiceStartArguments.java</a>
   <dt>Layout:
-  <dd> <a href="/guide/samples/ApiDemos/res/layout/service_start_arguments_controller.html">
+  <dd> <a href="../../../../../../res/layout/service_start_arguments_controller.html">
   service_start_arguments_controller.xml</a>
   </dl>
   </dd>
@@ -110,7 +110,7 @@
   <dd> <a href="OneShotAlarm.html">OneShotAlarm.java</a>
   <dd> <a href="RepeatingAlarm.html">RepeatingAlarm.java</a>
   <dt>Layout:
-  <dd> <a href="/guide/samples/ApiDemos/res/layout/alarm_controller.html">
+  <dd> <a href="../../../../../../res/layout/alarm_controller.html">
   alarm_controller.xml</a>
   </dl>
   </dd>
@@ -124,7 +124,7 @@
   <dd> <a href="AlarmService.html">AlarmService.java</a>
   <dd> <a href="AlarmService_Service.html">AlarmService_Service.java</a>
   <dt>Layout:
-  <dd> <a href="/guide/samples/ApiDemos/res/layout/alarm_service.html">
+  <dd> <a href="../../../../../../res/layout/alarm_service.html">
   alarm_service.xml</a>
   </dl>
   </dd>
diff --git a/samples/ApiDemos/src/com/example/android/apis/graphics/_index.html b/samples/ApiDemos/src/com/example/android/apis/graphics/_index.html
index 1f2b1b0..c9d36ea 100644
--- a/samples/ApiDemos/src/com/example/android/apis/graphics/_index.html
+++ b/samples/ApiDemos/src/com/example/android/apis/graphics/_index.html
@@ -16,7 +16,7 @@
   <dt>Code:
   <dd><a href="GLSurfaceViewActivity.html">GLSurfaceViewActivity.java</a>
   <dt>Layout:
-  <dd><a href="/guide/samples/ApiDemos/res/layout/hello_world.html">hello_world.xml</a>
+  <dd><a href="../../../../../../res/layout/hello_world.html">hello_world.xml</a>
   </dl>
   </dd>
 
@@ -33,10 +33,9 @@
   <dd>Shows how you can place overlays on top of a SurfaceView.
   <dl>
   <dt>Code:
-  <dd> <a href="SurfaceViewOverlay.html">SurfaceViewOverlay.java</a>,
-    <a href="GLSurfaceView.html">GLSurfaceView.java</a>
+  <dd> <a href="SurfaceViewOverlay.html">SurfaceViewOverlay.java</a>
   <dt>Layout:
-  <dd><a href="/guide/samples/ApiDemos/res/layout/surface_view_overlay.html">surface_view_overlay.xml</a>
+  <dd><a href="../../../../../../res/layout/surface_view_overlay.html">surface_view_overlay.xml</a>
   </dl>
   </dd>