diff options
author | Chris Wren <cwren@android.com> | 2012-08-16 17:33:34 -0400 |
---|---|---|
committer | The Android Automerger <android-build@android.com> | 2012-08-23 14:22:16 -0700 |
commit | ced88667b08756f009f6c0c15f2c0c2cd1dace8b (patch) | |
tree | 0b708e6bea60854beaf9f4184d857b8ca2bff7e4 /res/layout/photo.xml | |
parent | 7a809b2eda2d9cf8439202e03a092e850bfde1dc (diff) | |
download | android_packages_screensavers_PhotoTable-ced88667b08756f009f6c0c15f2c0c2cd1dace8b.tar.gz android_packages_screensavers_PhotoTable-ced88667b08756f009f6c0c15f2c0c2cd1dace8b.tar.bz2 android_packages_screensavers_PhotoTable-ced88667b08756f009f6c0c15f2c0c2cd1dace8b.zip |
Example Dream: photos
An example screensaver that shows local photos.
Change-Id: I2997c4f8ab35777d96df31a46f2f55044e3114c2
Diffstat (limited to 'res/layout/photo.xml')
-rw-r--r-- | res/layout/photo.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/res/layout/photo.xml b/res/layout/photo.xml new file mode 100644 index 0000000..988dbe4 --- /dev/null +++ b/res/layout/photo.xml @@ -0,0 +1,22 @@ +<?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. +--> +<ImageView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/photo" + android:layout_width="1024dp" + android:layout_height="1024dp" + android:scaleType="centerInside" + /> + |