diff options
author | Mark Wei <markwei@google.com> | 2013-07-09 16:00:00 -0700 |
---|---|---|
committer | Mark Wei <markwei@google.com> | 2013-07-12 14:00:40 -0700 |
commit | 81aea35d45b3d0191ec595562a2fcf67009845d5 (patch) | |
tree | ae690fd5a9a8aee3e2a842fe53e08f67433701aa /res/drawable | |
parent | a2fb3206037770eb4797c3b059d52bd862b40e44 (diff) | |
download | android_packages_apps_UnifiedEmail-81aea35d45b3d0191ec595562a2fcf67009845d5.tar.gz android_packages_apps_UnifiedEmail-81aea35d45b3d0191ec595562a2fcf67009845d5.tar.bz2 android_packages_apps_UnifiedEmail-81aea35d45b3d0191ec595562a2fcf67009845d5.zip |
Final UI for Attachment Previews.
Placeholder pulsates for images not yet loaded.
One images loads at a time, that one image will display a spinning progressbar
after a delay.
Progress bar fixes to ensure it is rotates smoothly.
Clear section before drawing to it so transparent images look right.
Avoid PhotoManager load loop.
Bug: 9745486
Bug: 9816053
Change-Id: I2e65b3e3484d6da47d4e2523404dc745b99dd04c
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/progress_holo.xml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/res/drawable/progress_holo.xml b/res/drawable/progress_holo.xml new file mode 100644 index 000000000..d4ad73330 --- /dev/null +++ b/res/drawable/progress_holo.xml @@ -0,0 +1,34 @@ +<?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. +--> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item> + <rotate + android:drawable="@drawable/ic_spinner_outer_holo" + android:pivotX="50%" + android:pivotY="50%" + android:fromDegrees="0" + android:toDegrees="1080" /> + </item> + <item> + <rotate + android:drawable="@drawable/ic_spinner_inner_holo" + android:pivotX="50%" + android:pivotY="50%" + android:fromDegrees="720" + android:toDegrees="0" /> + </item> +</layer-list>
\ No newline at end of file |