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

Commit 4e168dd6 authored by Mill Chen's avatar Mill Chen
Browse files

Visual update for FaceSettings

This includes the following changes:
- Remove the face animation from FaceSettings page
- Correct the color filling of collapsing toolbar
- Make the button align with other settings
- Remove the seperator

Fix: 186804060
Fix: 187882118
Test: visual verified
Change-Id: I4b7679ced0c420b4d23a3c326ac2a93734c0b8bb
parent 39c512f9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -473,6 +473,7 @@

        <activity android:name="Settings$FaceSettingsActivity"
            android:label="@string/security_settings_face_preference_title"
            android:theme="@style/Theme.SubSettings"
            android:exported="true"
            android:icon="@drawable/ic_face_header">
            <intent-filter>
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@

    <Button
        android:id="@+id/security_settings_face_settings_enroll_button"
        android:layout_marginStart="@dimen/screen_margin_sides"
        android:layout_marginStart="20dp"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="start"
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@

    <Button
        android:id="@+id/security_settings_face_settings_remove_button"
        android:layout_marginStart="@dimen/screen_margin_sides"
        android:layout_marginStart="20dp"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="start"
+2 −11
Original line number Diff line number Diff line
@@ -19,12 +19,6 @@
    xmlns:settings="http://schemas.android.com/apk/res-auto"
    android:title="@string/security_settings_face_preference_title">

    <com.android.settings.widget.VideoPreference
        android:key="security_settings_face_video"
        android:title="@string/summary_placeholder"
        settings:animation="@raw/face_settings"
        settings:controller="com.android.settings.widget.VideoPreferenceController"/>

    <com.android.settingslib.widget.TopIntroPreference
        android:title="@string/security_settings_face_settings_top_intro"
        settings:searchable="false"/>
@@ -83,19 +77,16 @@
            android:key="security_settings_face_delete_faces_container"
            android:title="@string/security_settings_face_settings_remove_face_model"
            android:selectable="false"
            android:layout="@layout/face_remove_button"
            settings:allowDividerBelow="true"/>
            android:layout="@layout/face_remove_button"/>

        <com.android.settingslib.widget.LayoutPreference
            android:key="security_settings_face_enroll_faces_container"
            android:title="@string/security_settings_face_settings_enroll"
            android:selectable="false"
            android:layout="@layout/face_enroll_button"
            settings:allowDividerBelow="true"/>
            android:layout="@layout/face_enroll_button"/>
    </PreferenceCategory>

    <com.android.settingslib.widget.FooterPreference
        android:key="security_face_footer"
        settings:allowDividerAbove="true"
        settings:controller="com.android.settings.biometrics.face.FaceSettingsFooterPreferenceController" />
</PreferenceScreen>