Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6948915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:53:07+00:00 2026-05-27T13:53:07+00:00

I have a problem about the title bar. I want to do 2 buttons

  • 0

I have a problem about the title bar. I want to do 2 buttons in the title bar, but it is seen really bad. First I was thinking I got the button height too big, but when I change the button height nothing is changed. I don’t want a custom titlebar and I can’t see the text in the button. Can anybody help me?


title bar

My code:

<?xml version="1.0" encoding="utf-8"?>

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:id="@+id/titleLayout">

    <Button android:id="@+id/done"
            android:layout_width="60dip"
            android:layout_height="38dip"
            android:text="done"
            android:layout_toRightOf="@+id/edit"
           >

    </Button>

    <Button android:id="@+id/edit"
            android:layout_width="60dip"
            android:layout_height="38dip"
            android:text="edit"

            >
    </Button>

    </RelativeLayout>



code nippet:

     final boolean customTitle = requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); 
       if ( customTitle ) { Window win = getWindow(); 
  win.setFeatureInt(Window.FEATURE_CUSTOM_TITLE,R.layout.title);
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T13:53:08+00:00Added an answer on May 27, 2026 at 1:53 pm

    Jsut try to make your RelativeLayout‘s height WRAP_CONTENT

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem about div position relative alignment. I want the second div
I have a little problem about using jQuery (I really do not know jQuery
I have got a strange problem about in_array recently which I cannot understand. e.g.
I have got a performance problem about TextField.htmlText +=msg .And I know that TextField.appendText(msg)
i have a problem. i want to get info about my string have other
So I have a problem that I don't really know how to go about.
The problem is not about randomness itself (we have rand), but in cryptographically secure
Sorry about the title, couldn't really think of anything else to describe the problem
Well, sorry about the confusing title but I'm having a slightly annoying problem with
I am using MFC CFile Seek function. I have a problem about Seek out

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.