File tree Expand file tree Collapse file tree 4 files changed +5
-14
lines changed
javatests/com/google/android/material/sidesheet/res/layout
java/com/google/android/material/transition/platform
testing/java/com/google/android/material/testapp/res/values Expand file tree Collapse file tree 4 files changed +5
-14
lines changed Original file line number Diff line number Diff line change 28
28
import android .graphics .Rect ;
29
29
import android .graphics .RectF ;
30
30
import android .graphics .drawable .Drawable ;
31
- import android .os .Build .VERSION_CODES ;
32
31
import android .os .Parcelable ;
33
32
import android .transition .Transition ;
34
33
import android .view .View ;
35
34
import android .view .View .MeasureSpec ;
36
35
import android .view .Window ;
37
36
import androidx .annotation .NonNull ;
38
37
import androidx .annotation .Nullable ;
39
- import androidx .annotation .RequiresApi ;
40
38
import androidx .core .graphics .BlendModeColorFilterCompat ;
41
39
import androidx .core .graphics .BlendModeCompat ;
42
40
import com .google .android .material .internal .ContextUtils ;
49
47
/**
50
48
* A {@link SharedElementCallback} to be used for {@link MaterialContainerTransform} transitions.
51
49
*/
52
- @ RequiresApi (VERSION_CODES .LOLLIPOP )
53
50
public class MaterialContainerTransformSharedElementCallback extends SharedElementCallback {
54
51
55
52
@ Nullable private static WeakReference <View > capturedSharedElement ;
Original file line number Diff line number Diff line change 16
16
-->
17
17
<androidx .coordinatorlayout.widget.CoordinatorLayout xmlns : android =" http://schemas.android.com/apk/res/android"
18
18
xmlns : app =" http://schemas.android.com/apk/res-auto"
19
- xmlns : tools =" http://schemas.android.com/tools"
20
19
android : id =" @+id/test_coordinator_layout"
21
20
android : layout_width =" match_parent"
22
21
android : layout_height =" match_parent"
38
37
android : layout_width =" 256dp"
39
38
android : layout_height =" match_parent"
40
39
android : orientation =" vertical"
41
- app : layout_behavior =" @string/side_sheet_behavior"
42
- tools : targetApi =" lollipop" >
40
+ app : layout_behavior =" @string/side_sheet_behavior" >
43
41
<TextView
44
42
android : layout_width =" wrap_content"
45
43
android : layout_height =" match_parent"
Original file line number Diff line number Diff line change 16
16
-->
17
17
<androidx .coordinatorlayout.widget.CoordinatorLayout xmlns : android =" http://schemas.android.com/apk/res/android"
18
18
xmlns : app =" http://schemas.android.com/apk/res-auto"
19
- xmlns : tools =" http://schemas.android.com/tools"
20
19
android : id =" @+id/test_coordinator_layout"
21
20
android : layout_width =" match_parent"
22
21
android : layout_height =" match_parent"
28
27
android : layout_width =" 256dp"
29
28
android : layout_height =" match_parent"
30
29
android : orientation =" vertical"
31
- app : layout_behavior =" @string/side_sheet_behavior"
32
- tools : targetApi =" lollipop" >
30
+ app : layout_behavior =" @string/side_sheet_behavior" >
33
31
<TextView
34
32
android : layout_width =" wrap_content"
35
33
android : layout_height =" match_parent"
Original file line number Diff line number Diff line change 13
13
See the License for the specific language governing permissions and
14
14
limitations under the License.
15
15
-->
16
- <resources xmlns : tools = " http://schemas.android.com/tools " >
16
+ <resources >
17
17
18
18
<style name =" TextSmallStyle" parent =" @android:style/TextAppearance" >
19
19
<item name =" android:textSize" >@dimen/text_small_size</item >
28
28
</style >
29
29
30
30
<style name =" Theme.TranslucentStatus"
31
- parent =" Theme.AppCompat.Light.NoActionBar"
32
- tools : targetApi =" lollipop" >
31
+ parent =" Theme.AppCompat.Light.NoActionBar" >
33
32
<item name =" android:windowDrawsSystemBarBackgrounds" >true</item >
34
33
<item name =" android:statusBarColor" >@android:color/transparent</item >
35
34
</style >
36
35
37
36
<style name =" Theme.TranslucentNavBar"
38
- parent =" Theme.AppCompat.Light.NoActionBar"
39
- tools : targetApi =" lollipop" >
37
+ parent =" Theme.AppCompat.Light.NoActionBar" >
40
38
<item name =" android:windowDrawsSystemBarBackgrounds" >true</item >
41
39
</style >
42
40
You can’t perform that action at this time.
0 commit comments