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

Commit c8787937 authored by Udam Saini's avatar Udam Saini
Browse files

Removes duplicated checkbox and fixes text alignment.

bug:27560337
bug:27534777
Change-Id: I2c4192dedcbcaec36f1bd5b507e984f7bf35b12e
parent 179a57b2
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -72,7 +72,6 @@
            android:layout_marginTop="@dimen/redaction_vertical_margins"
            android:layout_marginStart="?android:attr/listPreferredItemPaddingStart"
            android:layout_marginEnd="?android:attr/listPreferredItemPaddingEnd"
            android:text="@string/lockscreen_remote_input"
            android:textAppearance="?android:attr/textAppearanceMedium" />
            android:text="@string/lockscreen_remote_input" />

</LinearLayout>
 No newline at end of file
+7 −17
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@

        <RadioGroup
            android:id="@+id/radio_group"
            android:layout_width="wrap_content"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="@dimen/redaction_vertical_margins"
            android:layout_marginStart="?android:attr/listPreferredItemPaddingStart"
@@ -72,26 +72,16 @@
                android:layout_height="wrap_content"
                android:text="@string/lock_screen_notifications_summary_disable" />

            <!-- CheckBox is styled with SuwRadioButton to make it line up nicely with the radios
                 above. -->
            <CheckBox
                android:id="@+id/lockscreen_remote_input"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/suw_check_box_margin_top"
                android:text="@string/lockscreen_remote_input"
                style="@style/SuwRadioButton" />
        </RadioGroup>

            <!-- Place the checkbox inside RadioGroup and use SuwRadioButton style instead of
                 SuwCheckBox style so that the checkbox and text is aligned with radio buttons. -->
            <CheckBox
                android:id="@+id/lockscreen_remote_input"
            style="@style/SuwCheckBox"
            android:layout_width="match_parent"
                style="@style/SuwRadioButton"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/redaction_vertical_margins"
            android:layout_marginStart="?android:attr/listPreferredItemPaddingStart"
            android:layout_marginEnd="?android:attr/listPreferredItemPaddingEnd"
                android:text="@string/lockscreen_remote_input" />
        </RadioGroup>

    </LinearLayout>