This repository has been archived by the owner on Dec 23, 2024. It is now read-only.
forked from rovo89/XposedAppSettings
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
9967896
commit 10bd4d8
Showing
27 changed files
with
2,214 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="src" path="gen"/> | ||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> | ||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> | ||
<classpathentry kind="lib" path="/XposedAppSettings/lib/XposedBridgeApi-2.0rc2.jar"/> | ||
<classpathentry kind="output" path="bin/classes"/> | ||
</classpath> |
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 |
---|---|---|
@@ -1,6 +1,2 @@ | ||
*.class | ||
|
||
# Package Files # | ||
*.jar | ||
*.war | ||
*.ear | ||
/bin | ||
/gen |
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,33 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>XposedAppSettings</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>com.android.ide.eclipse.adt.ApkBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>com.android.ide.eclipse.adt.AndroidNature</nature> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
Large diffs are not rendered by default.
Oops, something went wrong.
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,3 @@ | ||
eclipse.preferences.version=1 | ||
formatter_profile=_Xposed | ||
formatter_settings_version=12 |
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,45 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="de.robv.android.xposed.mods.appsettings" | ||
android:versionCode="5" | ||
android:versionName="0.0.5" > | ||
|
||
<uses-sdk android:minSdkVersion="15" /> | ||
<permission-tree android:name="de.robv.android.xposed.mods.appsettings"/> | ||
<uses-permission android:name="de.robv.android.xposed.mods.appsettings.BROADCAST_PERMISSION"/> | ||
<permission android:name="de.robv.android.xposed.mods.appsettings.BROADCAST_PERMISSION" android:protectionLevel="dangerous"></permission> | ||
|
||
<application | ||
android:icon="@drawable/ic_launcher" | ||
android:label="@string/app_name" > | ||
<activity | ||
android:name=".XposedModActivity" | ||
android:label="@string/app_name" | ||
android:configChanges="orientation|screenSize"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
<activity | ||
android:name=".settings.ApplicationSettings" | ||
android:label="Application Settings" | ||
android:configChanges="orientation|screenSize"> | ||
</activity> | ||
|
||
<meta-data | ||
android:name="xposedmodule" | ||
android:value="true" /> | ||
<meta-data | ||
android:name="xposeddescription" | ||
android:value="Ability to set configurations on a per-app basis: | ||
\n- Language | ||
\n- Screen size and DPI | ||
\n- Revoke permissions | ||
\n- Stay in memory" /> | ||
<meta-data | ||
android:name="xposedminversion" | ||
android:value="2.0rc1.*" /> | ||
</application> | ||
|
||
</manifest> |
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 @@ | ||
de.robv.android.xposed.mods.appsettings.XposedMod |
Binary file not shown.
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,14 @@ | ||
# This file is automatically generated by Android Tools. | ||
# Do not modify this file -- YOUR CHANGES WILL BE ERASED! | ||
# | ||
# This file must be checked in Version Control Systems. | ||
# | ||
# To customize properties used by the Ant build system edit | ||
# "ant.properties", and override values to adapt the script to your | ||
# project structure. | ||
# | ||
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): | ||
#proguard.config=${sdk.dir}\tools\proguard\proguard-android.txt:proguard-project.txt | ||
|
||
# Project target. | ||
target=android-15 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,29 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:gravity="left|center" > | ||
<ImageView | ||
android:id="@+id/app_icon" | ||
android:layout_width="36dp" | ||
android:layout_height="36dp" /> | ||
<LinearLayout | ||
android:layout_width="0dip" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:orientation="vertical" | ||
android:paddingLeft="10sp" | ||
android:paddingRight="10sp" > | ||
<TextView | ||
android:id="@+id/app_name" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:gravity="left" /> | ||
<TextView | ||
android:id="@+id/app_package" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:gravity="left" | ||
android:textColor="#0099CC" /> | ||
</LinearLayout> | ||
</LinearLayout> |
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,29 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:gravity="left|center" | ||
> | ||
<TextView | ||
android:id="@+id/perm_name" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentLeft="true" | ||
android:layout_toLeftOf="@+id/chkPermDisabled" | ||
android:gravity="left" /> | ||
<TextView | ||
android:id="@+id/perm_description" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignLeft="@id/perm_name" | ||
android:layout_alignRight="@id/perm_name" | ||
android:layout_below="@id/perm_name" | ||
android:gravity="left" | ||
android:textColor="#0099CC" /> | ||
<CheckBox | ||
android:id="@+id/chkPermDisabled" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentRight="true" | ||
android:layout_alignParentTop="true" /> | ||
</RelativeLayout> |
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,128 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:scrollbars="vertical" | ||
android:orientation="vertical" > | ||
<RelativeLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="horizontal" > | ||
<TextView | ||
android:id="@+id/app_label" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_toLeftOf="@id/app_icon" | ||
android:textAppearance="?android:attr/textAppearanceLarge" /> | ||
<TextView | ||
android:id="@+id/package_name" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_below="@id/app_label" | ||
android:layout_toLeftOf="@id/app_icon" | ||
android:textColor="#0099CC" /> | ||
<Switch | ||
android:id="@+id/switchAppTweaked" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentRight="true" | ||
android:paddingLeft="8dp" /> | ||
<ImageView | ||
android:id="@+id/app_icon" | ||
android:layout_width="36dp" | ||
android:layout_height="36dp" | ||
android:layout_toLeftOf="@id/switchAppTweaked" | ||
android:layout_gravity="right" /> | ||
</RelativeLayout> | ||
<RelativeLayout | ||
android:id="@+id/viewTweaks" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical" > | ||
|
||
<TextView | ||
android:id="@+id/lblDPI" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:paddingTop="16dp" | ||
android:layout_alignParentLeft="true" | ||
android:text="DPI:" > | ||
<requestFocus /> | ||
</TextView> | ||
<EditText | ||
android:id="@+id/txtDPI" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignTop="@id/lblDPI" | ||
android:layout_toRightOf="@id/lblDPI" | ||
android:ems="3" | ||
android:inputType="number" | ||
android:imeOptions="actionDone|flagNavigateNext" > | ||
</EditText> | ||
<Spinner | ||
android:id="@+id/spnScreen" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignTop="@id/lblDPI" | ||
android:layout_toRightOf="@id/txtDPI" /> | ||
<CheckBox | ||
android:id="@+id/chkTablet" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_toRightOf="@id/spnScreen" | ||
android:layout_alignParentRight="true" | ||
android:layout_alignTop="@id/lblDPI" | ||
android:text="Tablet" /> | ||
<TextView | ||
android:id="@+id/lblLanguage" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:paddingTop="16dp" | ||
android:layout_alignParentLeft="true" | ||
android:layout_below="@id/spnScreen" | ||
android:text="Language: " /> | ||
<Button | ||
android:id="@+id/btnListRes" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignTop="@id/lblLanguage" | ||
android:layout_alignParentRight="true" | ||
android:text="List Res" /> | ||
<Spinner | ||
android:id="@+id/spnLanguage" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignTop="@id/lblLanguage" | ||
android:layout_toLeftOf="@id/btnListRes" | ||
android:layout_toRightOf="@id/lblLanguage" /> | ||
<View | ||
android:layout_width="match_parent" | ||
android:layout_height="1dp" | ||
android:layout_below="@id/spnLanguage" | ||
android:background="@android:color/darker_gray" /> | ||
<CheckBox | ||
android:id="@+id/chkRevokePerms" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentLeft="true" | ||
android:layout_below="@id/spnLanguage" | ||
android:text="Revoke Perms." /> | ||
<CheckBox | ||
android:id="@+id/chkResident" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentRight="true" | ||
android:layout_below="@id/spnLanguage" | ||
android:enabled="false" | ||
android:text="Resident" /> | ||
<ListView | ||
android:id="@+id/lstPermissions" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_below="@id/chkRevokePerms" | ||
android:fadingEdge="vertical" | ||
android:fastScrollEnabled="false" | ||
android:textFilterEnabled="false" /> | ||
</RelativeLayout> | ||
</LinearLayout> |
Oops, something went wrong.