[android] #4365 - Moving example activities to more descriptive subpackage names for easier discovery
This commit is contained in:
@@ -5,7 +5,7 @@ import android.support.test.rule.ActivityTestRule;
|
||||
import android.support.test.runner.AndroidJUnit4;
|
||||
import android.test.suitebuilder.annotation.LargeTest;
|
||||
|
||||
import com.mapbox.mapboxsdk.testapp.activity.api.DirectionsActivity;
|
||||
import com.mapbox.mapboxsdk.testapp.activity.directions.DirectionsActivity;
|
||||
import com.mapbox.mapboxsdk.testapp.R;
|
||||
|
||||
import org.junit.Before;
|
||||
|
||||
@@ -5,7 +5,7 @@ import android.support.test.rule.ActivityTestRule;
|
||||
import android.support.test.runner.AndroidJUnit4;
|
||||
import android.test.suitebuilder.annotation.LargeTest;
|
||||
|
||||
import com.mapbox.mapboxsdk.testapp.activity.api.GeocoderActivity;
|
||||
import com.mapbox.mapboxsdk.testapp.activity.geocoding.GeocoderActivity;
|
||||
import com.mapbox.mapboxsdk.testapp.R;
|
||||
|
||||
import org.junit.Before;
|
||||
|
||||
@@ -5,7 +5,7 @@ import android.support.test.rule.ActivityTestRule;
|
||||
import android.support.test.runner.AndroidJUnit4;
|
||||
import android.test.suitebuilder.annotation.LargeTest;
|
||||
|
||||
import com.mapbox.mapboxsdk.testapp.activity.other.MapPaddingActivity;
|
||||
import com.mapbox.mapboxsdk.testapp.activity.maplayout.MapPaddingActivity;
|
||||
import com.mapbox.mapboxsdk.testapp.R;
|
||||
|
||||
import org.junit.Before;
|
||||
|
||||
@@ -4,7 +4,7 @@ import android.support.test.rule.ActivityTestRule;
|
||||
import android.support.test.runner.AndroidJUnit4;
|
||||
import android.test.suitebuilder.annotation.LargeTest;
|
||||
|
||||
import com.mapbox.mapboxsdk.testapp.activity.other.MyLocationTrackingModeActivity;
|
||||
import com.mapbox.mapboxsdk.testapp.activity.userlocation.MyLocationTrackingModeActivity;
|
||||
import com.mapbox.mapboxsdk.testapp.R;
|
||||
|
||||
import org.junit.Before;
|
||||
@@ -33,4 +33,4 @@ public class MyLocationTrackingModeActivityTest extends BaseTest {
|
||||
public void testSanity() {
|
||||
checkViewIsDisplayed(R.id.mapView);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
android:value="@string/category_other" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".activity.other.MyLocationTrackingModeActivity"
|
||||
android:name=".activity.userlocation.MyLocationTrackingModeActivity"
|
||||
android:description="@string/description_user_location_tracking"
|
||||
android:label="@string/activity_user_tracking_mode">
|
||||
<meta-data
|
||||
@@ -147,7 +147,7 @@
|
||||
android:value="@string/category_annotation" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".activity.api.DirectionsActivity"
|
||||
android:name=".activity.directions.DirectionsActivity"
|
||||
android:description="@string/description_directions"
|
||||
android:label="@string/activity_directions">
|
||||
<meta-data
|
||||
@@ -155,7 +155,7 @@
|
||||
android:value="@string/category_api" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".activity.api.GeocoderActivity"
|
||||
android:name=".activity.geocoding.GeocoderActivity"
|
||||
android:description="@string/description_geocoder"
|
||||
android:label="@string/activity_geocoder">
|
||||
<meta-data
|
||||
@@ -171,7 +171,7 @@
|
||||
android:value="@string/category_camera" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".activity.other.MapPaddingActivity"
|
||||
android:name=".activity.maplayout.MapPaddingActivity"
|
||||
android:description="@string/description_map_padding"
|
||||
android:label="@string/activity_map_padding"
|
||||
android:screenOrientation="portrait">
|
||||
@@ -180,7 +180,7 @@
|
||||
android:value="@string/category_other" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".activity.other.OfflineActivity"
|
||||
android:name=".activity.offline.OfflineActivity"
|
||||
android:description="@string/description_offline"
|
||||
android:label="@string/activity_offline">
|
||||
<meta-data
|
||||
@@ -188,7 +188,7 @@
|
||||
android:value="@string/category_other" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".activity.other.SnapshotActivity"
|
||||
android:name=".activity.imagegenerator.SnapshotActivity"
|
||||
android:description="@string/description_snapshot"
|
||||
android:label="@string/activity_snapshot">
|
||||
<meta-data
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mapbox.mapboxsdk.testapp.activity.api;
|
||||
package com.mapbox.mapboxsdk.testapp.activity.directions;
|
||||
|
||||
import android.graphics.Color;
|
||||
import android.os.Bundle;
|
||||
@@ -181,4 +181,4 @@ public class DirectionsActivity extends AppCompatActivity {
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mapbox.mapboxsdk.testapp.activity.api;
|
||||
package com.mapbox.mapboxsdk.testapp.activity.geocoding;
|
||||
|
||||
import android.graphics.PointF;
|
||||
import android.os.AsyncTask;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mapbox.mapboxsdk.testapp.activity.other;
|
||||
package com.mapbox.mapboxsdk.testapp.activity.imagegenerator;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import android.os.Bundle;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mapbox.mapboxsdk.testapp.activity.other;
|
||||
package com.mapbox.mapboxsdk.testapp.activity.maplayout;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.support.annotation.NonNull;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mapbox.mapboxsdk.testapp.activity.other;
|
||||
package com.mapbox.mapboxsdk.testapp.activity.offline;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.support.annotation.NonNull;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mapbox.mapboxsdk.testapp.activity.other;
|
||||
package com.mapbox.mapboxsdk.testapp.activity.userlocation;
|
||||
|
||||
import android.location.Location;
|
||||
import android.os.Bundle;
|
||||
@@ -223,4 +223,4 @@ public class MyLocationTrackingModeActivity extends AppCompatActivity implements
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user