diff options
| author | Joe Fernandez <joefernandez@google.com> | 2012-06-14 15:10:46 -0700 |
|---|---|---|
| committer | Joe Fernandez <joefernandez@google.com> | 2013-08-22 10:25:33 -0700 |
| commit | 66f6fe66331469618b4edf1e1e163a28ba5dea44 (patch) | |
| tree | c6ee7aafed29a5b040cd292a9e6829ecfe8d3943 /samples/OpenGL/HelloOpenGLES10/res | |
| parent | abb260a280af25500b2d5c95890c9af116981f4d (diff) | |
| download | android_development-66f6fe66331469618b4edf1e1e163a28ba5dea44.tar.gz android_development-66f6fe66331469618b4edf1e1e163a28ba5dea44.tar.bz2 android_development-66f6fe66331469618b4edf1e1e163a28ba5dea44.zip | |
Sample code for OpenGL Android training class
( Original Id: Ib1650025a3c4b018c60d70ede3f25113660f68d8 )
Change-Id: I1d760b75d1f2bfe1ec90c71471867577bd146241
Diffstat (limited to 'samples/OpenGL/HelloOpenGLES10/res')
| -rw-r--r-- | samples/OpenGL/HelloOpenGLES10/res/drawable/ic_launcher.png | bin | 0 -> 5237 bytes | |||
| -rw-r--r-- | samples/OpenGL/HelloOpenGLES10/res/layout/main.xml | 28 | ||||
| -rw-r--r-- | samples/OpenGL/HelloOpenGLES10/res/values/strings.xml | 20 |
3 files changed, 48 insertions, 0 deletions
diff --git a/samples/OpenGL/HelloOpenGLES10/res/drawable/ic_launcher.png b/samples/OpenGL/HelloOpenGLES10/res/drawable/ic_launcher.png Binary files differnew file mode 100644 index 000000000..359047dfa --- /dev/null +++ b/samples/OpenGL/HelloOpenGLES10/res/drawable/ic_launcher.png diff --git a/samples/OpenGL/HelloOpenGLES10/res/layout/main.xml b/samples/OpenGL/HelloOpenGLES10/res/layout/main.xml new file mode 100644 index 000000000..7c7aee80d --- /dev/null +++ b/samples/OpenGL/HelloOpenGLES10/res/layout/main.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2011 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. +--> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" > + + <TextView + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="@string/hello" /> + +</LinearLayout>
\ No newline at end of file diff --git a/samples/OpenGL/HelloOpenGLES10/res/values/strings.xml b/samples/OpenGL/HelloOpenGLES10/res/values/strings.xml new file mode 100644 index 000000000..e4488894f --- /dev/null +++ b/samples/OpenGL/HelloOpenGLES10/res/values/strings.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2011 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. +--> +<resources> + <string name="hello">Hello, OpenGL ES 1.0!</string> + <string name="app_name">Hello OpenGL ES 1.0</string> +</resources> |
