From b99d03f9b99efcd35016fcccf3c7b613362addaa Mon Sep 17 00:00:00 2001 From: Catfriend1 Date: Sat, 9 Feb 2019 15:56:25 +0100 Subject: [PATCH] Rename fragment_device to activity_device --- .../com/nutomic/syncthingandroid/activities/DeviceActivity.java | 2 +- .../res/layout/{fragment_device.xml => activity_device.xml} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename app/src/main/res/layout/{fragment_device.xml => activity_device.xml} (100%) 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