Skip to content

Commit

Permalink
Add theme to SwitchCompat for tasker
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Jan 9, 2025
1 parent 3a6e23b commit 4d875bc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions V2rayNG/app/src/main/res/layout/activity_tasker.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
Expand All @@ -16,18 +17,16 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:checked="true" />
android:checked="true"
app:theme="@style/BrandedSwitch" />

<androidx.appcompat.widget.AppCompatTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_toStartOf="@id/switch_start_service"
android:layout_toLeftOf="@id/switch_start_service"
android:text="@string/tasker_start_service"
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />

Expand Down

0 comments on commit 4d875bc

Please sign in to comment.