-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
85 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
app/src/main/java/com/zinc/jpermission/manu/MyTestGenymotionMenu.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package com.zinc.jpermission.manu; | ||
|
||
import android.content.Context; | ||
import android.content.Intent; | ||
|
||
import com.zinc.libpermission.menu.base.IMenu; | ||
|
||
/** | ||
* @author Jiang zinc | ||
* @date 创建时间:2018/4/18 | ||
* @description | ||
*/ | ||
|
||
public class MyTestGenymotionMenu implements IMenu { | ||
|
||
@Override | ||
public Intent getMenuIntent(Context context) { | ||
Intent intent = new Intent(context, MyTestMenu.class); | ||
|
||
return intent; | ||
} | ||
|
||
} |
22 changes: 22 additions & 0 deletions
22
app/src/main/java/com/zinc/jpermission/manu/MyTestMenu.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.zinc.jpermission.manu; | ||
|
||
import android.app.Activity; | ||
import android.os.Bundle; | ||
import android.support.annotation.Nullable; | ||
|
||
import com.zinc.jpermission.R; | ||
|
||
/** | ||
* @author Jiang zinc | ||
* @date 创建时间:2018/4/18 | ||
* @description | ||
*/ | ||
|
||
public class MyTestMenu extends Activity { | ||
|
||
@Override | ||
protected void onCreate(@Nullable Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.activity_test_manu); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<android.support.constraint.ConstraintLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" | ||
android:layout_height="match_parent"> | ||
|
||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:text="测试系统权限页——genymotion" | ||
android:gravity="center" | ||
/> | ||
|
||
</android.support.constraint.ConstraintLayout> |