mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-16 00:58:21 +00:00
- Added new layout files for mock screens. - Added new mock hotseat Bug: 198434693 Test: launched and completed tutorial on regular phone and foldable device. Change-Id: I1ad04f9e8e3a012528d6fd8fbaa0366687c65d06
108 lines
5.3 KiB
XML
108 lines
5.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<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="32dp"
|
|
android:paddingStart="170dp"
|
|
android:paddingEnd="170dp">
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:id="@+id/hotseat_search_bar"
|
|
android:layout_width="0dp"
|
|
android:layout_height="@dimen/gesture_tutorial_hotseat_search_height"
|
|
|
|
app:cardElevation="0dp"
|
|
app:cardCornerRadius="@dimen/gesture_tutorial_hotseat_search_corner_radius"
|
|
app:cardBackgroundColor="@color/mock_search_bar"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"/>
|
|
|
|
<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"
|
|
android:layout_marginTop="@dimen/gesture_tutorial_hotseat_icon_search_margin"
|
|
|
|
app:cardElevation="0dp"
|
|
app:cardCornerRadius="@dimen/gesture_tutorial_hotseat_icon_corner_radius"
|
|
app:cardBackgroundColor="@color/mock_app_icon_1"
|
|
app:layout_constraintDimensionRatio="1:1"
|
|
app:layout_constraintHorizontal_chainStyle="spread_inside"
|
|
app:layout_constraintTop_toBottomOf="@id/hotseat_search_bar"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toStartOf="@id/hotseat_icon_2"/>
|
|
|
|
<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"
|
|
android:layout_marginTop="@dimen/gesture_tutorial_hotseat_icon_search_margin"
|
|
|
|
app:cardElevation="0dp"
|
|
app:cardCornerRadius="@dimen/gesture_tutorial_hotseat_icon_corner_radius"
|
|
app:cardBackgroundColor="@color/mock_app_icon_2"
|
|
app:layout_constraintDimensionRatio="1:1"
|
|
app:layout_constraintTop_toBottomOf="@id/hotseat_search_bar"
|
|
app:layout_constraintStart_toEndOf="@id/hotseat_icon_1"
|
|
app:layout_constraintEnd_toStartOf="@id/hotseat_icon_3"/>
|
|
|
|
<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"
|
|
android:layout_marginTop="@dimen/gesture_tutorial_hotseat_icon_search_margin"
|
|
|
|
app:cardElevation="0dp"
|
|
app:cardCornerRadius="@dimen/gesture_tutorial_hotseat_icon_corner_radius"
|
|
app:cardBackgroundColor="@color/mock_app_icon_3"
|
|
app:layout_constraintDimensionRatio="1:1"
|
|
app:layout_constraintTop_toBottomOf="@id/hotseat_search_bar"
|
|
app:layout_constraintStart_toEndOf="@id/hotseat_icon_2"
|
|
app:layout_constraintEnd_toStartOf="@id/hotseat_icon_4"/>
|
|
|
|
<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"
|
|
android:layout_marginTop="@dimen/gesture_tutorial_hotseat_icon_search_margin"
|
|
|
|
app:cardElevation="0dp"
|
|
app:cardCornerRadius="@dimen/gesture_tutorial_hotseat_icon_corner_radius"
|
|
app:cardBackgroundColor="@color/mock_app_icon_1"
|
|
app:layout_constraintDimensionRatio="1:1"
|
|
app:layout_constraintTop_toBottomOf="@id/hotseat_search_bar"
|
|
app:layout_constraintStart_toEndOf="@id/hotseat_icon_3"
|
|
app:layout_constraintEnd_toStartOf="@id/hotseat_icon_5"/>
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:id="@+id/hotseat_icon_5"
|
|
android:layout_width="@dimen/gesture_tutorial_hotseat_icon_size"
|
|
android:layout_height="@dimen/gesture_tutorial_hotseat_icon_size"
|
|
android:layout_marginTop="@dimen/gesture_tutorial_hotseat_icon_search_margin"
|
|
|
|
app:cardElevation="0dp"
|
|
app:cardCornerRadius="@dimen/gesture_tutorial_hotseat_icon_corner_radius"
|
|
app:cardBackgroundColor="@color/mock_app_icon_4"
|
|
app:layout_constraintDimensionRatio="1:1"
|
|
app:layout_constraintTop_toBottomOf="@id/hotseat_search_bar"
|
|
app:layout_constraintStart_toEndOf="@id/hotseat_icon_4"
|
|
app:layout_constraintEnd_toStartOf="@id/hotseat_icon_6"/>
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:id="@+id/hotseat_icon_6"
|
|
android:layout_width="@dimen/gesture_tutorial_hotseat_icon_size"
|
|
android:layout_height="@dimen/gesture_tutorial_hotseat_icon_size"
|
|
android:layout_marginTop="@dimen/gesture_tutorial_hotseat_icon_search_margin"
|
|
|
|
app:cardElevation="0dp"
|
|
app:cardCornerRadius="@dimen/gesture_tutorial_hotseat_icon_corner_radius"
|
|
app:cardBackgroundColor="@color/mock_app_icon_2"
|
|
app:layout_constraintDimensionRatio="1:1"
|
|
app:layout_constraintTop_toBottomOf="@id/hotseat_search_bar"
|
|
app:layout_constraintStart_toEndOf="@id/hotseat_icon_5"
|
|
app:layout_constraintEnd_toEndOf="parent"/>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |