Skip to content

Commit

Permalink
Use M3 Switch on EditProxyFragment.
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-signal authored and cody-signal committed Aug 22, 2023
1 parent e861204 commit 9a09708
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/src/main/res/layout/edit_proxy_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toStartOf="@id/edit_proxy_switch"/>

<androidx.appcompat.widget.SwitchCompat
<com.google.android.material.materialswitch.MaterialSwitch
style="@style/Widget.Signal.CompoundButton.MaterialSwitch"
android:id="@+id/edit_proxy_switch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@id/edit_proxy_switch_title"
app:layout_constraintBottom_toBottomOf="@id/edit_proxy_switch_title"/>
app:layout_constraintBottom_toBottomOf="@id/edit_proxy_switch_title_description"/>

<TextView
android:id="@+id/edit_proxy_address_title"
Expand Down

0 comments on commit 9a09708

Please sign in to comment.