From d7f5c4211ed81dde5c3bb94d54e88e805d576ca9 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Thu, 9 Nov 2017 14:57:15 +0100 Subject: 8782 fixes app crashes due to missing layout references, removes unneeded layout files, minor layout clean up --- .../leap/bitmaskclient/test/VpnTestController.java | 2 +- app/src/main/res/layout-xlarge/dashboard.xml | 22 +-------- .../res/layout-xlarge/eip_service_fragment.xml | 2 +- app/src/main/res/layout-xlarge/logwindow.xml | 17 ------- .../res/layout-xlarge/user_session_fragment.xml | 3 +- app/src/main/res/layout-xlarge/vpnstatus.xml | 52 ++++++++++++++++++++++ app/src/main/res/layout/eip_service_fragment.xml | 2 +- app/src/main/res/layout/logwindow.xml | 17 ------- app/src/main/res/layout/user_session_fragment.xml | 3 +- 9 files changed, 59 insertions(+), 61 deletions(-) delete mode 100644 app/src/main/res/layout-xlarge/logwindow.xml create mode 100644 app/src/main/res/layout-xlarge/vpnstatus.xml delete mode 100644 app/src/main/res/layout/logwindow.xml (limited to 'app/src') diff --git a/app/src/androidTest/java/se/leap/bitmaskclient/test/VpnTestController.java b/app/src/androidTest/java/se/leap/bitmaskclient/test/VpnTestController.java index f76ba93b..4c6a6370 100644 --- a/app/src/androidTest/java/se/leap/bitmaskclient/test/VpnTestController.java +++ b/app/src/androidTest/java/se/leap/bitmaskclient/test/VpnTestController.java @@ -7,10 +7,10 @@ import com.robotium.solo.Condition; import com.robotium.solo.Solo; import de.blinkt.openvpn.activities.DisconnectVPN; -import mbanje.kurt.fabbutton.FabButton; import mbanje.kurt.fabbutton.ProgressRingView; import se.leap.bitmaskclient.Dashboard; import se.leap.bitmaskclient.R; +import se.leap.bitmaskclient.userstatus.FabButton; import static junit.framework.Assert.assertTrue; diff --git a/app/src/main/res/layout-xlarge/dashboard.xml b/app/src/main/res/layout-xlarge/dashboard.xml index 3c93a04c..b9c78b68 100644 --- a/app/src/main/res/layout-xlarge/dashboard.xml +++ b/app/src/main/res/layout-xlarge/dashboard.xml @@ -22,28 +22,10 @@ android:textAppearance="?android:attr/textAppearanceMedium" /> - - - + android:orientation="horizontal"/> - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/layout-xlarge/user_session_fragment.xml b/app/src/main/res/layout-xlarge/user_session_fragment.xml index 30969219..d4729555 100644 --- a/app/src/main/res/layout-xlarge/user_session_fragment.xml +++ b/app/src/main/res/layout-xlarge/user_session_fragment.xml @@ -33,7 +33,7 @@ android:textSize="24sp" /> - + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/eip_service_fragment.xml b/app/src/main/res/layout/eip_service_fragment.xml index c8370cf1..cef01c18 100644 --- a/app/src/main/res/layout/eip_service_fragment.xml +++ b/app/src/main/res/layout/eip_service_fragment.xml @@ -30,7 +30,7 @@ android:textSize="12sp" /> - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/layout/user_session_fragment.xml b/app/src/main/res/layout/user_session_fragment.xml index d33f9b9a..914c8462 100644 --- a/app/src/main/res/layout/user_session_fragment.xml +++ b/app/src/main/res/layout/user_session_fragment.xml @@ -26,7 +26,7 @@ android:textSize="14sp" /> -