Skip to content

Commit

Permalink
Moving packages around to make more sense.wq
Browse files Browse the repository at this point in the history
  • Loading branch information
jfeinstein10 committed Jul 3, 2012
1 parent 91c1570 commit 66f0b01
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 6 deletions.
5 changes: 2 additions & 3 deletions example/src/com/slidingmenu/example/ExampleActivity.java
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
package com.slidingmenu.example;

import android.os.Bundle;
import android.view.View;

import com.actionbarsherlock.view.Menu;
import com.actionbarsherlock.view.MenuItem;
import com.slidingmenu.lib.SlidingMenuActivity;
import com.slidingmenu.lib.app.SlidingActivity;

public class ExampleActivity extends SlidingMenuActivity {
public class ExampleActivity extends SlidingActivity {

public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.slidingmenu.lib;
package com.slidingmenu.lib.app;

import android.content.Context;
import android.graphics.drawable.Drawable;
Expand All @@ -19,8 +19,10 @@
import com.actionbarsherlock.ActionBarSherlockCompat;
import com.actionbarsherlock.app.SherlockActivity;
import com.slidingmenu.lib.CustomViewAbove.LayoutParams;
import com.slidingmenu.lib.R;
import com.slidingmenu.lib.SlidingMenu;

public class SlidingMenuActivity extends SherlockActivity {
public class SlidingActivity extends SherlockActivity {

private SlidingMenu mSlidingMenu;
private View mMainLayout;
Expand Down Expand Up @@ -193,7 +195,7 @@ public void setOnClickListener(OnClickListener listener) {
mListener = listener;
}
public View toListViewRow() {
View v = SlidingMenuActivity.this.getLayoutInflater().inflate(R.layout.slidingmenurow, null);
View v = SlidingActivity.this.getLayoutInflater().inflate(R.layout.slidingmenurow, null);
((TextView)v.findViewById(R.id.slidingmenurowtitle)).setText(mTitle);
((ImageView)v.findViewById(R.id.slidingmenurowicon)).setImageDrawable(mIcon);
return v;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package com.slidingmenu.lib.app;

import com.actionbarsherlock.app.SherlockFragmentActivity;

public class SlidingFragmentActivity extends SherlockFragmentActivity {

}
7 changes: 7 additions & 0 deletions library/src/com/slidingmenu/lib/app/SlidingListActivity.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package com.slidingmenu.lib.app;

import com.actionbarsherlock.app.SherlockListActivity;

public class SlidingListActivity extends SherlockListActivity {

}

0 comments on commit 66f0b01

Please sign in to comment.