Search in sources :

Example 1 with MediaCountIndicatorButton

use of org.thoughtcrime.securesms.mediasend.v2.MediaCountIndicatorButton in project Signal-Android by WhisperSystems.

the class Camera1Fragment method presentHud.

@Override
public void presentHud(int selectedMediaCount) {
    MediaCountIndicatorButton countButton = controlsContainer.findViewById(R.id.camera_review_button);
    if (selectedMediaCount > 0) {
        countButton.setVisibility(View.VISIBLE);
        countButton.setCount(selectedMediaCount);
    } else {
        countButton.setVisibility(View.GONE);
    }
}
Also used : MediaCountIndicatorButton(org.thoughtcrime.securesms.mediasend.v2.MediaCountIndicatorButton)

Example 2 with MediaCountIndicatorButton

use of org.thoughtcrime.securesms.mediasend.v2.MediaCountIndicatorButton in project Signal-Android by WhisperSystems.

the class CameraXFragment method presentHud.

@Override
public void presentHud(int selectedMediaCount) {
    MediaCountIndicatorButton countButton = controlsContainer.findViewById(R.id.camera_review_button);
    if (selectedMediaCount > 0) {
        countButton.setVisibility(View.VISIBLE);
        countButton.setCount(selectedMediaCount);
    } else {
        countButton.setVisibility(View.GONE);
    }
}
Also used : MediaCountIndicatorButton(org.thoughtcrime.securesms.mediasend.v2.MediaCountIndicatorButton)

Example 3 with MediaCountIndicatorButton

use of org.thoughtcrime.securesms.mediasend.v2.MediaCountIndicatorButton in project Signal-Android by signalapp.

the class Camera1Fragment method presentHud.

@Override
public void presentHud(int selectedMediaCount) {
    MediaCountIndicatorButton countButton = controlsContainer.findViewById(R.id.camera_review_button);
    if (selectedMediaCount > 0) {
        countButton.setVisibility(View.VISIBLE);
        countButton.setCount(selectedMediaCount);
    } else {
        countButton.setVisibility(View.GONE);
    }
}
Also used : MediaCountIndicatorButton(org.thoughtcrime.securesms.mediasend.v2.MediaCountIndicatorButton)

Example 4 with MediaCountIndicatorButton

use of org.thoughtcrime.securesms.mediasend.v2.MediaCountIndicatorButton in project Signal-Android by signalapp.

the class CameraXFragment method presentHud.

@Override
public void presentHud(int selectedMediaCount) {
    MediaCountIndicatorButton countButton = controlsContainer.findViewById(R.id.camera_review_button);
    if (selectedMediaCount > 0) {
        countButton.setVisibility(View.VISIBLE);
        countButton.setCount(selectedMediaCount);
    } else {
        countButton.setVisibility(View.GONE);
    }
}
Also used : MediaCountIndicatorButton(org.thoughtcrime.securesms.mediasend.v2.MediaCountIndicatorButton)

Aggregations

MediaCountIndicatorButton (org.thoughtcrime.securesms.mediasend.v2.MediaCountIndicatorButton)4