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 7584757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T18:59:52+00:00 2026-05-30T18:59:52+00:00

The following is the code for login button: <button type=submit data-theme=a id=loginButton>Login</button> Now, i

  • 0

The following is the code for login button:

    <button type="submit" data-theme="a" id="loginButton">Login</button> 

Now, i have to increase the Login button size and display at the center of the Page. Please share if any ideas.

  • 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-30T18:59:53+00:00Added an answer on May 30, 2026 at 6:59 pm

    If you are using ecplise, then you can use the Layout weight under the Property section of the button
    Or a quicker way would be to set

       <button 
        type="submit" 
        data-theme="a" 
        android:layout_width="40dp"  //set size depending on your requirements
         android:layout_width="wrap_content"
        android:layout_centerInParent="true"   
        id="loginButton">
    
           Login
    
      </button> 
    

    EDIT: Sorry, I thought you desired to increase the size of button. For centering it , use
    RelativeLayout

        <RelativeLayout android:id="@+id/RelativeLayout01" 
          android:layout_width="fill_parent" 
          android:layout_height="fill_parent"
          xmlns:android="http://schemas.android.com/apk/res/android">
    
          <button 
            type="submit" 
            data-theme="a" 
            android:layout_width="40dp"  //set size depending on your requirements
            android:layout_width="wrap_content"
            android:layout_centerInParent="true"   
           id="loginButton">
    
           Login
    
        </button> 
    
     </RelativeLayout>
    

    The attribute android:layout_centerInParent="true" will center it with respect to the screen

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

Sidebar

Related Questions

I have the following code: <?php if (!$user) { ?> <div class=fb-login-button data-perms=email,user_birthday,publish_stream>Login with
I am using the following code to rendered the facebook login button <div id=facebook-login>
I have the following code but the FB.login gives a FB is not defined
I have the following button on a .aspx page: <asp:Button runat=server ID=bntLogin OnClick=bntLogin_Click Text=Login
I have the following code to get user data form facebook <div id=fb-root></div> <script>
Please help. I have page login/auth.gsp with the following code inside the body <div
I have the following code: HTML: <div id=login class=transparent-div login_leaf_class> <input class=pointer login_fields_button id=submit_button
I'm new to Selenium IDE. I have a login form with the following button
I have a form with html browse type and a submit button. I chose
I want to use the following code to login to a website which returns

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.