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 2828import android .graphics .Rect ;
2929import android .graphics .RectF ;
3030import android .graphics .drawable .Drawable ;
31- import android .os .Build .VERSION_CODES ;
3231import android .os .Parcelable ;
3332import android .transition .Transition ;
3433import android .view .View ;
3534import android .view .View .MeasureSpec ;
3635import android .view .Window ;
3736import androidx .annotation .NonNull ;
3837import androidx .annotation .Nullable ;
39- import androidx .annotation .RequiresApi ;
4038import androidx .core .graphics .BlendModeColorFilterCompat ;
4139import androidx .core .graphics .BlendModeCompat ;
4240import com .google .android .material .internal .ContextUtils ;
4947/**
5048 * A {@link SharedElementCallback} to be used for {@link MaterialContainerTransform} transitions.
5149 */
52- @ RequiresApi (VERSION_CODES .LOLLIPOP )
5350public class MaterialContainerTransformSharedElementCallback extends SharedElementCallback {
5451
5552 @ Nullable private static WeakReference <View > capturedSharedElement ;
Original file line number Diff line number Diff line change 1616 -->
1717<androidx .coordinatorlayout.widget.CoordinatorLayout xmlns : android =" http://schemas.android.com/apk/res/android"
1818 xmlns : app =" http://schemas.android.com/apk/res-auto"
19- xmlns : tools =" http://schemas.android.com/tools"
2019 android : id =" @+id/test_coordinator_layout"
2120 android : layout_width =" match_parent"
2221 android : layout_height =" match_parent"
3837 android : layout_width =" 256dp"
3938 android : layout_height =" match_parent"
4039 android : orientation =" vertical"
41- app : layout_behavior =" @string/side_sheet_behavior"
42- tools : targetApi =" lollipop" >
40+ app : layout_behavior =" @string/side_sheet_behavior" >
4341 <TextView
4442 android : layout_width =" wrap_content"
4543 android : layout_height =" match_parent"
Original file line number Diff line number Diff line change 1616 -->
1717<androidx .coordinatorlayout.widget.CoordinatorLayout xmlns : android =" http://schemas.android.com/apk/res/android"
1818 xmlns : app =" http://schemas.android.com/apk/res-auto"
19- xmlns : tools =" http://schemas.android.com/tools"
2019 android : id =" @+id/test_coordinator_layout"
2120 android : layout_width =" match_parent"
2221 android : layout_height =" match_parent"
2827 android : layout_width =" 256dp"
2928 android : layout_height =" match_parent"
3029 android : orientation =" vertical"
31- app : layout_behavior =" @string/side_sheet_behavior"
32- tools : targetApi =" lollipop" >
30+ app : layout_behavior =" @string/side_sheet_behavior" >
3331 <TextView
3432 android : layout_width =" wrap_content"
3533 android : layout_height =" match_parent"
Original file line number Diff line number Diff line change 1313 See the License for the specific language governing permissions and
1414 limitations under the License.
1515-->
16- <resources xmlns : tools = " http://schemas.android.com/tools " >
16+ <resources >
1717
1818 <style name =" TextSmallStyle" parent =" @android:style/TextAppearance" >
1919 <item name =" android:textSize" >@dimen/text_small_size</item >
2828 </style >
2929
3030 <style name =" Theme.TranslucentStatus"
31- parent =" Theme.AppCompat.Light.NoActionBar"
32- tools : targetApi =" lollipop" >
31+ parent =" Theme.AppCompat.Light.NoActionBar" >
3332 <item name =" android:windowDrawsSystemBarBackgrounds" >true</item >
3433 <item name =" android:statusBarColor" >@android:color/transparent</item >
3534 </style >
3635
3736 <style name =" Theme.TranslucentNavBar"
38- parent =" Theme.AppCompat.Light.NoActionBar"
39- tools : targetApi =" lollipop" >
37+ parent =" Theme.AppCompat.Light.NoActionBar" >
4038 <item name =" android:windowDrawsSystemBarBackgrounds" >true</item >
4139 </style >
4240
You can’t perform that action at this time.
0 commit comments