Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed Issue14

  • Loading branch information...
commit b281cc36cd64a576bd11a99c7406d2eb3d1ba89f 1 parent 5f2db7d
@shaque authored
Showing with 2 additions and 5 deletions.
  1. +2 −5 SocialApp/src/mypackage/SocialScreen.java
View
7 SocialApp/src/mypackage/SocialScreen.java
@@ -21,7 +21,6 @@
import net.rim.blackberry.api.sendmenu.SendCommandRepository;
import net.rim.device.api.system.Bitmap;
import net.rim.device.api.system.Display;
-import net.rim.device.api.ui.Color;
import net.rim.device.api.ui.DrawStyle;
import net.rim.device.api.ui.Field;
import net.rim.device.api.ui.UiApplication;
@@ -124,10 +123,8 @@ public int getPreferredWidth() {
// An EditField to let the user type in the text to share.
textField = new EditField("", "Share this please.");
- textField.setBorder(BorderFactory.createBitmapBorder(new XYEdges(9, 9, 9, 9), Bitmap.getBitmapResource("border.png")));
- textField.setTextFillColor(Color.WHITE);
- textField.setTextStrokeColor(Color.WHITE);
-
+ textField.setBorder(BorderFactory.createRoundedBorder(new XYEdges(3, 3, 3, 3)));
+
// A button that initiates the Text Share
shareTextButton = new ButtonField("Text Share", Field.FIELD_HCENTER) {
protected boolean navigationClick(int arg0, int arg1) {
Please sign in to comment.
Something went wrong with that request. Please try again.