Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8ec1f7e8 authored by Anthony Tripaldi's avatar Anthony Tripaldi
Browse files

Fix for b/129240060 - updating landsape volume dialog layout to use the

newly created CaptionsIcon view.

Bug:129240060
Test: manual
Change-Id: I3936a0fe1b52f00f4196313158d0baee7798307f
parent 49f04025
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
  -->
<FrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:sysui="http://schemas.android.com/apk/res-auto"
    android:id="@+id/volume_dialog_container"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
@@ -116,16 +117,17 @@
            android:clipToPadding="false"
            android:translationZ="@dimen/volume_dialog_elevation"
            android:background="@drawable/rounded_bg_full">
            <com.android.keyguard.AlphaOptimizedImageButton
            <com.android.systemui.volume.CaptionsToggleImageButton
                android:id="@+id/odi_captions_icon"
                android:src="@drawable/ic_volume_odi_captions_disabled"
                style="@style/VolumeButtons"
                android:background="@drawable/rounded_ripple"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:tint="@color/accent_tint_color_selector"
                android:tint="@color/caption_tint_color_selector"
                android:layout_gravity="center"
                android:soundEffectsEnabled="false" />
                android:soundEffectsEnabled="false"
                sysui:optedOut="false"/>
        </FrameLayout>

        <ViewStub