Merge changes Ibb68252c,Ide20e07f,I5d2e2c70 into main
* changes: Add accessibility label for "QR code" scanner. Also added landscape mode. Add accessibility label for "QR code" image. Also added landscape mode. Add accessibility label for "QR code" button in Audio sharing page.
This commit is contained in:
@@ -92,6 +92,8 @@ public class AudioSharingNamePreference extends ValidatedEditTextPreference {
|
||||
shareButton.setVisibility(View.VISIBLE);
|
||||
shareButton.setImageDrawable(getContext().getDrawable(R.drawable.ic_qrcode_24dp));
|
||||
shareButton.setOnClickListener(unused -> launchAudioSharingQrCodeFragment());
|
||||
shareButton.setContentDescription(
|
||||
getContext().getString(R.string.audio_sharing_qrcode_button_label));
|
||||
}
|
||||
|
||||
private void configureInvisibleStateForQrCodeIcon(ImageButton shareButton, View divider) {
|
||||
|
||||
@@ -55,7 +55,7 @@ public class AudioStreamsQrCodeFragment extends InstrumentedFragment {
|
||||
@Override
|
||||
public final View onCreateView(
|
||||
LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
||||
return inflater.inflate(R.xml.bluetooth_audio_streams_qr_code, container, false);
|
||||
return inflater.inflate(R.layout.bluetooth_audio_streams_qr_code, container, false);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user