android


How adjust the drawable in seek bar


In my application I have a SeekBar. I applied a custom drawable to it using layer-list
my code is `
<?xml version="1.0" encoding="UTF-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="#+android:id/background"
android:drawable="#drawable/profilecompleteness" />
<item
android:id="#+android:id/progress"
android:drawable="#drawable/profilecomplete_fill" />
</layer-list>`
and code for SeekBar is
<SeekBar
android:id="#+id/user_profile_progressBar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:progressDrawable="#drawable/custom_seekbar"
android:thumb="#drawable/transparent" />
when use this code my seek bar displays only half image of drawable. How to can I show full image in the drawable.

Related Links

Android UI LinearLayout out of “phone screen”
How do I get the coordinates of an image same on all devices?
Recyclerview child items width
Keystore lost [Hypothetical scenario]. How to restore app
Couldn't resolve resource #drawable/email
Android notification start when ever I open app
How to identify Android Support Library versions in gradle?
How to move textViews between layouts in Android?
How to get id of view in the listview
Ionic 2 OnPause and OnResume the previous page is not maintained?
Open Android Device in Genymotion from Expo XDE gives error
Unknow fatal error
NavigationView with a NestedScrollView inside does not fling
ProgressBar keeps loading (Android)
How to display a different value on top of bar
Sending Sms in Android on reaching a Location

Categories

HOME
android
django
go
jax-rs
pda
jmx
xbee
echo
data-visualization
performancepoint
spin
drop-down-menu
project-intu
alamofire
jsonpath
speech-synthesis
event-sourcing
internationalization
searchview
drive
dpdk
flask-sqlalchemy
gmock
roundup
froala
moses
gpio
firebase-analytics
carrierwave
vex
gitlab-api
recurring-events
gojs
pdw-file-browser
batching
reactivekit
password-protection
demo
mongoose-schema
kill
xv6
linqpad
dynamic-linq
jquery-ui-draggable
geotiff
page-replacement
video-conferencing
qtranslate
tinkerpop
backbone-collections
dt
django-1.10
docpad
meteor-packages
myspace
windows-azure-queues
mapinfo
appscale
omniauth-facebook
project-organization
libav
pushbots
qbxml
grgit
gocql
iokit
file-move
iced-coffeescript
atoi
gamekit
mass-assignment
teaspoon
jama
syndicationfeed
embedded-fonts
c++builder-xe5
code-duplication
inputmismatchexception
inappsettingskit
cnf
time.h
epiceditor
css-reset
cascadingdropdown
garbage
appjs
landscape-portrait
listactivity
cdonts
ie-compatibility-mode
binomial-heap
sun
windows-identity

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App