Loading tests/WindowInsetsTests/Android.bp +5 −0 Original line number Diff line number Diff line Loading @@ -18,5 +18,10 @@ android_test { resource_dirs: ["res"], certificate: "platform", platform_apis: true, static_libs: [ "androidx.core_core", "androidx.appcompat_appcompat", "com.google.android.material_material", ], } tests/WindowInsetsTests/AndroidManifest.xml +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ <application android:label="@string/activity_title"> <activity android:name=".WindowInsetsActivity" android:theme="@android:style/Theme.Material" android:theme="@style/appTheme" android:windowSoftInputMode="adjustResize"> <intent-filter> Loading tests/WindowInsetsTests/res/drawable/bubble.xml 0 → 100644 +23 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2020 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <shape xmlns:android="http://schemas.android.com/apk/res/android"> <solid android:color="@color/bubble" /> <corners android:radius="@dimen/bubble_corner" /> <padding android:left="@dimen/bubble_padding_side" android:top="@dimen/bubble_padding" android:right="@dimen/bubble_padding_side" android:bottom="@dimen/bubble_padding" /> </shape> No newline at end of file tests/WindowInsetsTests/res/drawable/bubble_self.xml 0 → 100644 +23 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2020 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <shape xmlns:android="http://schemas.android.com/apk/res/android"> <solid android:color="@color/bubble_self" /> <corners android:radius="@dimen/bubble_corner" /> <padding android:left="@dimen/bubble_padding_side" android:top="@dimen/bubble_padding" android:right="@dimen/bubble_padding_side" android:bottom="@dimen/bubble_padding" /> </shape> No newline at end of file tests/WindowInsetsTests/res/drawable/ic_send.xml 0 → 100644 +27 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2020 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:autoMirrored="true" android:width="24.0dp" android:height="24.0dp" android:viewportWidth="48.0" android:viewportHeight="48.0"> <path android:fillColor="#FF000000" android:pathData="M4.02,42.0L46.0,24.0 4.02,6.0 4.0,20.0l30.0,4.0 -30.0,4.0z"/> </vector> Loading
tests/WindowInsetsTests/Android.bp +5 −0 Original line number Diff line number Diff line Loading @@ -18,5 +18,10 @@ android_test { resource_dirs: ["res"], certificate: "platform", platform_apis: true, static_libs: [ "androidx.core_core", "androidx.appcompat_appcompat", "com.google.android.material_material", ], }
tests/WindowInsetsTests/AndroidManifest.xml +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ <application android:label="@string/activity_title"> <activity android:name=".WindowInsetsActivity" android:theme="@android:style/Theme.Material" android:theme="@style/appTheme" android:windowSoftInputMode="adjustResize"> <intent-filter> Loading
tests/WindowInsetsTests/res/drawable/bubble.xml 0 → 100644 +23 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2020 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <shape xmlns:android="http://schemas.android.com/apk/res/android"> <solid android:color="@color/bubble" /> <corners android:radius="@dimen/bubble_corner" /> <padding android:left="@dimen/bubble_padding_side" android:top="@dimen/bubble_padding" android:right="@dimen/bubble_padding_side" android:bottom="@dimen/bubble_padding" /> </shape> No newline at end of file
tests/WindowInsetsTests/res/drawable/bubble_self.xml 0 → 100644 +23 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2020 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <shape xmlns:android="http://schemas.android.com/apk/res/android"> <solid android:color="@color/bubble_self" /> <corners android:radius="@dimen/bubble_corner" /> <padding android:left="@dimen/bubble_padding_side" android:top="@dimen/bubble_padding" android:right="@dimen/bubble_padding_side" android:bottom="@dimen/bubble_padding" /> </shape> No newline at end of file
tests/WindowInsetsTests/res/drawable/ic_send.xml 0 → 100644 +27 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2020 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:autoMirrored="true" android:width="24.0dp" android:height="24.0dp" android:viewportWidth="48.0" android:viewportHeight="48.0"> <path android:fillColor="#FF000000" android:pathData="M4.02,42.0L46.0,24.0 4.02,6.0 4.0,20.0l30.0,4.0 -30.0,4.0z"/> </vector>