diff options
author | Steve Kondik <steve@cyngn.com> | 2016-11-09 00:08:42 -0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-11-13 23:33:36 -0800 |
commit | 4538ee80f8a9eb338281db00fb349e111eeb5aaf (patch) | |
tree | bb81593e683955db458c96b6b5fb0fdf71b314ae /res/anim | |
parent | 0b4b53688f8486537d9d58dc6448ca2db8c67c7d (diff) | |
download | android_packages_apps_Snap-4538ee80f8a9eb338281db00fb349e111eeb5aaf.tar.gz android_packages_apps_Snap-4538ee80f8a9eb338281db00fb349e111eeb5aaf.tar.bz2 android_packages_apps_Snap-4538ee80f8a9eb338281db00fb349e111eeb5aaf.zip |
snap: UX improvements v1
* Make the camera controls do sane things- get rid of the
manual placement of every widget and use layouts
* Animate everything correctly
* Show ripples when clicking the shutter
* Clean up a metric ton of dead code
* Moved more code into BaseUI
* Make setting up the camera controls less verbose and magical
* Fixed up panorama layout
Change-Id: Iaed44ca0201a2e2641e1c2460d3ff9ec3eae2d85
Diffstat (limited to 'res/anim')
-rw-r--r-- | res/anim/switcher_enter.xml | 18 | ||||
-rw-r--r-- | res/anim/switcher_exit.xml | 18 |
2 files changed, 36 insertions, 0 deletions
diff --git a/res/anim/switcher_enter.xml b/res/anim/switcher_enter.xml new file mode 100644 index 000000000..91653a25b --- /dev/null +++ b/res/anim/switcher_enter.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (c) 2009, 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="400" /> diff --git a/res/anim/switcher_exit.xml b/res/anim/switcher_exit.xml new file mode 100644 index 000000000..252581608 --- /dev/null +++ b/res/anim/switcher_exit.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (c) 2009, 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="400" /> |