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

Commit 934ae20e authored by Stefan Andonian's avatar Stefan Andonian
Browse files

Updated the Record Issue Tile's switches to match the Screen Record

Tile's switches

Bug: 372853398, 372839871
Test: Verified manually that the UX matches the Screen Record tile's
switches.
Flag: EXEMPT bug fix

Change-Id: Id5a4d86a7438e66b2de96464c475119577be3dc1
parent cd93849c
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -26,6 +26,8 @@
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:layout_marginTop="@dimen/qqs_layout_margin_top"
        android:minHeight="@dimen/min_clickable_item_size"
        android:minWidth="@dimen/min_clickable_item_size"
        android:textAppearance="@style/TextAppearance.Dialog.Body.Message" />

    <TextView
@@ -34,6 +36,8 @@
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:layout_marginTop="@dimen/qqs_layout_margin_top"
        android:minHeight="@dimen/min_clickable_item_size"
        android:minWidth="@dimen/min_clickable_item_size"
        android:textAppearance="@style/TextAppearance.Dialog.Body.Message" />

    <!-- Attach to Bugreport Switch -->
@@ -58,9 +62,9 @@
        <Switch
            android:id="@+id/attach_to_bugreport_switch"
            android:layout_width="wrap_content"
            android:minHeight="@dimen/screenrecord_option_icon_size"
            android:layout_height="wrap_content"
            android:gravity="end"
            style="@style/ScreenRecord.Switch"
            android:layout_gravity="fill_vertical"
            android:layout_weight="0" />
    </LinearLayout>
@@ -87,9 +91,9 @@
        <Switch
            android:id="@+id/winscope_switch"
            android:layout_width="wrap_content"
            android:minHeight="@dimen/screenrecord_option_icon_size"
            android:layout_height="wrap_content"
            android:gravity="end"
            style="@style/ScreenRecord.Switch"
            android:layout_gravity="fill_vertical"
            android:layout_weight="0" />
    </LinearLayout>
@@ -116,9 +120,9 @@
        <Switch
            android:id="@+id/trace_debuggable_apps_switch"
            android:layout_width="wrap_content"
            android:minHeight="@dimen/screenrecord_option_icon_size"
            android:layout_height="wrap_content"
            android:gravity="end"
            style="@style/ScreenRecord.Switch"
            android:layout_gravity="fill_vertical"
            android:layout_weight="0" />
    </LinearLayout>
@@ -145,9 +149,9 @@
        <Switch
            android:id="@+id/long_traces_switch"
            android:layout_width="wrap_content"
            android:minHeight="@dimen/screenrecord_option_icon_size"
            android:layout_height="wrap_content"
            android:gravity="end"
            style="@style/ScreenRecord.Switch"
            android:layout_gravity="fill_vertical"
            android:layout_weight="0" />
    </LinearLayout>
+4 −2
Original line number Diff line number Diff line
@@ -38,6 +38,8 @@
        android:drawableEnd="@drawable/arrow_pointing_down"
        android:layout_marginTop="@dimen/qqs_layout_margin_top"
        android:focusable="false"
        android:minHeight="@dimen/min_clickable_item_size"
        android:minWidth="@dimen/min_clickable_item_size"
        android:clickable="true" />

    <!-- Screen Record Switch -->
@@ -72,10 +74,10 @@
        <Switch
            android:id="@+id/screenrecord_switch"
            android:layout_width="wrap_content"
            android:minHeight="@dimen/screenrecord_option_icon_size"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:layout_gravity="fill_vertical"
            style="@style/ScreenRecord.Switch"
            android:layout_weight="0"
            android:contentDescription="@string/quick_settings_screen_record_label" />
    </LinearLayout>
@@ -112,11 +114,11 @@
        <Switch
            android:id="@+id/bugreport_switch"
            android:layout_width="wrap_content"
            android:minHeight="@dimen/screenrecord_option_icon_size"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:layout_gravity="fill_vertical"
            android:layout_weight="0"
            style="@style/ScreenRecord.Switch"
            android:contentDescription="@string/qs_record_issue_bug_report" />
    </LinearLayout>
</LinearLayout>
 No newline at end of file