Files
lawnchair/wmshell/res/layout/maximize_menu_button.xml
2024-11-02 10:55:28 +08:00

44 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (C) 2024 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.
-->
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android">
<FrameLayout
android:layout_width="44dp"
android:layout_height="40dp">
<ProgressBar
android:id="@+id/progress_bar"
style="?android:attr/progressBarStyleHorizontal"
android:progressDrawable="@drawable/circular_progress"
android:layout_width="32dp"
android:layout_height="32dp"
android:indeterminate="false"
android:layout_marginHorizontal="6dp"
android:layout_marginVertical="4dp"
android:visibility="invisible"/>
</FrameLayout>
<ImageButton
android:id="@+id/maximize_window"
android:layout_width="44dp"
android:layout_height="40dp"
android:paddingHorizontal="10dp"
android:paddingVertical="8dp"
android:contentDescription="@string/maximize_button_text"
android:src="@drawable/decor_desktop_mode_maximize_button_dark"
android:scaleType="fitCenter" />
</merge>