Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
Allow transition xml resources
Browse files Browse the repository at this point in the history
Summary: https://developer.android.com/reference/android/transition/Transition documents that `transition` is an allowed resource folder.

Reviewed By: styurin

fbshipit-source-id: 784d7c22a4
  • Loading branch information
asp2insp authored and facebook-github-bot committed May 14, 2019
1 parent 166d433 commit dbfcff9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/com/facebook/buck/android/ResourceFilters.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ private ResourceFilters() {}
"xml",
// "interpolator" is not officially documented in the above
// link, but several support library aar files use it.
"interpolator");
"interpolator",
// "transition" is not documented in the above link,
// but the docs below claim it can be used
// https://developer.android.com/reference/android/transition/Transition
"transition");

/**
* Represents the names and values of valid densities for resources as defined in
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<transitionSet xmlns:android="http://schemas.android.com/apk/res/android">
<explode
android:duration="320" />
</transitionSet>

0 comments on commit dbfcff9

Please sign in to comment.