Files
app_Settings/res/layout/preference_widget_gear_optional_background.xml
Edgar Wang e0773a6a59 Update widget layout of Preferences
- min width should be 48dp
- widget should not add paddingStart/End

Bug: 418025176
Test: atest & visual
Flag: EXEMPT resource update
Change-Id: Icfb8d94469a0da1f112dc3f8ce4d4d03003b1aec
2025-05-28 07:09:08 -07:00

27 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2011 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.
-->
<!-- Settings button without ripple background. -->
<ImageView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/settings_button"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:scaleType="center"
android:src="@drawable/ic_settings_accent"
android:contentDescription="@string/settings_button" />