Forked from lassana/"windowIsTranslucent" is false.md
Created
November 22, 2016 07:07
-
-
Save backviet/cf2c2a6e94d3f7feaae7a2b0136d41fb to your computer and use it in GitHub Desktop.
Revisions
-
lassana revised this gist
Mar 25, 2016 . No changes.There are no files selected for viewing
-
lassana revised this gist
Mar 25, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@  <resources> -
lassana revised this gist
Mar 24, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ <item name="colorAccent">@color/colorAccent</item> <item name="android:windowBackground">@android:color/transparent</item> <item name="android:windowIsTranslucent">true</item> <item name="android:windowAnimationStyle">@style/ActivityAnimation.Translucent</item> </style> <style name="ActivityAnimation.Translucent" parent="@android:style/Animation.Translucent"> -
lassana revised this gist
Mar 24, 2016 . 5 changed files with 81 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ ![]() <resources> <style name="AppThemeTranslucent" parent="Theme.AppCompat.Light.NoActionBar"> <item name="colorPrimary">@color/colorPrimary</item> <item name="colorPrimaryDark">@color/colorPrimaryDark</item> <item name="colorAccent">@color/colorAccent</item> <item name="android:windowBackground">@android:color/transparent</item> <item name="android:windowIsTranslucent">true</item> <item name="android:windowAnimationStyle">@style/ActivityAnimation</item> </style> <style name="ActivityAnimation.Translucent" parent="@android:style/Animation.Translucent"> <item name="android:windowEnterAnimation">@anim/activity_in</item> <item name="android:windowExitAnimation">@anim/activity_back_out</item> </style> <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar"/> <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light"/> </resources> This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ <?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android"> <scale android:fromXScale="0.84" android:toXScale="1.0" android:fromYScale="0.84" android:toYScale="1.0" android:duration="@integer/activityAnimationTime"/> <translate android:fromYDelta="8%" android:fromXDelta="16%" android:toYDelta="0%" android:toXDelta="0%" android:duration="@integer/activityAnimationTime"/> <alpha android:fromAlpha="0.25" android:toAlpha="1.0" android:duration="@integer/activityAnimationTime"/> </set> This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android"> <translate android:fromXDelta="0%p" android:toXDelta="100%p" android:duration="@integer/activityAnimationTime"> </translate> </set> This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android"> <translate android:fromXDelta="100%p" android:toXDelta="0%p" android:duration="@integer/activityAnimationTime"> </translate> </set> This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ <?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android"> <scale android:fromXScale="1.0" android:toXScale="0.84" android:fromYScale="1.0" android:toYScale="0.84" android:duration="@integer/activityAnimationTime"/> <translate android:fromYDelta="0%" android:fromXDelta="0%" android:toYDelta="8%" android:toXDelta="16%" android:duration="@integer/activityAnimationTime"/> <alpha android:fromAlpha="1.0" android:toAlpha="0.25" android:duration="@integer/activityAnimationTime"/> </set> -
lassana renamed this gist
Mar 24, 2016 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
lassana created this gist
Mar 24, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@   <resources> <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> <item name="colorPrimary">@color/colorPrimary</item> <item name="colorPrimaryDark">@color/colorPrimaryDark</item> <item name="colorAccent">@color/colorAccent</item> <item name="android:windowAnimationStyle">@style/ActivityAnimation</item> </style> <style name="ActivityAnimation" parent="@android:style/Animation.Activity"> <item name="android:activityOpenEnterAnimation">@anim/activity_in</item> <item name="android:activityOpenExitAnimation">@anim/activity_out</item> <item name="android:activityCloseEnterAnimation">@anim/activity_back_in</item> <item name="android:activityCloseExitAnimation">@anim/activity_back_out</item> </style> </resources>