diff options
author | Michael Jurka <mikejurka@google.com> | 2013-09-04 14:42:52 +0200 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2013-09-05 20:37:56 +0200 |
commit | 2d8de5845be5f49d3767b8354f0d5479a0715abe (patch) | |
tree | 590be85280f29f7ea42a2bf4b0dccd4d87b0b6fd /res/layout | |
parent | c0e8b6880ae75c1f5811146ded4b060f8f1a6f84 (diff) | |
download | android_packages_apps_Trebuchet-2d8de5845be5f49d3767b8354f0d5479a0715abe.tar.gz android_packages_apps_Trebuchet-2d8de5845be5f49d3767b8354f0d5479a0715abe.tar.bz2 android_packages_apps_Trebuchet-2d8de5845be5f49d3767b8354f0d5479a0715abe.zip |
Create a separate wallpaper crop activity
Change-Id: Ifb0a7dcb5a6e9ddd4f4bbccc793d9b4db1256cf2
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/wallpaper_cropper.xml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/res/layout/wallpaper_cropper.xml b/res/layout/wallpaper_cropper.xml new file mode 100644 index 000000000..768500c0a --- /dev/null +++ b/res/layout/wallpaper_cropper.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 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. +*/ +--> + +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/wallpaper_cropper" + android:layout_width="match_parent" + android:layout_height="match_parent"> + <com.android.launcher3.CropView + android:id="@+id/cropView" + android:layout_width="match_parent" + android:layout_height="match_parent" /> + <ProgressBar + android:id="@+id/loading" + style="@android:style/Widget.Holo.ProgressBar.Large" + android:visibility="invisible" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:indeterminate="true" + android:indeterminateOnly="true" + android:background="@android:color/transparent" /> +</RelativeLayout> |