android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="2"
- android:text="@string/recipient"
- />
-
- <TextView
- android:id="@+id/hold_recipient"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="4"
- android:gravity="left"
- android:text="yomomma"
- android:layout_gravity="left"/>
- </TableRow>
- <TableRow>
- <TextView
- android:layout_width="0dip"
- android:layout_height="wrap_content"
- android:layout_weight="2"
android:text="@string/title"
/>
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="2"
- android:text="@string/recipient"
- />
-
- <TextView
- android:id="@+id/hold_recipient"
- android:layout_width="0dip"
- android:layout_height="wrap_content"
- android:layout_weight="4"
- android:gravity="left"
- android:layout_gravity="left"
- android:text="yomomma"/>
- </TableRow>
- <TableRow>
- <TextView
- android:layout_width="0dip"
- android:layout_height="wrap_content"
- android:layout_weight="2"
android:text="@string/title"
/>
public class HoldDetails extends ActionBarActivity {
- private final String TAG = HoldDetails.class.getName();
+ private final String TAG = HoldDetails.class.getSimpleName();
public static final int RESULT_CODE_DELETE_HOLD = 5;
public static final int RESULT_CODE_CANCEL = 7;
- private TextView recipient;
-
private TextView title;
private TextView author;
private TextView physical_description;
- private TextView screen_title;
-
private AccountAccess accountAccess;
private EditText expiration_date;
accountAccess = AccountAccess.getAccountAccess();
- recipient = (TextView) findViewById(R.id.hold_recipient);
title = (TextView) findViewById(R.id.hold_title);
author = (TextView) findViewById(R.id.hold_author);
physical_description = (TextView) findViewById(R.id.hold_physical_description);
expiration_date = (EditText) findViewById(R.id.hold_expiration_date);
thaw_date_edittext = (EditText) findViewById(R.id.hold_thaw_date);
- recipient.setText(accountAccess.userName);
title.setText(record.title);
author.setText(record.author);
if (record.recordInfo != null)
public class PlaceHold extends ActionBarActivity {
- private final String TAG = PlaceHold.class.getName();
-
- private TextView recipient;
+ private final String TAG = PlaceHold.class.getSimpleName();
private TextView title;
private TextView physical_description;
- private TextView screen_title;
-
private AccountAccess accountAccess;
private EditText expiration_date;
accountAccess = AccountAccess.getAccountAccess();
- recipient = (TextView) findViewById(R.id.hold_recipient);
title = (TextView) findViewById(R.id.hold_title);
author = (TextView) findViewById(R.id.hold_author);
physical_description = (TextView) findViewById(R.id.hold_physical_description);
orgSelector = (Spinner) findViewById(R.id.hold_pickup_location);
thaw_date_edittext = (EditText) findViewById(R.id.hold_thaw_date);
- recipient.setText(accountAccess.userName);
title.setText(record.title);
author.setText(record.author);
physical_description.setText(record.physical_description);