From 4c0869393e2d8f52b9bcf312286dca8ced2e1900 Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Tue, 26 Dec 2017 14:12:57 -0600 Subject: [PATCH] Rename package widgets -> widget Signed-off-by: Samuel Holland --- .../java/com/wireguard/android/databinding/BindingAdapters.java | 2 +- .../com/wireguard/android/{widgets => widget}/ToggleSwitch.java | 2 +- app/src/main/res/layout/config_detail_fragment.xml | 2 +- app/src/main/res/layout/config_list_item.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename app/src/main/java/com/wireguard/android/{widgets => widget}/ToggleSwitch.java (98%) diff --git a/app/src/main/java/com/wireguard/android/databinding/BindingAdapters.java b/app/src/main/java/com/wireguard/android/databinding/BindingAdapters.java index 3e7a9270..5dfc2d19 100644 --- a/app/src/main/java/com/wireguard/android/databinding/BindingAdapters.java +++ b/app/src/main/java/com/wireguard/android/databinding/BindingAdapters.java @@ -10,7 +10,7 @@ import android.widget.ListView; import android.widget.TextView; import com.wireguard.android.R; -import com.wireguard.android.widgets.ToggleSwitch; +import com.wireguard.android.widget.ToggleSwitch; /** * Static methods for use by generated code in the Android data binding library. diff --git a/app/src/main/java/com/wireguard/android/widgets/ToggleSwitch.java b/app/src/main/java/com/wireguard/android/widget/ToggleSwitch.java similarity index 98% rename from app/src/main/java/com/wireguard/android/widgets/ToggleSwitch.java rename to app/src/main/java/com/wireguard/android/widget/ToggleSwitch.java index 667cfe53..c8f9ab2d 100644 --- a/app/src/main/java/com/wireguard/android/widgets/ToggleSwitch.java +++ b/app/src/main/java/com/wireguard/android/widget/ToggleSwitch.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.wireguard.android.widgets; +package com.wireguard.android.widget; import android.content.Context; import android.util.AttributeSet; diff --git a/app/src/main/res/layout/config_detail_fragment.xml b/app/src/main/res/layout/config_detail_fragment.xml index f5cd2acb..cf6fdaaf 100644 --- a/app/src/main/res/layout/config_detail_fragment.xml +++ b/app/src/main/res/layout/config_detail_fragment.xml @@ -44,7 +44,7 @@ android:layout_toStartOf="@+id/config_switch" android:text="@string/status" /> - -