Commit 769263d0 authored by Edy Thenedy's avatar Edy Thenedy

Added some lines to make it look better

parent 46205330
......@@ -114,7 +114,7 @@ public class Listings extends Activity implements OnClickListener,BookshareAPI {
{
display("","");
display("Image" + "\ngoes" + "\nhere", "Title: Java\n" + "Price: " + listing[i].getPrice() + "\n" + "ISBN: 124546464445");
displaySellerButton("", "Contact: " + seller[i].getFullName() + "\n"); // To display the sellerButton on the second table
displaySellerButton("", "Seller: " + seller[i].getFullName() + "\n"); // To display the sellerButton on the second table
display("","");
// Ruler - To print the ruler after each listing
......@@ -128,7 +128,7 @@ public class Listings extends Activity implements OnClickListener,BookshareAPI {
}
while(i < price.length);
display("Seller id: ", "Seller Name : ");
display("Seller id: ", "Seller name : ");
display("Author id: ", "Author Name:" + author + "\nBook Info: ");
......@@ -147,7 +147,7 @@ public class Listings extends Activity implements OnClickListener,BookshareAPI {
lblid.setTextSize((float) 12);
lblid.setTypeface(null, 1);
lblid.setBackgroundColor(Color.TRANSPARENT);
lblid.setPadding(30, 0, 0, 0);
lblid.setPadding(30, 0, 0, 0); // (30,0,0,0)
tr2.setPadding(0, 1, 0, 0);
......@@ -188,7 +188,8 @@ public class Listings extends Activity implements OnClickListener,BookshareAPI {
lblid.setTextSize((float) 12);
lblid.setTypeface(null, 1);
lblid.setBackgroundColor(Color.TRANSPARENT);
lblid.setPadding(30, 0, 0, 0);
lblid.setPadding(120, 0, 0, 0); // (30, 0, 0, 0)
// find the length of a screen
tr2.setPadding(0, 1, 0, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment