Questions tagged [android-titlebar]

Android Bar that contains a title for the Application or for the current Screen. It is the same as the Android ActionBar.

151 questions
2
votes
1 answer

ViewPageIndicator- Jake Wharton- Why tabs with viewpager shows title unlike ICS?

I am attaching image to explain my question in more detail. Also attaching android manifest.
Rohit
  • 2,538
  • 6
  • 28
  • 41
1
vote
2 answers

How to create clickable icons on the Custom Title Bar

I want to create the click effect on the following type of custom title Bar. There are three functions in here:Home,Title and Search, clicking either of it should perform the further function. I was following this…
1
vote
2 answers

How to change the application name in android

In my project when application is get installed it naming the app name as {@string/welcome_msg} not {@string/app_name}. Is there any way to make the application name not same as Main Activity label? Below is my manifest code:-
AvMishra
  • 1,365
  • 3
  • 14
  • 25
1
vote
0 answers

How to hide title bar when back to onresume?

When I run app, leave the app, and then return (minimize or phone goes to sleep) my app's layout seems to have a title bar above even if I have try to use android:theme="@android:style/Theme.NoTitleBar.Fullscreen" How can I fix this? addition: I…
user790156
  • 2,718
  • 5
  • 20
  • 20
1
vote
0 answers

Android Studio app crashes when removing title bar

I am a bit of a newbie so please bear with me. Before anyone recommends me any other post, I have already looked through all posts, which there aren't many of, of people who have had this exact issue, and none of those solutions work. Whenever I…
Ethan
  • 21
  • 2
1
vote
0 answers

Set text color to top bar right buttons in overflow menu using react-native-navigation

I am trying to add right menus to the top bar in the form of overflow menu by setting the flag "showAsAction" to "never". The buttons are seen as expected in a popup, but in black text color. I need the text in blue color with an icon to the left.…
1
vote
2 answers

How to display 'wait' icon in activity title on android?

requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS) doesn't work for me, since it should be called before onCreate in the Activity, when I need to show it only when user pressed button in this Activity.
LA_
  • 19,823
  • 58
  • 172
  • 308
1
vote
1 answer

Android: Change alignment in the title bar

How do you change the horizontal alignment on the title bar? Right now the default is set to the left side and I am trying to get it to be set to the right side. Any ideas?
Connor
  • 211
  • 2
  • 8
  • 17
1
vote
1 answer

I can't get rid of the TitleBar in my Android app

I have tried several different fixes to get rid of the TitleBar in my app. I was able to get rid of the very top bar in MainActivity (with time, battery, etc) but the TitleBar would not go away. Here is the code I used to make the top bar go…
1
vote
4 answers

Center Action bar title

How can I center activity's action bar title in Android? I've seen MANY questions on SO for this specific topic. And every answer comes back to "using custom view" and having your own toolbar. I've found a solution that works without creating a…
ᴛʜᴇᴘᴀᴛᴇʟ
  • 4,466
  • 5
  • 39
  • 73
1
vote
0 answers

Android Action Bar Menu Item Title

Why does not show the action_call.title in the second device ?? I want to show the action_call.title on each device. this device Android 5.1.1 (api22) 7" this device Android 6.0 (api23) 5.96" this is my menu.xml
1
vote
0 answers

Find title textview in toolbar after replacing the ActionBar

The material scrolling activity can display title in the Coordinator-layout. We can get it by replacing actionbar with a toolbar by: Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); setSupportActionBar(toolbar); And the xml: …
T D Nguyen
  • 7,054
  • 4
  • 51
  • 71
1
vote
1 answer

Add Button to Title Bar only on one particular activity

I am bulding an android app where I have three separate activities MainActivity, ActivityOne, ActivityTwo. I have a title bar for all the activities. I am trying to add a Button to my ActivityOne Titile bar but if I add a button it is showing on all…
Rob
  • 150
  • 1
  • 4
  • 17
1
vote
0 answers

Gap/overlap between Title bar and grid view(fragment) in Android Studio

The Fragment does not start below the title bar; instead the title bar overlaps the fragment(gridview) MainActivity: public class MainActivity extends AppCompatActivity {@Override protected void onCreate(Bundle savedInstanceState) { …
1
vote
1 answer

android navigation drawer not showing title bar in kitkat

In my application , i created a navigation drawer using Android studio template. It works perfectly in Android 5.0 above devices but the title bar does not appear in Kitkat devices (only statius bar can be seen) , I was unable to find a solution,…