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

Commit c8ca2011 authored by kaiyiz's avatar kaiyiz Committed by Gerrit - the friendly Code Review server
Browse files

SystemUI: Add vibrate with ringtone option in global ringer mode settings

No vibrate with ringtone option in global ringer mode settings.

Add vibrate with ringtone option in global ringer mode settings
for some carrier.

CRs-Fixed: 756096

Change-Id: I750f769d233b67d9c63354b6c1db3b856ab2cc78
parent ed41560e
Loading
Loading
Loading
Loading
+1.51 KiB
Loading image diff...
+1.33 KiB
Loading image diff...
+1.69 KiB
Loading image diff...
+1.91 KiB
Loading image diff...
+30 −0
Original line number Diff line number Diff line
@@ -100,4 +100,34 @@
            android:background="@drawable/silent_mode_indicator"
            />
    </LinearLayout>

    <!-- Spacer -->
    <View android:layout_width="0dp"
        android:id="@+id/optionSpacer"
        android:layout_height="match_parent"
        android:layout_weight="1"
        android:visibility="invisible"/>

    <LinearLayout
        android:id="@+id/option4"
        android:layout_width="64dp"
        android:layout_height="match_parent"
        android:background="?android:attr/actionBarItemBackground"
        android:contentDescription="@string/silent_mode_vibrate_with_ringtone"
        android:focusable="true"
        >
        <ImageView
            android:layout_width="48dp"
            android:layout_height="match_parent"
            android:layout_gravity="center"
            android:layout_marginStart="8dp"
            android:layout_marginEnd="8dp"
            android:layout_marginTop="6dp"
            android:layout_marginBottom="6dp"
            android:src="@drawable/ic_audio_ring_notif_with_vibrate"
            android:scaleType="center"
            android:duplicateParentState="true"
            android:background="@drawable/silent_mode_indicator"
            />
    </LinearLayout>
</LinearLayout>
 No newline at end of file
Loading