Skip to content

Commit

Permalink
reconstruct ResideMenu path, and change ResideMenu to a library project.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpecialCyCi committed Dec 22, 2013
1 parent 790964c commit ccecfb7
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 10 deletions.
4 changes: 1 addition & 3 deletions ResideMenu/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
package="com.special.ResideMenu"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="17"/>
<application android:label="@string/app_name" android:icon="@drawable/ic_launcher">
</application>
<uses-sdk android:minSdkVersion="8"/>
</manifest>
1 change: 1 addition & 0 deletions ResideMenu/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@

# Project target.
target=android-17
android.library=true
2 changes: 0 additions & 2 deletions ResideMenu/res/layout/residemenu_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,11 @@
android:layout_width="30dp"
android:layout_height="30dp"
android:scaleType="centerCrop"
android:src="@drawable/icon_calendar"
android:id="@+id/iv_icon"/>

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="abc"
android:textColor="@android:color/white"
android:textSize="18sp"
android:layout_marginLeft="10dp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.special.ResideMenu.menu;
package com.special.ResideMenu;

import android.app.Activity;
import android.content.Context;
Expand All @@ -15,7 +15,6 @@
import com.nineoldandroids.animation.AnimatorSet;
import com.nineoldandroids.animation.ObjectAnimator;
import com.nineoldandroids.view.ViewHelper;
import com.special.ResideMenu.R;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.special.ResideMenu.menu;
package com.special.ResideMenu;

import android.content.Context;
import android.view.LayoutInflater;
Expand Down
1 change: 1 addition & 0 deletions ResideMenuDemo/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<uses-sdk android:minSdkVersion="8"/>
<application android:label="@string/app_name" android:icon="@drawable/ic_launcher">
<activity android:name="MenuActivity"
android:theme="@android:style/Theme.NoTitleBar"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
Expand Down
1 change: 1 addition & 0 deletions ResideMenuDemo/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@

# Project target.
target=android-17
android.library.reference.1=../ResideMenu
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import android.widget.Button;
import android.widget.FrameLayout;
import android.widget.Toast;
import com.special.ResideMenu.menu.ResideMenu;
import com.special.ResideMenu.menu.ResideMenuItem;
import com.special.ResideMenu.ResideMenu;
import com.special.ResideMenu.ResideMenuItem;

public class MenuActivity extends Activity implements View.OnClickListener{

Expand Down

0 comments on commit ccecfb7

Please sign in to comment.