Closed rfermontero closed 8 years ago
Reply by email does not work for issues?
Currently I don't think this is possible. But in theory you could make a custom action that aligns to the right. An action with the id R.id.actionbar_item_home is automatically set as the home action. This is only partly supported in the honeycomb branch though from getActionView on an action, https://github.com/johannilsson/android-actionbar/blob/honeycomb-support/actionbar/src/com/markupartist/android/widget/ActionBar.java#L1567
But with a few modifications on the Action implementation this should be possible to do.
Sorry, i want to aling to de left not right. I have
ActionBar actionBar = (ActionBar) findViewById(R.id.actionbar);
actionBar.setHomeLogo(R.drawable.logo);
actionBar.setDisplayHomeAsUpEnabled(true);
actionBar.setTitle("Lugares");
But mi action bar puts
Name Icon
Can i set the icon first and the name next to de icon?
What that i need modify to aling the logo to the right?Its apperead at center. I have this code: