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

Commit dbfcff9

Browse files
asp2inspfacebook-github-bot
authored andcommitted
Allow transition xml resources
Summary: https://developer.android.com/reference/android/transition/Transition documents that `transition` is an allowed resource folder. Reviewed By: styurin fbshipit-source-id: 784d7c22a4
1 parent 166d433 commit dbfcff9

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/com/facebook/buck/android/ResourceFilters.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@ private ResourceFilters() {}
5858
"xml",
5959
// "interpolator" is not officially documented in the above
6060
// link, but several support library aar files use it.
61-
"interpolator");
61+
"interpolator",
62+
// "transition" is not documented in the above link,
63+
// but the docs below claim it can be used
64+
// https://developer.android.com/reference/android/transition/Transition
65+
"transition");
6266

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

0 commit comments

Comments
 (0)