summaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-12-26 14:12:57 -0600
committerSamuel Holland <samuel@sholland.org>2018-01-06 04:08:01 -0600
commit4c0869393e2d8f52b9bcf312286dca8ced2e1900 (patch)
treebd7e4fc16247979208a426f3239511ea91ebbb60 /app
parentb7196e328a25a28078906d8afa50ba9636ae7bcb (diff)
Rename package widgets -> widget
Signed-off-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/com/wireguard/android/databinding/BindingAdapters.java2
-rw-r--r--app/src/main/java/com/wireguard/android/widget/ToggleSwitch.java (renamed from app/src/main/java/com/wireguard/android/widgets/ToggleSwitch.java)2
-rw-r--r--app/src/main/res/layout/config_detail_fragment.xml2
-rw-r--r--app/src/main/res/layout/config_list_item.xml2
4 files changed, 4 insertions, 4 deletions
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
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" />
- <com.wireguard.android.widgets.ToggleSwitch
+ <com.wireguard.android.widget.ToggleSwitch
android:id="@+id/config_switch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
diff --git a/app/src/main/res/layout/config_list_item.xml b/app/src/main/res/layout/config_list_item.xml
index 207f95ef..90e696a4 100644
--- a/app/src/main/res/layout/config_list_item.xml
+++ b/app/src/main/res/layout/config_list_item.xml
@@ -36,7 +36,7 @@
android:text="@{key}"
android:textStyle="@{item.primary ? Typeface.DEFAULT_BOLD : Typeface.DEFAULT}" />
- <com.wireguard.android.widgets.ToggleSwitch
+ <com.wireguard.android.widget.ToggleSwitch
android:id="@+id/config_switch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"