diff options
author | cyBerta <cyberta@riseup.net> | 2020-12-29 01:01:05 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2020-12-29 01:01:05 +0100 |
commit | 6af193f7d3c0fa3f73f5809442d83367bf025ffd (patch) | |
tree | 40196410e7358768c5cf6f1847760e2d012c0f1b /app | |
parent | 6b032b751324a30120cfaabe88940f95171df11f (diff) |
move NavigationDrawerFragment into fragments directory
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/base/MainActivity.java | 2 | ||||
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/base/fragments/NavigationDrawerFragment.java (renamed from app/src/main/java/se/leap/bitmaskclient/base/drawer/NavigationDrawerFragment.java) | 8 | ||||
-rw-r--r-- | app/src/main/res/layout/a_main.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/f_drawer_main.xml | 2 |
4 files changed, 4 insertions, 10 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/base/MainActivity.java b/app/src/main/java/se/leap/bitmaskclient/base/MainActivity.java index 1b7de10e..676e6c82 100644 --- a/app/src/main/java/se/leap/bitmaskclient/base/MainActivity.java +++ b/app/src/main/java/se/leap/bitmaskclient/base/MainActivity.java @@ -35,7 +35,7 @@ import java.util.Observable; import java.util.Observer; import se.leap.bitmaskclient.R; -import se.leap.bitmaskclient.base.drawer.NavigationDrawerFragment; +import se.leap.bitmaskclient.base.fragments.NavigationDrawerFragment; import se.leap.bitmaskclient.eip.EIP; import se.leap.bitmaskclient.eip.EipCommand; import se.leap.bitmaskclient.eip.EipSetupListener; diff --git a/app/src/main/java/se/leap/bitmaskclient/base/drawer/NavigationDrawerFragment.java b/app/src/main/java/se/leap/bitmaskclient/base/fragments/NavigationDrawerFragment.java index e70c87f9..2ce0e597 100644 --- a/app/src/main/java/se/leap/bitmaskclient/base/drawer/NavigationDrawerFragment.java +++ b/app/src/main/java/se/leap/bitmaskclient/base/fragments/NavigationDrawerFragment.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -package se.leap.bitmaskclient.base.drawer; +package se.leap.bitmaskclient.base.fragments; import android.app.Activity; @@ -50,7 +50,6 @@ import java.util.Observer; import java.util.Set; import de.blinkt.openvpn.core.VpnStatus; -import se.leap.bitmaskclient.base.fragments.EipFragment; import se.leap.bitmaskclient.base.FragmentManagerEnhanced; import se.leap.bitmaskclient.base.MainActivity; import se.leap.bitmaskclient.base.models.Provider; @@ -60,11 +59,6 @@ import se.leap.bitmaskclient.R; import se.leap.bitmaskclient.eip.EipCommand; import se.leap.bitmaskclient.eip.EipStatus; import se.leap.bitmaskclient.firewall.FirewallManager; -import se.leap.bitmaskclient.base.fragments.AboutFragment; -import se.leap.bitmaskclient.base.fragments.AlwaysOnDialog; -import se.leap.bitmaskclient.base.fragments.ExcludeAppsFragment; -import se.leap.bitmaskclient.base.fragments.LogFragment; -import se.leap.bitmaskclient.base.fragments.TetheringDialog; import se.leap.bitmaskclient.tethering.TetheringObservable; import se.leap.bitmaskclient.base.utils.PreferenceHelper; import se.leap.bitmaskclient.base.views.IconSwitchEntry; diff --git a/app/src/main/res/layout/a_main.xml b/app/src/main/res/layout/a_main.xml index 4e921a9c..0e30d2a8 100644 --- a/app/src/main/res/layout/a_main.xml +++ b/app/src/main/res/layout/a_main.xml @@ -34,7 +34,7 @@ the container. --> <fragment android:id="@+id/navigation_drawer" - android:name="se.leap.bitmaskclient.base.drawer.NavigationDrawerFragment" + android:name="se.leap.bitmaskclient.base.fragments.NavigationDrawerFragment" android:layout_width="@dimen/navigation_drawer_width" android:layout_height="match_parent" android:layout_gravity="start" diff --git a/app/src/main/res/layout/f_drawer_main.xml b/app/src/main/res/layout/f_drawer_main.xml index be60e620..d2729998 100644 --- a/app/src/main/res/layout/f_drawer_main.xml +++ b/app/src/main/res/layout/f_drawer_main.xml @@ -4,7 +4,7 @@ android:layout_height="match_parent" android:layout_width="match_parent" android:background="@color/colorBackground" - tools:context=".base.drawer.NavigationDrawerFragment" + tools:context=".base.fragments.NavigationDrawerFragment" android:clickable="true" android:focusable="true" android:fillViewport="true" |