Loading res/layout-v36/preference_ambient_volume_expressive.xml +1 −2 Original line number Diff line number Diff line Loading @@ -34,8 +34,7 @@ android:layout_width="wrap_content" android:layout_height="match_parent" android:gravity="end|center_vertical" android:paddingStart="@dimen/settingslib_expressive_space_small1" android:paddingEnd="0dp" android:minWidth="@dimen/settingslib_expressive_space_medium4" android:orientation="vertical"/> </LinearLayout> No newline at end of file res/layout/expressive_preference_circular_icons.xml +1 −2 Original line number Diff line number Diff line Loading @@ -30,7 +30,6 @@ <include layout="@layout/settingslib_expressive_preference_icon_frame"/> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="@dimen/settingslib_expressive_space_none" android:layout_height="wrap_content" android:layout_weight="1" Loading Loading @@ -80,7 +79,7 @@ android:id="@android:id/widget_frame" android:layout_width="wrap_content" android:layout_height="match_parent" android:minWidth="@dimen/two_target_min_width" android:minWidth="@dimen/settingslib_expressive_space_medium4" android:gravity="center" android:orientation="vertical" /> Loading res/layout/preference_widget_gear.xml +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="center" android:background="?android:attr/selectableItemBackground" android:scaleType="centerInside" android:src="@drawable/ic_settings_accent" android:contentDescription="@string/settings_button" /> res/layout/preference_widget_gear_optional_background.xml +8 −30 Original line number Diff line number Diff line Loading @@ -14,35 +14,13 @@ limitations under the License. --> <!-- Settings button with optional ripple background through toggling visiblity. --> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"> <!-- Settings button without ripple background. --> <ImageView android:id="@+id/settings_button_no_background" 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" /> <!-- Additional overdraw background to stop parent's material ripple --> <FrameLayout 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:visibility="invisible" android:background="?android:attr/colorBackground"> <ImageView android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="center" android:paddingStart="?android:attr/listPreferredItemPaddingEnd" android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" android:background="?android:attr/selectableItemBackground" android:scaleType="center" android:src="@drawable/ic_settings_accent" android:contentDescription="@string/settings_button" /> </FrameLayout> </FrameLayout> res/layout/wifi_button_preference_widget.xml +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ android:id="@+id/button_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:minWidth="@dimen/two_target_min_width" android:minWidth="@dimen/min_tap_target_size" android:minHeight="@dimen/min_tap_target_size" android:layout_gravity="center" android:background="?android:attr/selectableItemBackground"/> Loading
res/layout-v36/preference_ambient_volume_expressive.xml +1 −2 Original line number Diff line number Diff line Loading @@ -34,8 +34,7 @@ android:layout_width="wrap_content" android:layout_height="match_parent" android:gravity="end|center_vertical" android:paddingStart="@dimen/settingslib_expressive_space_small1" android:paddingEnd="0dp" android:minWidth="@dimen/settingslib_expressive_space_medium4" android:orientation="vertical"/> </LinearLayout> No newline at end of file
res/layout/expressive_preference_circular_icons.xml +1 −2 Original line number Diff line number Diff line Loading @@ -30,7 +30,6 @@ <include layout="@layout/settingslib_expressive_preference_icon_frame"/> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="@dimen/settingslib_expressive_space_none" android:layout_height="wrap_content" android:layout_weight="1" Loading Loading @@ -80,7 +79,7 @@ android:id="@android:id/widget_frame" android:layout_width="wrap_content" android:layout_height="match_parent" android:minWidth="@dimen/two_target_min_width" android:minWidth="@dimen/settingslib_expressive_space_medium4" android:gravity="center" android:orientation="vertical" /> Loading
res/layout/preference_widget_gear.xml +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="center" android:background="?android:attr/selectableItemBackground" android:scaleType="centerInside" android:src="@drawable/ic_settings_accent" android:contentDescription="@string/settings_button" />
res/layout/preference_widget_gear_optional_background.xml +8 −30 Original line number Diff line number Diff line Loading @@ -14,35 +14,13 @@ limitations under the License. --> <!-- Settings button with optional ripple background through toggling visiblity. --> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"> <!-- Settings button without ripple background. --> <ImageView android:id="@+id/settings_button_no_background" 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" /> <!-- Additional overdraw background to stop parent's material ripple --> <FrameLayout 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:visibility="invisible" android:background="?android:attr/colorBackground"> <ImageView android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="center" android:paddingStart="?android:attr/listPreferredItemPaddingEnd" android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" android:background="?android:attr/selectableItemBackground" android:scaleType="center" android:src="@drawable/ic_settings_accent" android:contentDescription="@string/settings_button" /> </FrameLayout> </FrameLayout>
res/layout/wifi_button_preference_widget.xml +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ android:id="@+id/button_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:minWidth="@dimen/two_target_min_width" android:minWidth="@dimen/min_tap_target_size" android:minHeight="@dimen/min_tap_target_size" android:layout_gravity="center" android:background="?android:attr/selectableItemBackground"/>