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