change the package name to com.simplemobiletools.gallery

- no real functionality change
This commit is contained in:
tibbi 2016-02-24 00:08:09 +01:00
parent c5224c12e5
commit f630b9aa3d
18 changed files with 37 additions and 38 deletions

View file

@ -5,7 +5,7 @@ android {
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "gallery.simplemobiletools.com"
applicationId "com.simplemobiletools.gallery"
minSdkVersion 16
targetSdkVersion 23
versionCode 1

View file

@ -1,4 +1,4 @@
package gallery.simplemobiletools.com;
package com.simplemobiletools.gallery;
import android.app.Application;
import android.test.ApplicationTestCase;

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
package="gallery.simplemobiletools.com"
package="com.simplemobiletools.gallery"
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
@ -12,7 +12,7 @@
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".activities.MainActivity"
android:name="com.simplemobiletools.gallery.activities.MainActivity"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
@ -22,11 +22,11 @@
</activity>
<activity
android:name=".activities.PhotosActivity"
android:name="com.simplemobiletools.gallery.activities.PhotosActivity"
android:screenOrientation="portrait"/>
<activity
android:name=".activities.ViewPagerActivity"
android:name="com.simplemobiletools.gallery.activities.ViewPagerActivity"
android:screenOrientation="portrait"/>
</application>
</manifest>

View file

@ -1,4 +1,4 @@
package gallery.simplemobiletools.com;
package com.simplemobiletools.gallery;
public class Constants {
public static final String DIRECTORY = "directory";

View file

@ -1,4 +1,4 @@
package gallery.simplemobiletools.com;
package com.simplemobiletools.gallery;
public class Directory {
private final String path;

View file

@ -1,4 +1,4 @@
package gallery.simplemobiletools.com;
package com.simplemobiletools.gallery;
import android.content.Context;
import android.util.AttributeSet;

View file

@ -1,4 +1,4 @@
package gallery.simplemobiletools.com;
package com.simplemobiletools.gallery;
import android.content.Context;
import android.support.v4.view.ViewPager;

View file

@ -1,4 +1,4 @@
package gallery.simplemobiletools.com;
package com.simplemobiletools.gallery;
import android.os.Bundle;
import android.support.v4.app.Fragment;
@ -9,7 +9,7 @@ import android.view.ViewGroup;
import com.davemorrissey.labs.subscaleview.ImageSource;
import com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView;
import gallery.simplemobiletools.com.activities.ViewPagerActivity;
import com.simplemobiletools.gallery.activities.ViewPagerActivity;
public class ViewPagerFragment extends Fragment implements View.OnClickListener {
private String path;

View file

@ -1,4 +1,4 @@
package gallery.simplemobiletools.com.activities;
package com.simplemobiletools.gallery.activities;
import android.content.Intent;
import android.database.Cursor;
@ -16,12 +16,11 @@ import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import gallery.simplemobiletools.com.Constants;
import gallery.simplemobiletools.com.Directory;
import gallery.simplemobiletools.com.R;
import gallery.simplemobiletools.com.adapters.DirectoryAdapter;
import com.simplemobiletools.gallery.Constants;
import com.simplemobiletools.gallery.Directory;
import com.simplemobiletools.gallery.R;
import com.simplemobiletools.gallery.adapters.DirectoryAdapter;
public class MainActivity extends AppCompatActivity implements OnItemClickListener {
private List<Directory> dirs;

View file

@ -1,4 +1,4 @@
package gallery.simplemobiletools.com.activities;
package com.simplemobiletools.gallery.activities;
import android.content.Intent;
import android.database.Cursor;
@ -14,9 +14,9 @@ import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;
import gallery.simplemobiletools.com.Constants;
import gallery.simplemobiletools.com.R;
import gallery.simplemobiletools.com.adapters.PhotosAdapter;
import com.simplemobiletools.gallery.Constants;
import com.simplemobiletools.gallery.R;
import com.simplemobiletools.gallery.adapters.PhotosAdapter;
public class PhotosActivity extends AppCompatActivity implements AdapterView.OnItemClickListener {
private List<String> photos;

View file

@ -1,4 +1,4 @@
package gallery.simplemobiletools.com.activities;
package com.simplemobiletools.gallery.activities;
import android.content.Intent;
import android.database.Cursor;
@ -16,10 +16,10 @@ import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;
import gallery.simplemobiletools.com.Constants;
import gallery.simplemobiletools.com.MyViewPager;
import gallery.simplemobiletools.com.R;
import gallery.simplemobiletools.com.adapters.MyPagerAdapter;
import com.simplemobiletools.gallery.Constants;
import com.simplemobiletools.gallery.MyViewPager;
import com.simplemobiletools.gallery.R;
import com.simplemobiletools.gallery.adapters.MyPagerAdapter;
public class ViewPagerActivity extends AppCompatActivity {
private int pos;

View file

@ -1,4 +1,4 @@
package gallery.simplemobiletools.com.adapters;
package com.simplemobiletools.gallery.adapters;
import android.content.Context;
import android.view.LayoutInflater;
@ -12,8 +12,8 @@ import com.bumptech.glide.Glide;
import java.util.List;
import gallery.simplemobiletools.com.Directory;
import gallery.simplemobiletools.com.R;
import com.simplemobiletools.gallery.Directory;
import com.simplemobiletools.gallery.R;
public class DirectoryAdapter extends BaseAdapter {
private final Context context;

View file

@ -1,4 +1,4 @@
package gallery.simplemobiletools.com.adapters;
package com.simplemobiletools.gallery.adapters;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
@ -6,7 +6,7 @@ import android.support.v4.app.FragmentStatePagerAdapter;
import java.util.List;
import gallery.simplemobiletools.com.ViewPagerFragment;
import com.simplemobiletools.gallery.ViewPagerFragment;
public class MyPagerAdapter extends FragmentStatePagerAdapter {
private List<String> paths;

View file

@ -1,4 +1,4 @@
package gallery.simplemobiletools.com.adapters;
package com.simplemobiletools.gallery.adapters;
import android.content.Context;
import android.view.LayoutInflater;
@ -11,7 +11,7 @@ import com.bumptech.glide.Glide;
import java.util.List;
import gallery.simplemobiletools.com.R;
import com.simplemobiletools.gallery.R;
public class PhotosAdapter extends BaseAdapter {
private final Context context;

View file

@ -5,7 +5,7 @@
android:layout_height="match_parent"
android:background="@android:color/black">
<gallery.simplemobiletools.com.MyViewPager
<com.simplemobiletools.gallery.MyViewPager
android:id="@+id/view_pager"
android:layout_width="match_parent"
android:layout_height="match_parent"/>

View file

@ -5,7 +5,7 @@
android:layout_height="match_parent"
android:background="@color/tmb_background">
<gallery.simplemobiletools.com.MyImageView
<com.simplemobiletools.gallery.MyImageView
android:id="@+id/dir_thumbnail"
android:layout_width="match_parent"
android:layout_height="match_parent"/>

View file

@ -5,7 +5,7 @@
android:layout_height="match_parent"
android:background="@color/tmb_background">
<gallery.simplemobiletools.com.MyImageView
<com.simplemobiletools.gallery.MyImageView
android:id="@+id/photo_thumbnail"
android:layout_width="match_parent"
android:layout_height="match_parent"/>

View file

@ -1,4 +1,4 @@
package gallery.simplemobiletools.com;
package com.simplemobiletools.gallery;
import org.junit.Test;