Example #1
0
 private TransferControlView getTransferControls() {
   if (!transferControls.isPresent()) {
     transferControls =
         Optional.of(
             (TransferControlView) ViewUtil.inflateStub(this, R.id.transfer_controls_stub));
   }
   return transferControls.get();
 }
Example #2
0
 @SuppressWarnings("unused")
 public SendButton(Context context, AttributeSet attrs, int defStyle) {
   super(context, attrs, defStyle);
   this.transportOptions = initializeTransportOptions(false);
   ViewUtil.mirrorIfRtl(this, getContext());
 }
Example #3
0
 private ImageView getRemoveButton() {
   if (removeButton == null) removeButton = ViewUtil.inflateStub(this, R.id.remove_button_stub);
   return removeButton;
 }
Example #4
0
 @SuppressWarnings("unused")
 public SendButton(Context context) {
   super(context);
   this.transportOptions = initializeTransportOptions(false);
   ViewUtil.mirrorIfRtl(this, getContext());
 }