diff --git a/packages/SystemUI/res/layout/qs_footer.xml b/packages/SystemUI/res/layout/qs_footer.xml index 0a848c0769e5c..047f7aa704e4b 100644 --- a/packages/SystemUI/res/layout/qs_footer.xml +++ b/packages/SystemUI/res/layout/qs_footer.xml @@ -37,78 +37,79 @@ android:layout_width="wrap_content" android:layout_height="match_parent" /> - + - - - - - - - - - - + android:focusable="true"> + + + + android:id="@android:id/edit" + android:layout_width="48dp" + android:layout_height="48dp" + android:background="?android:attr/selectableItemBackgroundBorderless" + android:clickable="true" + android:clipToPadding="false" + android:contentDescription="@string/accessibility_quick_settings_edit" + android:focusable="true" + android:padding="16dp" + android:src="@drawable/ic_mode_edit" + android:tint="?android:attr/colorForeground"/> - + - + + + + + + + + diff --git a/packages/SystemUI/src/com/android/systemui/qs/QSFooter.java b/packages/SystemUI/src/com/android/systemui/qs/QSFooter.java index 4f484b6cc8f7f..063f5dfd1f07e 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/QSFooter.java +++ b/packages/SystemUI/src/com/android/systemui/qs/QSFooter.java @@ -33,6 +33,7 @@ import android.support.annotation.VisibleForTesting; import android.util.AttributeSet; import android.view.View; import android.view.View.OnClickListener; +import android.widget.FrameLayout; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; @@ -63,7 +64,7 @@ import com.android.systemui.statusbar.policy.UserInfoController; import com.android.systemui.statusbar.policy.UserInfoController.OnUserInfoChangedListener; import com.android.systemui.tuner.TunerService; -public class QSFooter extends LinearLayout implements +public class QSFooter extends FrameLayout implements NextAlarmChangeCallback, OnClickListener, OnUserInfoChangedListener, EmergencyListener, SignalCallback { private static final float EXPAND_INDICATOR_THRESHOLD = .93f;