Loading res/flag(com.android.documentsui.flags.use_material3)/layout/drawer_layout.xml +8 −0 Original line number Diff line number Diff line Loading @@ -116,4 +116,12 @@ </LinearLayout> </androidx.drawerlayout.widget.DrawerLayout> <!-- Peek overlay --> <FrameLayout android:id="@+id/peek_overlay" android:layout_width="match_parent" android:layout_height="match_parent" android:visibility="gone" /> </androidx.coordinatorlayout.widget.CoordinatorLayout> res/flag(com.android.documentsui.flags.use_material3)/layout/fixed_layout.xml +7 −0 Original line number Diff line number Diff line Loading @@ -131,4 +131,11 @@ </LinearLayout> <!-- Peek overlay --> <FrameLayout android:id="@+id/peek_overlay" android:layout_width="match_parent" android:layout_height="match_parent" android:visibility="gone" /> </androidx.coordinatorlayout.widget.CoordinatorLayout> res/flag(com.android.documentsui.flags.use_material3)/layout/nav_rail_layout.xml +8 −0 Original line number Diff line number Diff line Loading @@ -179,4 +179,12 @@ </LinearLayout> </androidx.drawerlayout.widget.DrawerLayout> <!-- Peek overlay --> <FrameLayout android:id="@+id/peek_overlay" android:layout_width="match_parent" android:layout_height="match_parent" android:visibility="gone" /> </androidx.coordinatorlayout.widget.CoordinatorLayout> res/flag(com.android.documentsui.flags.use_material3)/layout/peek_layout.xml 0 → 100644 +22 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2025 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. --> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/peek_container" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/peek_overlay_background" android:focusable="false" /> res/flag(com.android.documentsui.flags.use_material3)/values/colors.xml +4 −0 Original line number Diff line number Diff line Loading @@ -91,4 +91,8 @@ </shape> --> <color name="overlay_hover_color_percentage">#14000000</color> <!-- 8% --> <!-- Peek overlay static color. Makes the background dimmer with an 80% opacity. This color is not intended to be dynamic, and is defined specifically for Peek. --> <color name="peek_overlay_background">#CC000000</color> <!-- 80% --> </resources> Loading
res/flag(com.android.documentsui.flags.use_material3)/layout/drawer_layout.xml +8 −0 Original line number Diff line number Diff line Loading @@ -116,4 +116,12 @@ </LinearLayout> </androidx.drawerlayout.widget.DrawerLayout> <!-- Peek overlay --> <FrameLayout android:id="@+id/peek_overlay" android:layout_width="match_parent" android:layout_height="match_parent" android:visibility="gone" /> </androidx.coordinatorlayout.widget.CoordinatorLayout>
res/flag(com.android.documentsui.flags.use_material3)/layout/fixed_layout.xml +7 −0 Original line number Diff line number Diff line Loading @@ -131,4 +131,11 @@ </LinearLayout> <!-- Peek overlay --> <FrameLayout android:id="@+id/peek_overlay" android:layout_width="match_parent" android:layout_height="match_parent" android:visibility="gone" /> </androidx.coordinatorlayout.widget.CoordinatorLayout>
res/flag(com.android.documentsui.flags.use_material3)/layout/nav_rail_layout.xml +8 −0 Original line number Diff line number Diff line Loading @@ -179,4 +179,12 @@ </LinearLayout> </androidx.drawerlayout.widget.DrawerLayout> <!-- Peek overlay --> <FrameLayout android:id="@+id/peek_overlay" android:layout_width="match_parent" android:layout_height="match_parent" android:visibility="gone" /> </androidx.coordinatorlayout.widget.CoordinatorLayout>
res/flag(com.android.documentsui.flags.use_material3)/layout/peek_layout.xml 0 → 100644 +22 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2025 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. --> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/peek_container" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/peek_overlay_background" android:focusable="false" />
res/flag(com.android.documentsui.flags.use_material3)/values/colors.xml +4 −0 Original line number Diff line number Diff line Loading @@ -91,4 +91,8 @@ </shape> --> <color name="overlay_hover_color_percentage">#14000000</color> <!-- 8% --> <!-- Peek overlay static color. Makes the background dimmer with an 80% opacity. This color is not intended to be dynamic, and is defined specifically for Peek. --> <color name="peek_overlay_background">#CC000000</color> <!-- 80% --> </resources>