diff --git a/app/src/main/java/com/nutomic/syncthingandroid/activities/DeviceActivity.java b/app/src/main/java/com/nutomic/syncthingandroid/activities/DeviceActivity.java index 50fc0ac7..c8542c74 100644 --- a/app/src/main/java/com/nutomic/syncthingandroid/activities/DeviceActivity.java +++ b/app/src/main/java/com/nutomic/syncthingandroid/activities/DeviceActivity.java @@ -190,7 +190,7 @@ public class DeviceActivity extends SyncthingActivity { super.onCreate(savedInstanceState); ((SyncthingApp) getApplication()).component().inject(this); - setContentView(R.layout.fragment_device); + setContentView(R.layout.activity_device); mIsCreateMode = getIntent().getBooleanExtra(EXTRA_IS_CREATE, false); setTitle(mIsCreateMode ? R.string.add_device : R.string.edit_device); diff --git a/app/src/main/res/layout/fragment_device.xml b/app/src/main/res/layout/activity_device.xml similarity index 100% rename from app/src/main/res/layout/fragment_device.xml rename to app/src/main/res/layout/activity_device.xml