Chet Haase b7a7fc9d23 Make fading transitions work better
Previously, a Fade transition would only affect a view if its
parent hierarchy was not also affected between the start/end states.
This caused problems for views which were removed from their parents
between scenes when their parents' visibility also changed between those
scenes. The effect would be that the transition would fade the parent...
but the child would no longer be in that parent, so the user would just see the
child view blink out.

This fix ensure that views are faded appropriately by fading them
regardless the parent hierarchy; if a view is removed from its
parent, fade it out.

Additionally, if that view has not been removed from its parent, but
its parent is no longer parented *and* scene being
transitioned from is based on a layout resource file (and thus
the views are considered temporary after transitioning), then it is
removed from its parent to be faded out in the overlay.

Also, renamed TextChange to ChangeText to be more consistent with
other transition class names.

Change-Id: I4e0e7dfc9e9d95c7a4ca586534b6d204c4f3bae0
2013-09-26 13:38:12 -07:00

62 lines
3.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">StatesTest</string>
<string name="states_test1">StatesTestv21</string>
<string name="states_test_auto_targets">StatesTestAutoTargets</string>
<string name="states_test_auto_transition">StatesTestAutoTransition</string>
<string name="states_test_auto_transition2">StatesTestAutoTransition2</string>
<string name="contacts_expansion">ContactsExpansion</string>
<string name="states_test3">StatesTest3</string>
<string name="states_test4">StatesTest4</string>
<string name="states_test5">StatesTest5</string>
<string name="states_test6">StatesTest6</string>
<string name="button">Button</string>
<string name="searchButton">Search</string>
<string name="searchText">This is some text</string>
<string name="resultsTitle">Search Results</string>
<string name="placeholder">Blah Blah Blah</string>
<string name="username">Username:</string>
<string name="password">Password:</string>
<string name="retype">Retype:</string>
<string name="new_user">New User?</string>
<string name="incorrect_password">Incorrect password:</string>
<string name="try_again">Please try again.</string>
<string name="login_successful">Success!</string>
<string name="first_activity_screen">First activity screen</string>
<string name="username_taken">Username taken:</string>
<string name="cancel">Cancel</string>
<string name="submit">Submit</string>
<string name="okay">Okay</string>
<string name="reset">Reset</string>
<string name="fadingButton">Fading Button</string>
<string name="removingButton">Removing Button</string>
<string name="invisibleButton">invisible Button</string>
<string name="goneButton">Gone Button</string>
<string name="start">Start</string>
<string name="toggle">Toggle State</string>
<string name="someText">This is some text</string>
<string name="shortText1">This is some short text</string>
<string name="shortText2">Not much text here</string>
<string name="longText1">This is the beginning of the Spring of my discontent. In the event of a real emergency, you would be notified by email. Fear not, for death comes swiftly.</string>
<string name="longText2">When do we get to eat? I like all things, especially following strong leaders, and mangy cats. Break glass in emergency. The purpose of a framework is to provide the facilities and functionality of a powerful toolkit with the simplicity of a refrigerator.</string>
<string name="state1">State 1</string>
<string name="state2">State 2</string>
<string name="state3">State 3</string>
<string name="state4">State 4</string>
<string name="button0">Button 0</string>
<string name="button1">Button 1</string>
<string name="button2">Button 2</string>
<string name="button3">Button 3</string>
<string name="button4">Button 4</string>
<string name="button5">Button 5</string>
<string name="a">A</string>
<string name="b">B</string>
<string name="c">C</string>
<string name="reveal">Reveal</string>
<string name="crossfade">Crossfade</string>
<string name="inout">In/Out</string>
<string name="textfade1">CT</string>
<string name="textfade2">CTO</string>
<string name="textfade3">CTI</string>
</resources>