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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T09:39:45+00:00 2026-06-15T09:39:45+00:00

I am using the one seek bar In my Application and I set the

  • 0

I am using the one seek bar In my Application and I set the one custom drawable (shape) to set thumb.

Following is my drawable(seekbar_circle_normal.xml) code snippet :

<item>
    <shape android:shape="rectangle" >
        <solid android:color="#FDC300" />
        <size
            android:height="16dp"
            android:width="16dp" />
        <padding 
            />
        <corners
            android:bottomLeftRadius="23dp"
            android:bottomRightRadius="23dp"
            android:topLeftRadius="23dp"
            android:topRightRadius="23dp" />
    </shape>
</item>
 <item>
    <shape android:shape="rectangle" >
        <corners
            android:bottomLeftRadius="23dp"
            android:bottomRightRadius="23dp"
            android:topLeftRadius="23dp"
            android:topRightRadius="23dp" />
        <gradient
            android:angle="270"
            android:endColor="#33B7E7"
            android:gradientRadius="1"
            android:startColor="#33B7E7" >
        </gradient>
        <size
            android:height="3dp"
            android:width="3dp" />
        <stroke
            android:width="0.5dp"
            android:color="#1DA6AE" />
    </shape>
</item> 

My xml file code as follows :

I wants to display the thumb in to the center of seek bar. How I can show this.

Thanks in advance.

  • 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-06-15T09:39:46+00:00Added an answer on June 15, 2026 at 9:39 am

    you can find your answer at this.
    you need to set android:maxHeight and android:minHeight same. For ex

    android:maxHeight="3dp"
    android:minHeight="3dp"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm transforming xml using the following code. It works fine for one xslt but
I am using one signal and slot connection in a block. My code as
Iam developing one application.In that iam using one uiimageview.And take another image view and
I need to replace code using RandomAccessFile with one that uses in-memory byte buffer
Using Salsa20, how would one seek to a byte position (assume it's a multiple
Following is my code for inserting data into file Note: I have one structure
Currently I'm busy on a project using XML messaging. I have one general schema,
When using one of the various JDBC template methods I am confused on how
I m using one EditText field and one spinner. I have to pass teh
I am using one .g file for both lexer and parser. I have the

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.