diff options
author | Wu-cheng Li <wuchengli@google.com> | 2011-09-15 03:24:43 +0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2011-09-15 07:39:55 +0800 |
commit | 977d06c6278cb7b131ed3c0960853d9168aacbdd (patch) | |
tree | 879136c52bcf2a4ebdbaca5a72e0e7f3b9db71ae /res/anim | |
parent | c24192e3b9a3d4f6e5e77e408fd4d91333b1275e (diff) | |
download | LegacyCamera-977d06c6278cb7b131ed3c0960853d9168aacbdd.zip LegacyCamera-977d06c6278cb7b131ed3c0960853d9168aacbdd.tar.gz LegacyCamera-977d06c6278cb7b131ed3c0960853d9168aacbdd.tar.bz2 |
Update share UI to match redlines.
- Change animation to crossfade.
- Remove border in the normal state.
- Remove the divider of the application icons.
- Change the area of the share popup to viewfinder only in panorama.
bug:5290450
Change-Id: Ia483c65f846e568a942d855119634f02c2c30c14
Diffstat (limited to 'res/anim')
-rw-r--r-- | res/anim/share_popup_enter.xml | 19 | ||||
-rw-r--r-- | res/anim/share_popup_exit.xml | 19 |
2 files changed, 38 insertions, 0 deletions
diff --git a/res/anim/share_popup_enter.xml b/res/anim/share_popup_enter.xml new file mode 100644 index 0000000..3464716 --- /dev/null +++ b/res/anim/share_popup_enter.xml @@ -0,0 +1,19 @@ +<?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. +--> + +<alpha xmlns:android="http://schemas.android.com/apk/res/android" + android:interpolator="@android:anim/decelerate_interpolator" + android:fromAlpha="0.0" android:toAlpha="1.0" android:duration="200"/> diff --git a/res/anim/share_popup_exit.xml b/res/anim/share_popup_exit.xml new file mode 100644 index 0000000..a345fa5 --- /dev/null +++ b/res/anim/share_popup_exit.xml @@ -0,0 +1,19 @@ +<?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. +--> + +<alpha xmlns:android="http://schemas.android.com/apk/res/android" + android:interpolator="@android:anim/accelerate_interpolator" + android:fromAlpha="1.0" android:toAlpha="0.0" android:duration="200"/> |