Please refer to my project at: https://github.com/paulpv/ToolbarSwitch
I am working on a simple custom layout for the Android Toolbar (aka: new ActionBar). This simp
I was following your code to add Switch to my action bar and I was able to solve your problem with the "jumping text" by setting the width of the Switch to wrap_content like this: