This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Android and the fly likes Drawing Line: shape vs View? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Drawing Line: shape vs View?" Watch "Drawing Line: shape vs View?" New topic
Author

Drawing Line: shape vs View?

Kelly Powell
Ranch Hand

Joined: Oct 29, 2010
Posts: 56
In Android, one can draw a line using shape or View. Assuming that I am using the code below, which is better in terms of efficiency, etc if I am planning to reuse the line in other Activities? Why?

Using shape: (Will then be use as a background for a certain text.)

Using View: (Will then be placed on top of a certain text.)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Drawing Line: shape vs View?
 
It's not a secret anymore!