android-titlebar Questions
4
In the manifest file I have this line to my application tag
android:theme="@android:style/Theme.NoTitleBar"
and basically every activity doesn't have a title bar, but for one of the activities I...
Convent asked 29/4, 2013 at 15:17
9
I have a fragment where I try to change the title of the actionbar. This worked until i added setHasOptionsMenu(true) to the fragment.
How can i solve this? Because I need the optionsmenu in the fr...
Unknow asked 6/4, 2016 at 19:49
5
i know this question has been made before here, but i have tried the solution given and i don't get the preview look in the exact style like the device does.
I am using a Samsung Galaxy S3 mini on...
Gilud asked 21/5, 2015 at 0:30
9
Unable to change toolbar title I set title in manifeast.xml & also used setTitle("TITLE");
I set title as History & Reports but it display different title Notifications which is another ac...
Cortex asked 21/3, 2017 at 5:34
3
Solved
i have already set the theme of my activity as android:theme = "@android:style/Theme.Dialog"
but i also want to remove the title bar of the activity. so how to use
android:theme="@android:style/Th...
Luxemburg asked 13/11, 2010 at 8:55
3
Solved
Seems pretty simple question, but could't find any answer.
How to change the toolbar title.
The toolbar is created by AppCompat Activity,not a custom created one.
It has the app name as default.I ...
Sharl asked 15/12, 2017 at 16:0
12
I already remove the title in onCreate() method.
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
final ActionBar...
Moo asked 24/7, 2013 at 4:58
2
Solved
I am aware that there are two methods to setting a title in an Android Activity.
Assuming I already have the following code...
@Override
protected void onCreate(Bundle savedInstanceState) {
supe...
Quoth asked 6/12, 2015 at 13:45
2
How could force android application to reload activity title when the language of the application has been changed? For your information, the application reloads the title only when the device is r...
Largeminded asked 22/12, 2013 at 4:52
3
In my activity that extends the FragmentActivity class, I can't disable the title using this.requestWindowFeature(Window.FEATURE_NO_TITLE);. It gives an ANR.
How can I disable a FragmentActivity's...
Easement asked 6/3, 2013 at 22:48
2
I need resize this part size to full display. How can i do this?
My adapter:
String[] navigations = getResources().getStringArray(R.array.actionBar);
ArrayAdapter<String> adapter = new A...
Zoon asked 14/8, 2013 at 15:20
2
Solved
All the solutions I have found so far for changing the color of the activity's title bar (i.e. the one accessed via activity.setTitle() and activity.setProgress()) mandate a FEATURE_CUSTOM_TITLE:
...
Mortician asked 29/6, 2012 at 14:39
1
Solved
In my onCreate() I set a progress bar as follows:
getWindow().requestFeature(Window.FEATURE_PROGRESS);
getWindow().setFeatureInt( Window.FEATURE_PROGRESS, Window.PROGRESS_VISIBILITY_ON);
Now, wi...
Allie asked 28/6, 2012 at 23:38
4
The Android Developers reference lists R.id.progress among the built-in View resources available.
Yet, when I issue (in my activity class) the statement:
View pv = getWindow().findViewById(androi...
Undertook asked 2/7, 2012 at 19:13
3
Solved
I create the custom title using the style.I code some from http://labs.makemachine.net/2010/03/custom-android-window-title/
I have also set the icon in title bar using the setFeatureDrawableResour...
Stretch asked 20/5, 2011 at 4:32
1
In my Android application I've hidden the default title bar, introduced a TabView and added my own titlebar under that TabView's tabs. At the moment, I'm using the ?android:attr/windowTitleStyle st...
Lagging asked 10/8, 2010 at 15:46
1
© 2022 - 2024 — McMap. All rights reserved.