mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-27 13:21:30 +00:00
Moved views to seperate package
This commit is contained in:
parent
78891498e8
commit
9cba4e0ef0
9 changed files with 11 additions and 11 deletions
|
@ -14,9 +14,8 @@ import com.nutomic.syncthingandroid.R;
|
|||
import com.nutomic.syncthingandroid.activities.SettingsActivity;
|
||||
import com.nutomic.syncthingandroid.activities.SyncthingActivity;
|
||||
import com.nutomic.syncthingandroid.model.Device;
|
||||
import com.nutomic.syncthingandroid.syncthing.RestApi;
|
||||
import com.nutomic.syncthingandroid.syncthing.SyncthingService;
|
||||
import com.nutomic.syncthingandroid.util.DevicesAdapter;
|
||||
import com.nutomic.syncthingandroid.views.DevicesAdapter;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.Comparator;
|
||||
|
|
|
@ -14,9 +14,8 @@ import com.nutomic.syncthingandroid.R;
|
|||
import com.nutomic.syncthingandroid.activities.SettingsActivity;
|
||||
import com.nutomic.syncthingandroid.activities.SyncthingActivity;
|
||||
import com.nutomic.syncthingandroid.model.Folder;
|
||||
import com.nutomic.syncthingandroid.syncthing.RestApi;
|
||||
import com.nutomic.syncthingandroid.syncthing.SyncthingService;
|
||||
import com.nutomic.syncthingandroid.util.FoldersAdapter;
|
||||
import com.nutomic.syncthingandroid.views.FoldersAdapter;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.Comparator;
|
||||
|
|
|
@ -18,7 +18,7 @@ import android.widget.Toast;
|
|||
import com.nutomic.syncthingandroid.R;
|
||||
import com.nutomic.syncthingandroid.activities.SyncthingActivity;
|
||||
import com.nutomic.syncthingandroid.model.Device;
|
||||
import com.nutomic.syncthingandroid.preferences.WifiSsidPreference;
|
||||
import com.nutomic.syncthingandroid.views.WifiSsidPreference;
|
||||
import com.nutomic.syncthingandroid.syncthing.RestApi;
|
||||
import com.nutomic.syncthingandroid.syncthing.SyncthingService;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package com.nutomic.syncthingandroid.util;
|
||||
package com.nutomic.syncthingandroid.views;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.Resources;
|
||||
|
@ -14,6 +14,7 @@ import com.nutomic.syncthingandroid.R;
|
|||
import com.nutomic.syncthingandroid.model.Connection;
|
||||
import com.nutomic.syncthingandroid.model.Device;
|
||||
import com.nutomic.syncthingandroid.syncthing.RestApi;
|
||||
import com.nutomic.syncthingandroid.util.Util;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
|
@ -1,4 +1,4 @@
|
|||
package com.nutomic.syncthingandroid.widget;
|
||||
package com.nutomic.syncthingandroid.views;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.AttributeSet;
|
|
@ -1,4 +1,4 @@
|
|||
package com.nutomic.syncthingandroid.util;
|
||||
package com.nutomic.syncthingandroid.views;
|
||||
|
||||
import android.content.Context;
|
||||
import android.support.annotation.NonNull;
|
||||
|
@ -15,6 +15,7 @@ import com.nutomic.syncthingandroid.R;
|
|||
import com.nutomic.syncthingandroid.model.Folder;
|
||||
import com.nutomic.syncthingandroid.model.Model;
|
||||
import com.nutomic.syncthingandroid.syncthing.RestApi;
|
||||
import com.nutomic.syncthingandroid.util.Util;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.nutomic.syncthingandroid.preferences;
|
||||
package com.nutomic.syncthingandroid.views;
|
||||
|
||||
import android.content.Context;
|
||||
import android.net.wifi.WifiConfiguration;
|
|
@ -21,7 +21,7 @@
|
|||
android:background="?selectableItemBackground"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.nutomic.syncthingandroid.widget.EnhancedEditText
|
||||
<com.nutomic.syncthingandroid.views.EnhancedEditText
|
||||
android:id="@+id/id"
|
||||
style="@style/Widget.Syncthing.TextView.Label.Details.Field"
|
||||
android:layout_width="0dp"
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
android:title="@string/sync_only_wifi"
|
||||
android:defaultValue="false" />
|
||||
|
||||
<com.nutomic.syncthingandroid.preferences.WifiSsidPreference
|
||||
<com.nutomic.syncthingandroid.views.WifiSsidPreference
|
||||
android:key="sync_only_wifi_ssids_set"
|
||||
android:title="@string/sync_only_wifi_ssids" />
|
||||
|
||||
|
|
Loading…
Reference in a new issue