Skip to content

Commit 6d5e15f

Browse files
committed
use m3 only
Signed-off-by: alperozturk <alper_ozturk@proton.me>
1 parent caa7f7f commit 6d5e15f

File tree

1 file changed

+7
-21
lines changed

1 file changed

+7
-21
lines changed

app/src/main/res/layout/internal_two_way_sync_layout.xml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,16 @@
1212
android:layout_width="match_parent"
1313
android:layout_height="match_parent">
1414

15-
<LinearLayout
16-
android:layout_gravity="center"
15+
<com.google.android.material.materialswitch.MaterialSwitch
16+
android:id="@+id/twoWaySyncToggle"
17+
android:text="@string/prefs_two_way_sync_switch_title"
18+
android:textSize="@dimen/txt_size_16sp"
19+
android:minHeight="48dp"
20+
android:layout_marginHorizontal="@dimen/standard_half_padding"
1721
android:layout_marginTop="@dimen/alternate_margin"
1822
android:layout_marginBottom="@dimen/alternate_margin"
19-
android:layout_marginHorizontal="@dimen/standard_half_padding"
20-
android:orientation="horizontal"
2123
android:layout_width="match_parent"
22-
android:layout_height="wrap_content">
23-
24-
<com.google.android.material.textview.MaterialTextView
25-
android:text="@string/prefs_two_way_sync_switch_title"
26-
android:textSize="@dimen/txt_size_16sp"
27-
android:layout_weight="9"
28-
android:layout_width="0dp"
29-
android:layout_height="wrap_content"/>
30-
31-
<com.google.android.material.materialswitch.MaterialSwitch
32-
android:id="@+id/twoWaySyncToggle"
33-
android:scaleX="0.7"
34-
android:scaleY="0.7"
35-
android:layout_width="wrap_content"
36-
android:layout_height="wrap_content" />
37-
38-
</LinearLayout>
24+
android:layout_height="wrap_content" />
3925

4026
<com.google.android.material.textfield.TextInputLayout
4127
android:id="@+id/two_way_sync_interval_layout"

0 commit comments

Comments
 (0)