android


Android TextView linespacing


How to set the line spacing of TextView to 0?
I have tried:
android:lineSpacingExtra="0dp";
But it dosen't work, I know set the value to negtive will solve this problem
Is there any other solution to this problem?
You can use
android:lineSpacingExtra
and
android:lineSpacingMultiplier
in your XML file.
You can use:
android:lineSpacingMultiplier="0.8"
If the gap is still big use a smaller value than 0.8.
also use
android:lineSpacingMultiplier="0dp"
from code you can use textView.setLineSpacing() or from xml you can use android:lineSpacingExtra

Related Links

TabListener constructor in FragmentTabs.java
Rooting ICS emulator; pushing su fails with “Out of memory”
Getting An Error While Using Web Service?
Android Accessibility Support?
TextView Background Resource
gps using Network provider and gps provider?
Multi-screen apps for the google tv platform with just the Google TV emulator
How to recycle Bitmaps in gridview adapter?
blinking issue while playing two videos in single screen using videoview
Activity always be on top and act as a parent activity
How To Read Color Value?
Laying out bottom-aligned buttons
Android MapView getting corrupted after lengthy use
What exceptions should be captured when reading web file
Importing MonkeyRunner into Python script fails in Windows
Android scientific calculator

Categories

HOME
phantom-dsl
delphi-7
amp-html
datastore
serialization
package
owl-carousel
appcelerator
rds
pearson-correlation
tvos
fabric.io
project
little-proxy
activecollab
supervisor
dynatrace
dpdk
pimcore
gmock
beta
beautifier
angularjs-components
handler
testcomplete
cart
mailkit
linkedhashmap
card.io
gnat-gps
html-encode
python-import
apic
demo
typesafe-config
urlsession
skylink
stylecop
opencmis
servermanager
facebook-pixel
vugen
mongotemplate
qtranslate
colorbar
quicktime
rackspace-cloud
pybrain
rxtx
juice-ui
reachability
flex-monkey
hadoop-2.7.2
segment-io
jodd
qiime
stream-processing
lz77
linklabel
gocql
qt5.2
themoviedb-api
avisynth
flock
zen-cart
extjs-grid
toolkit
rdflib
entity-framework-4.3
osc
actionfilterattribute
procedural-programming
jbake
big-ip
iso-prolog
grails-plugin-rabbitmq
ray
dsym
amslidemenu
hibernate-entitymanager
gd-graph
away3d
ice-cube
gpars
cnf
route-provider
twisted.web
intersect
cakephp-1.2
boost-signals
httponly
update-statement
pylucene
multiplatform
inline-formset
luajava
lxr
silverlight-oob
fail-fast-fail-early
image-capture
cardspace

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App