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

Commit 4141fac1 authored by Kanyinsola Fapohunda's avatar Kanyinsola Fapohunda
Browse files

Move "Send feedback" button to the end of the list

This change moves the "Send feedback" action to
bottom of the date time settings UI

Bug: 283239837
Flag: com.android.settings.flags.datetime_feedback
Test: Manual, trivial change
Change-Id: I64fd20dd8ba846ad069bfeb458ffa0ffb4f8eab0
parent 9dc73679
Loading
Loading
Loading
Loading
+12 −13
Original line number Diff line number Diff line
@@ -90,7 +90,18 @@

    </PreferenceCategory>

    <!-- An optional preference category for feedback. Only displayed up if enabled via flags and config. -->
    <PreferenceCategory
        android:key="time_format_preference_category"
        android:title="@string/time_format_category_title"
        settings:keywords="@string/keywords_time_format">

        <SwitchPreferenceCompat
            android:key="24 hour"
            android:title="@string/date_time_24hour"
            settings:controller="com.android.settings.datetime.TimeFormatPreferenceController" />
    </PreferenceCategory>

    <!-- An optional preference category for feedback. Only displayed up if enabled via flags and config. Always put time feedback at the end. -->
    <PreferenceCategory
        android:key="time_feedback_preference_category"
        android:title="@string/time_feedback_category_title"
@@ -102,18 +113,6 @@
            android:title="@string/time_feedback_title"
            settings:controller="com.android.settings.datetime.TimeFeedbackPreferenceController"
            settings:keywords="@string/keywords_time_feedback" />

    </PreferenceCategory>

    <PreferenceCategory
        android:key="time_format_preference_category"
        android:title="@string/time_format_category_title"
        settings:keywords="@string/keywords_time_format">

        <SwitchPreferenceCompat
            android:key="24 hour"
            android:title="@string/date_time_24hour"
            settings:controller="com.android.settings.datetime.TimeFormatPreferenceController" />
    </PreferenceCategory>

</PreferenceScreen>