Loading res/drawable/customization_option_entry_icon_background.xml 0 → 100644 +21 −0 Original line number Diff line number Diff line <?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. --> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <solid android:color="@color/picker_section_icon_background" /> <corners android:radius="18dp" /> </shape> No newline at end of file res/layout/customization_option_entry_clock.xml 0 → 100644 +45 −0 Original line number Diff line number Diff line <?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. --> <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:clickable="true"> <TextView style="@style/SectionTitleTextStyle" android:layout_width="0dp" android:layout_height="wrap_content" android:text="@string/clock_title" android:layout_marginEnd="8dp" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toStartOf="@+id/option_entry_clock_icon" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="packed" /> <FrameLayout android:id="@+id/option_entry_clock_icon" android:layout_width="60dp" android:layout_height="60dp" android:orientation="horizontal" android:background="@drawable/customization_option_entry_icon_background" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent" /> </androidx.constraintlayout.widget.ConstraintLayout> res/layout/customization_option_entry_keyguard_quick_affordance.xml 0 → 100644 +79 −0 Original line number Diff line number Diff line <?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. --> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" android:clickable="true"> <TextView android:id="@+id/option_entry_keyguard_quick_affordance_title" style="@style/SectionTitleTextStyle" android:layout_width="0dp" android:layout_height="wrap_content" android:text="@string/keyguard_quick_affordance_title" android:layout_marginEnd="8dp" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toStartOf="@+id/option_entry_keyguard_quick_affordance_icon" app:layout_constraintBottom_toTopOf="@+id/option_entry_keyguard_quick_affordance_description" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="packed" /> <TextView android:id="@+id/option_entry_keyguard_quick_affordance_description" style="@style/SectionSubtitleTextStyle" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginEnd="8dp" android:text="None" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/option_entry_keyguard_quick_affordance_icon" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/option_entry_keyguard_quick_affordance_title" tools:text="Wallet, Nest" /> <LinearLayout android:id="@+id/option_entry_keyguard_quick_affordance_icon" android:layout_width="60dp" android:layout_height="60dp" android:orientation="horizontal" android:background="@drawable/customization_option_entry_icon_background" android:divider="@drawable/horizontal_divider_14dp" android:layout_gravity="center" android:showDividers="middle" android:importantForAccessibility="noHideDescendants" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent"> <ImageView android:id="@+id/option_entry_keyguard_quick_affordance_icon_1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:visibility="gone" android:tint="@color/system_on_surface" /> <ImageView android:id="@+id/option_entry_keyguard_quick_affordance_icon_2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:visibility="gone" android:tint="@color/system_on_surface" /> </LinearLayout> </androidx.constraintlayout.widget.ConstraintLayout> res/layout/customization_option_entry_more_lock_settings.xml 0 → 100644 +46 −0 Original line number Diff line number Diff line <?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. --> <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:clickable="true"> <TextView android:id="@+id/option_entry_more_lock_settings_title" style="@style/SectionTitleTextStyle" android:layout_width="0dp" android:layout_height="wrap_content" android:text="@string/more_settings_section_title" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintBottom_toTopOf="@+id/option_entry_more_lock_settings_description" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="packed" /> <TextView android:id="@+id/option_entry_more_lock_settings_description" style="@style/SectionSubtitleTextStyle" android:layout_width="0dp" android:layout_height="wrap_content" android:text="@string/more_settings_section_description" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/option_entry_more_lock_settings_title" /> </androidx.constraintlayout.widget.ConstraintLayout> res/layout/customization_option_entry_show_notifications.xml 0 → 100644 +48 −0 Original line number Diff line number Diff line <?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. --> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" android:clickable="true"> <TextView style="@style/SectionTitleTextStyle" android:layout_width="0dp" android:layout_height="wrap_content" android:text="@string/show_notifications_on_lock_screen" android:layout_marginEnd="8dp" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toStartOf="@+id/option_entry_show_notifications_switch" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="packed" /> <Switch android:id="@+id/option_entry_show_notifications_switch" android:layout_width="wrap_content" android:layout_height="wrap_content" android:focusable="false" android:clickable="false" app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" style="@style/Switch.SettingsLib" tools:ignore="UseSwitchCompatOrMaterialXml" /> </androidx.constraintlayout.widget.ConstraintLayout> No newline at end of file Loading
res/drawable/customization_option_entry_icon_background.xml 0 → 100644 +21 −0 Original line number Diff line number Diff line <?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. --> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <solid android:color="@color/picker_section_icon_background" /> <corners android:radius="18dp" /> </shape> No newline at end of file
res/layout/customization_option_entry_clock.xml 0 → 100644 +45 −0 Original line number Diff line number Diff line <?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. --> <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:clickable="true"> <TextView style="@style/SectionTitleTextStyle" android:layout_width="0dp" android:layout_height="wrap_content" android:text="@string/clock_title" android:layout_marginEnd="8dp" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toStartOf="@+id/option_entry_clock_icon" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="packed" /> <FrameLayout android:id="@+id/option_entry_clock_icon" android:layout_width="60dp" android:layout_height="60dp" android:orientation="horizontal" android:background="@drawable/customization_option_entry_icon_background" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent" /> </androidx.constraintlayout.widget.ConstraintLayout>
res/layout/customization_option_entry_keyguard_quick_affordance.xml 0 → 100644 +79 −0 Original line number Diff line number Diff line <?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. --> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" android:clickable="true"> <TextView android:id="@+id/option_entry_keyguard_quick_affordance_title" style="@style/SectionTitleTextStyle" android:layout_width="0dp" android:layout_height="wrap_content" android:text="@string/keyguard_quick_affordance_title" android:layout_marginEnd="8dp" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toStartOf="@+id/option_entry_keyguard_quick_affordance_icon" app:layout_constraintBottom_toTopOf="@+id/option_entry_keyguard_quick_affordance_description" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="packed" /> <TextView android:id="@+id/option_entry_keyguard_quick_affordance_description" style="@style/SectionSubtitleTextStyle" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginEnd="8dp" android:text="None" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/option_entry_keyguard_quick_affordance_icon" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/option_entry_keyguard_quick_affordance_title" tools:text="Wallet, Nest" /> <LinearLayout android:id="@+id/option_entry_keyguard_quick_affordance_icon" android:layout_width="60dp" android:layout_height="60dp" android:orientation="horizontal" android:background="@drawable/customization_option_entry_icon_background" android:divider="@drawable/horizontal_divider_14dp" android:layout_gravity="center" android:showDividers="middle" android:importantForAccessibility="noHideDescendants" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent"> <ImageView android:id="@+id/option_entry_keyguard_quick_affordance_icon_1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:visibility="gone" android:tint="@color/system_on_surface" /> <ImageView android:id="@+id/option_entry_keyguard_quick_affordance_icon_2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:visibility="gone" android:tint="@color/system_on_surface" /> </LinearLayout> </androidx.constraintlayout.widget.ConstraintLayout>
res/layout/customization_option_entry_more_lock_settings.xml 0 → 100644 +46 −0 Original line number Diff line number Diff line <?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. --> <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:clickable="true"> <TextView android:id="@+id/option_entry_more_lock_settings_title" style="@style/SectionTitleTextStyle" android:layout_width="0dp" android:layout_height="wrap_content" android:text="@string/more_settings_section_title" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintBottom_toTopOf="@+id/option_entry_more_lock_settings_description" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="packed" /> <TextView android:id="@+id/option_entry_more_lock_settings_description" style="@style/SectionSubtitleTextStyle" android:layout_width="0dp" android:layout_height="wrap_content" android:text="@string/more_settings_section_description" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/option_entry_more_lock_settings_title" /> </androidx.constraintlayout.widget.ConstraintLayout>
res/layout/customization_option_entry_show_notifications.xml 0 → 100644 +48 −0 Original line number Diff line number Diff line <?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. --> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" android:clickable="true"> <TextView style="@style/SectionTitleTextStyle" android:layout_width="0dp" android:layout_height="wrap_content" android:text="@string/show_notifications_on_lock_screen" android:layout_marginEnd="8dp" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toStartOf="@+id/option_entry_show_notifications_switch" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="packed" /> <Switch android:id="@+id/option_entry_show_notifications_switch" android:layout_width="wrap_content" android:layout_height="wrap_content" android:focusable="false" android:clickable="false" app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" style="@style/Switch.SettingsLib" tools:ignore="UseSwitchCompatOrMaterialXml" /> </androidx.constraintlayout.widget.ConstraintLayout> No newline at end of file