We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I'm trying to set a custom glass actionbar on top of a listview, but I get a white background. Here's my code
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); chatAdapter = new ChatAdapter(); glassActionBarHelper = new GlassActionBarHelper().contentLayout(R.layout.activity_chat, chatAdapter); setContentView(glassActionBarHelper.createView(this));
ActionBar ab = getActionBar(); ab.setDisplayHomeAsUpEnabled(true); View mActionbar = getLayoutInflater().inflate(R.layout.chat_action_bar, null); ab.setCustomView(mActionbar); ab.setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM);
}
The text was updated successfully, but these errors were encountered:
you can override the onCreateOptionsMenu method
Sorry, something went wrong.
No branches or pull requests
Hi, I'm trying to set a custom glass actionbar on top of a listview, but I get a white background.
Here's my code
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
chatAdapter = new ChatAdapter();
glassActionBarHelper = new GlassActionBarHelper().contentLayout(R.layout.activity_chat, chatAdapter);
setContentView(glassActionBarHelper.createView(this));
}
The text was updated successfully, but these errors were encountered: