Fix bad theming on audio device selection popup.
This commit is contained in:
parent
be53bfa88f
commit
aff00615cb
2 changed files with 6 additions and 4 deletions
|
@ -113,7 +113,7 @@ public class WebRtcAudioOutputToggleButton extends AppCompatImageView {
|
||||||
rv.setLayoutManager(new LinearLayoutManager(getContext(), LinearLayoutManager.VERTICAL, false));
|
rv.setLayoutManager(new LinearLayoutManager(getContext(), LinearLayoutManager.VERTICAL, false));
|
||||||
rv.setAdapter(adapter);
|
rv.setAdapter(adapter);
|
||||||
|
|
||||||
picker = new AlertDialog.Builder(getContext())
|
picker = new AlertDialog.Builder(getContext(), R.style.Theme_Signal_AlertDialog_Dark_Cornered)
|
||||||
.setTitle(R.string.WebRtcAudioOutputToggle__audio_output)
|
.setTitle(R.string.WebRtcAudioOutputToggle__audio_output)
|
||||||
.setView(rv)
|
.setView(rv)
|
||||||
.setCancelable(true)
|
.setCancelable(true)
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="?attr/listPreferredItemHeight">
|
android:layout_height="?attr/listPreferredItemHeight">
|
||||||
|
|
||||||
<TextView
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
android:id="@+id/text"
|
android:id="@+id/text"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
|
@ -13,10 +14,11 @@
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:paddingStart="16dp"
|
android:paddingStart="16dp"
|
||||||
android:paddingEnd="16dp"
|
android:paddingEnd="16dp"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/signal_text_primary"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
|
app:drawableTint="@color/signal_text_primary"
|
||||||
tools:drawableStart="@drawable/ic_photo_24"
|
tools:drawableStart="@drawable/ic_photo_24"
|
||||||
tools:text="@string/WebRtcAudioOutputToggle__phone" />
|
tools:text="@string/WebRtcAudioOutputToggle__phone_earpiece" />
|
||||||
|
|
||||||
<RadioButton
|
<RadioButton
|
||||||
android:id="@+id/radio"
|
android:id="@+id/radio"
|
||||||
|
|
Loading…
Add table
Reference in a new issue