• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?><!--
2  ~ Copyright (C) 2024 The Android Open Source Project
3  ~
4  ~ Licensed under the Apache License, Version 2.0 (the "License");
5  ~ you may not use this file except in compliance with the License.
6  ~ You may obtain a copy of the License at
7  ~
8  ~      http://www.apache.org/licenses/LICENSE-2.0
9  ~
10  ~ Unless required by applicable law or agreed to in writing, software
11  ~ distributed under the License is distributed on an "AS IS" BASIS,
12  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  ~ See the License for the specific language governing permissions and
14  ~ limitations under the License.
15  -->
16
17<androidx.constraintlayout.widget.ConstraintLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:app="http://schemas.android.com/apk/res-auto"
20    android:layout_width="match_parent"
21    android:layout_height="wrap_content"
22    android:paddingHorizontal="@dimen/customization_option_entry_horizontal_padding"
23    android:paddingVertical="@dimen/customization_option_entry_vertical_padding"
24    android:clickable="true">
25
26    <TextView
27        android:id="@+id/option_entry_app_grid_title"
28        style="@style/SectionTitleTextStyle"
29        android:layout_width="0dp"
30        android:layout_height="wrap_content"
31        android:text="@string/grid_title"
32        android:layout_marginEnd="@dimen/customization_option_entry_text_margin_end"
33        app:layout_constraintStart_toStartOf="parent"
34        app:layout_constraintEnd_toStartOf="@+id/option_entry_app_grid_icon"
35        app:layout_constraintBottom_toTopOf="@+id/option_entry_app_grid_description"
36        app:layout_constraintTop_toTopOf="parent"
37        app:layout_constraintVertical_chainStyle="packed" />
38
39    <TextView
40        android:id="@+id/option_entry_app_grid_description"
41        style="@style/SectionSubtitleTextStyle"
42        android:layout_width="0dp"
43        android:layout_height="wrap_content"
44        android:layout_marginEnd="@dimen/customization_option_entry_text_margin_end"
45        android:text="4x4"
46        app:layout_constraintBottom_toBottomOf="parent"
47        app:layout_constraintEnd_toStartOf="@+id/option_entry_app_grid_icon"
48        app:layout_constraintStart_toStartOf="parent"
49        app:layout_constraintTop_toBottomOf="@+id/option_entry_app_grid_title" />
50
51    <FrameLayout
52        android:id="@+id/option_entry_app_grid_icon"
53        android:layout_width="@dimen/customization_option_entry_icon_size"
54        android:layout_height="@dimen/customization_option_entry_icon_size"
55        android:orientation="horizontal"
56        android:background="@drawable/customization_option_entry_icon_background"
57        app:layout_constraintEnd_toEndOf="parent"
58        app:layout_constraintTop_toTopOf="parent"
59        app:layout_constraintBottom_toBottomOf="parent" />
60</androidx.constraintlayout.widget.ConstraintLayout>
61