Questions tagged [options-menu]
108 questions
-1
votes
2 answers
android: how to change Text size, color of Options Menu Items and options menu height and width
I have used the following code to customize the background of options menu successfully.
getLayoutInflater().setFactory(new Factory() {
@Override
public View onCreateView(String name, Context context, AttributeSet attrs) {
if…

Venkat Papana
- 4,757
- 13
- 52
- 74
-1
votes
1 answer
Using Option menu for non-physical buttons devices
I am developing an application that must hide title bar to increase screen spaces and for design issues. on non-physical buttons devices like nexus-4 and for Android > 3.0, I can't switch to use Action bar because the title bar is hidden, and in the…

JustMe
- 6,065
- 3
- 19
- 17
-2
votes
2 answers
Fragments addToBackStack Closing the application
I am calling some fragments from HomeScreen.java. Now whenever i press back button in any fragment, its closes the application. But i want previous fragment which was loaded.Following is HomeScreen.java code.
public class HomeScreen extends…

malli
- 642
- 2
- 12
- 30