mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
92 lines
4.3 KiB
XML
92 lines
4.3 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<!--
|
||
|
|
Copyright (C) 2023 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.constraintlayout.widget.ConstraintLayout
|
||
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:paddingBottom="70dp"
|
||
|
|
android:paddingStart="26dp"
|
||
|
|
android:paddingEnd="26dp"
|
||
|
|
android:background="@color/gesture_home_tutorial_swipe_up_rect">
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:id="@+id/hotseat_icon_1"
|
||
|
|
android:layout_width="@dimen/gesture_tutorial_hotseat_icon_size"
|
||
|
|
android:layout_height="@dimen/gesture_tutorial_hotseat_icon_size"
|
||
|
|
|
||
|
|
app:cardBackgroundColor="@color/gesture_home_tutorial_background"
|
||
|
|
app:cardCornerRadius="@dimen/gesture_tutorial_hotseat_icon_corner_radius"
|
||
|
|
app:cardElevation="0dp"
|
||
|
|
app:layout_constraintDimensionRatio="1:1"
|
||
|
|
app:layout_constraintEnd_toStartOf="@id/hotseat_icon_2"
|
||
|
|
app:layout_constraintHorizontal_chainStyle="spread_inside"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:id="@+id/hotseat_icon_2"
|
||
|
|
android:layout_width="@dimen/gesture_tutorial_hotseat_icon_size"
|
||
|
|
android:layout_height="@dimen/gesture_tutorial_hotseat_icon_size"
|
||
|
|
|
||
|
|
app:cardBackgroundColor="@color/gesture_home_tutorial_background"
|
||
|
|
app:cardCornerRadius="@dimen/gesture_tutorial_hotseat_icon_corner_radius"
|
||
|
|
app:cardElevation="0dp"
|
||
|
|
app:layout_constraintDimensionRatio="1:1"
|
||
|
|
app:layout_constraintEnd_toStartOf="@id/hotseat_icon_3"
|
||
|
|
app:layout_constraintStart_toEndOf="@id/hotseat_icon_1"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:id="@+id/hotseat_icon_3"
|
||
|
|
android:layout_width="@dimen/gesture_tutorial_hotseat_icon_size"
|
||
|
|
android:layout_height="@dimen/gesture_tutorial_hotseat_icon_size"
|
||
|
|
|
||
|
|
app:cardBackgroundColor="@color/gesture_home_tutorial_background"
|
||
|
|
app:cardCornerRadius="@dimen/gesture_tutorial_hotseat_icon_corner_radius"
|
||
|
|
app:cardElevation="0dp"
|
||
|
|
app:layout_constraintDimensionRatio="1:1"
|
||
|
|
app:layout_constraintEnd_toStartOf="@id/hotseat_icon_4"
|
||
|
|
app:layout_constraintStart_toEndOf="@id/hotseat_icon_2"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:id="@+id/hotseat_icon_4"
|
||
|
|
android:layout_width="@dimen/gesture_tutorial_hotseat_icon_size"
|
||
|
|
android:layout_height="@dimen/gesture_tutorial_hotseat_icon_size"
|
||
|
|
|
||
|
|
app:cardBackgroundColor="@color/gesture_home_tutorial_background"
|
||
|
|
app:cardCornerRadius="@dimen/gesture_tutorial_hotseat_icon_corner_radius"
|
||
|
|
app:cardElevation="0dp"
|
||
|
|
app:layout_constraintDimensionRatio="1:1"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toEndOf="@id/hotseat_icon_3"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="@dimen/gesture_tutorial_hotseat_search_height"
|
||
|
|
android:layout_marginTop="@dimen/gesture_tutorial_hotseat_icon_search_margin"
|
||
|
|
|
||
|
|
app:cardBackgroundColor="@color/gesture_home_tutorial_background"
|
||
|
|
app:cardCornerRadius="@dimen/gesture_tutorial_hotseat_search_corner_radius"
|
||
|
|
app:cardElevation="0dp"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/hotseat_icon_1" />
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|