Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 29c04ef8 authored by Adam Powell's avatar Adam Powell
Browse files

Set an ID for the action bar's Spinner

This ensures state is preserved properly.

Change-Id: I4bdccaf9b8a30a0a38466a5615cebbb596d80fb4
parent 235ae5f6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -687,6 +687,7 @@ public class ActionBarView extends AbsActionBarView {
                if (mSpinner == null) {
                    mSpinner = new Spinner(mContext, null,
                            com.android.internal.R.attr.actionDropDownStyle);
                    mSpinner.setId(com.android.internal.R.id.action_bar_spinner);
                    mListNavLayout = new LinearLayout(mContext, null,
                            com.android.internal.R.attr.actionBarTabBarStyle);
                    LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(
+1 −0
Original line number Diff line number Diff line
@@ -79,4 +79,5 @@
  <item type="id" name="action_menu_presenter" />
  <item type="id" name="overflow_menu_presenter" />
  <item type="id" name="popup_submenu_presenter" />
  <item type="id" name="action_bar_spinner" />
</resources>
+1 −0
Original line number Diff line number Diff line
@@ -218,6 +218,7 @@
  <java-symbol type="id" name="sms_short_code_remember_choice_checkbox" />
  <java-symbol type="id" name="sms_short_code_remember_undo_instruction" />
  <java-symbol type="id" name="breadcrumb_section" />
  <java-symbol type="id" name="action_bar_spinner" />

  <java-symbol type="attr" name="actionModeShareDrawable" />
  <java-symbol type="attr" name="alertDialogCenterButtons" />