Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update #81

Open
wants to merge 142 commits into
base: gh-pages
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
6f0ebab
Minor final changes.
Sep 10, 2011
f2454d5
Merge pull request #28 from Flashinator/patch-2
ChainsDD Sep 16, 2011
adad033
Merge master-dev into master
ChainsDD Sep 27, 2011
ec86c06
Trying again to merge master-dev into master
ChainsDD Sep 27, 2011
bb24f6b
Last try to get master up to date with master-dev
ChainsDD Sep 27, 2011
a08d147
Bugfix in Hungarian language.
ChainsDD Sep 28, 2011
0b17d94
Prevent FC when uninstalling an app.
ChainsDD Sep 28, 2011
cea2960
Try to catch some errors in the binary updater to make sure it works…
ChainsDD Sep 30, 2011
f53e4aa
Change su file mode before moving it into it's final location
ChainsDD Sep 30, 2011
339578a
Only change the file mode once, fix commit fail
ChainsDD Sep 30, 2011
25f3e85
Make multi-line entries in the console of UpdaterFragment display pro…
ChainsDD Oct 1, 2011
e4a3c8d
New layout for tablets in portrait to improve usability
ChainsDD Oct 4, 2011
cfb7c90
Don't show log if logging is disabled, requires app restart after cha…
ChainsDD Oct 5, 2011
25e315f
Update changelog and bump version
ChainsDD Oct 5, 2011
ab2e651
Fix FC when viewing app details on phones
ChainsDD Oct 6, 2011
025b6fc
Update changelog and version
ChainsDD Oct 6, 2011
52a724b
Fix FC when changing notification type without Elite installed
ChainsDD Oct 8, 2011
614ba12
Verify all fields of the manifest when it's downloaded to prevent pro…
ChainsDD Oct 8, 2011
e4fe839
Fix incompatibility with old versions of the su binary
ChainsDD Oct 9, 2011
10ba365
Give the user the option to suppress the outdated binary notification
ChainsDD Oct 9, 2011
f594517
Give better descriptions to the user as to why the updater can't upda…
ChainsDD Oct 9, 2011
48d8ebd
Change UpdaterActivity to nosensor
ChainsDD Oct 9, 2011
ea95692
Reorganize imports
ChainsDD Oct 9, 2011
d8c8eaa
Prevent FC in ResultReceiver and remove log spam
ChainsDD Oct 9, 2011
0389e51
Don't show clear log in the menu if logging is disabled and show get …
ChainsDD Oct 9, 2011
88eba63
Bump version and update changelog
ChainsDD Oct 9, 2011
4fc63f0
Ensure that the ids between the two databases stay synced up
ChainsDD Oct 10, 2011
0b08669
Prevent a SQLiteConstraintException in PermisionsProvider
ChainsDD Oct 10, 2011
d1912bc
Fix FCs happening when users press back while the binary updater is r…
ChainsDD Oct 10, 2011
99dd73e
Don't download busybox in binary updater if it's not required
ChainsDD Oct 11, 2011
1c0cda9
Update changelog and version
ChainsDD Oct 11, 2011
437baa5
Updated Spanish translations -
Oct 20, 2011
014cb75
Merge pull request #37 from DJGHOSTS3V3N/patch-3
ChainsDD Oct 22, 2011
cf2d9e5
Fix FC when remembering an app on some systems
ChainsDD Oct 22, 2011
bb5a006
Update changelog and version
ChainsDD Oct 22, 2011
f0cfeeb
Merge branch 'master' of github.com:ChainsDD/Superuser
ChainsDD Oct 22, 2011
da2d2d5
Add credit for the fix to HomerSP in the changelog
ChainsDD Oct 22, 2011
b403efc
Limit the total number of times that the PermisionsDbService will run…
ChainsDD Oct 23, 2011
67bc241
Add a little space between pages in HomeActivity
ChainsDD Oct 23, 2011
d60377d
Missed dimension from last commit
ChainsDD Oct 23, 2011
5cc0189
More elegant method for detecting currently installed su binary that …
ChainsDD Oct 23, 2011
e75bd40
Don't show okay after message about failing to remount /system as ro
ChainsDD Oct 23, 2011
b220955
More elegant way of detecting root access in binary updater
ChainsDD Oct 26, 2011
adf560b
Fix for not remembered apps only showing up in the log once, and only…
ChainsDD Nov 8, 2011
b479de1
More of the fix for not remembered apps only showing once
ChainsDD Nov 8, 2011
e2c5731
Manually specify the uid name for any uid that isn't an app
ChainsDD Nov 8, 2011
6876b63
Fix portrait prompt on ICS phones
ChainsDD Nov 20, 2011
ee06333
Swap allow/deny button positions in ICS to match the rest of the system
ChainsDD Nov 20, 2011
badd0b5
Add a more user friendly prompt, and an option to turn it off for adv…
ChainsDD Nov 20, 2011
ab46b87
Fix PIN being broken after restoring a backup
ChainsDD Nov 20, 2011
17113ea
Show a toast if only preferences are restored
ChainsDD Nov 20, 2011
91221d0
Updated translations from crowdin.net
ChainsDD Nov 20, 2011
2a6c4ea
Fix bitwise operation for screen size (lilHermit)
ChainsDD Nov 20, 2011
ef849b8
Bump changelog and version
ChainsDD Nov 20, 2011
2cf80fb
Add little green stars to the changelog for Elite features
ChainsDD Nov 20, 2011
cecfd70
Fix some build issues on ICS AOSP due to unlocalized strings
ChainsDD Nov 22, 2011
6bf4d09
Finish fixing build on ICS
ChainsDD Nov 23, 2011
549178d
Sign apk with the proper key
ChainsDD Nov 23, 2011
912db6e
Fix resource related FCs when built from AOSP source tree
ChainsDD Dec 4, 2011
cba93cb
Fix full-width % characters in Traditional Chinese translations
dreamcwli Apr 6, 2012
53118f6
Merge pull request #48 from dreamcwli/cba93cb099cae5e15a98ccabaa58d9e…
ChainsDD Apr 21, 2012
42bc5bb
Check that the socket comes from the right UID to prevent forged sockets
ChainsDD Jan 2, 2012
8c08a00
Read all data regarding the request directly from the socket instead …
ChainsDD Jan 2, 2012
f1dcd06
Use Holo style for Request window when available
ChainsDD Jan 2, 2012
58b660f
Delete backup files
ChainsDD Feb 5, 2012
6c5bff0
Fix superuser build to be same as market version
GavChap Jan 31, 2012
6e19eae
Superuser: Fix FC when checking for su binary update
pawitp Jan 27, 2012
ac274f0
Fix ANR caused by faulty date calculation in DateIndexer
ChainsDD Feb 12, 2012
26e3797
Clean up LogAdapter
ChainsDD Feb 12, 2012
e6e1998
Only read request details from socket if the su binary supports it
ChainsDD Feb 12, 2012
1c92d4d
Remove unnecessary version code field
ChainsDD Feb 12, 2012
55e1995
Code cleanup
ChainsDD Feb 12, 2012
024d146
Switch to ActionBarSherlock
ChainsDD Apr 21, 2012
32318a1
Updated translations from crowdin.net as of 2012-04-21
ChainsDD Apr 21, 2012
6e72f66
Fix loads of Lint errors and warnings
ChainsDD Apr 22, 2012
78bae34
Fix backwards compatibility with older binaries
ChainsDD Apr 22, 2012
f9480e9
Redo binary updater
ChainsDD May 29, 2012
396ce3e
Preferences overhaul
ChainsDD May 29, 2012
2214654
Minor adjustments to the ActionBar items on AppDetailsFragment
ChainsDD May 29, 2012
4554965
Add missing import from last commit
ChainsDD May 29, 2012
6afcfa7
Make a couple home buttons work
ChainsDD May 29, 2012
a6ea273
Delete some garbage that got left behind in binary updater commit
ChainsDD May 29, 2012
b929fb5
Fix wrong method in UpdaterActivity
ChainsDD Jun 10, 2012
013bbda
Suppress lint warnings
ChainsDD Jun 10, 2012
239d412
Clean up binary updater service
ChainsDD Jun 10, 2012
9bf094f
Add capability for binary updater service to run automatically update…
ChainsDD Jun 10, 2012
bd2fe28
Show the proper Preferences activity based on API level
ChainsDD Jun 10, 2012
6b48e29
Add temp unroot and ota survivor capabilities
ChainsDD Jun 10, 2012
e18862b
Add keys for temp unroot and ota survivor to Preferences class
ChainsDD Jun 10, 2012
70c1e95
Prevent NPE if no socket path is received
ChainsDD Jun 10, 2012
004309f
Add info page to the HomeActivity
ChainsDD Jun 26, 2012
0fab771
rename sutools-x86
ChainsDD Jun 26, 2012
4b1c055
Download the proper binary for the device's CPU architecture
ChainsDD Jun 26, 2012
4ac2634
Add in missing string
ChainsDD Jun 28, 2012
f02f028
Update translations from crowdin.net
ChainsDD Jun 28, 2012
ebef269
Hide the progress spinner properly on pre honeycomb devices
ChainsDD Jun 28, 2012
7df0e1b
Fix FC when opening preferences on pre-HC devices
ChainsDD Jun 30, 2012
be899ef
Give the binary updater a better chance of succeeding
ChainsDD Jun 30, 2012
83c2b44
Add button to the action bad on tablets to access the info page
ChainsDD Jun 30, 2012
cfc89c1
Update version
ChainsDD Jun 30, 2012
42de71a
Update changelog
ChainsDD Jun 30, 2012
9700016
Update translations
ChainsDD Jun 30, 2012
16db2e3
Update sutools to the latest build
ChainsDD Jun 30, 2012
e158255
Fix FC when entering preferences for elite users on pre-HC devices
ChainsDD Jun 30, 2012
c31490b
Use the proper style for the info page
ChainsDD Jun 30, 2012
b967c4a
Add in menu ids for log and info buttons
ChainsDD Jun 30, 2012
22310bf
Add in forgotten break statement
ChainsDD Jul 1, 2012
974e695
Temporarily disable the credential check
ChainsDD Jul 1, 2012
8532328
Add try again button to binary updater
ChainsDD Jul 1, 2012
320a294
Extend the timeouts in the binary updater to prevent premature failures
ChainsDD Jul 1, 2012
6de0040
Wrap the info page in a ScrollView for smaller devices
ChainsDD Jul 1, 2012
9954c9d
Update version and changelog
ChainsDD Jul 1, 2012
b52275c
Prevent NPE when backing up or restoring su binary
ChainsDD Jul 1, 2012
8f09d27
Prompt user to enable root access
ChainsDD Jul 2, 2012
416a6ed
Use supercurio's OTA root keeper for ota survival and temp unroot
ChainsDD Jul 4, 2012
36e2085
Use cat instead of cp for binary updater
ChainsDD Jul 4, 2012
60d4ccc
Add busy box binary for ota rootkeeper
ChainsDD Jul 4, 2012
981a3ba
Prevent FC when backing up apps
ChainsDD Jul 7, 2012
6298409
Use flat files for allowing/denying stored apps. Apps are still track…
ChainsDD Jul 7, 2012
1877610
Prevent su options from being deselected every time the fragment loads
ChainsDD Jul 7, 2012
5b7bf75
remove duplicate strings
MongooseHelix Jul 17, 2012
4292c0a
Fix NPE on caused by incorrect array index
MongooseHelix Jul 24, 2012
a8eb1d0
Fix FC on boot when instantiating a removed receiver
MongooseHelix Jul 24, 2012
1719d03
Add xhdpi icon
blunden Aug 12, 2012
e307afa
Include ActionBarSherlock code and resources in this repo
ChainsDD Aug 18, 2012
a4c3322
Remove a couple receivers from the manifest
ChainsDD Aug 18, 2012
0049314
Merge pull request #53 from MongooseHelix/master
ChainsDD Aug 18, 2012
2047601
Merge pull request #54 from blunden/master
ChainsDD Aug 18, 2012
7a4d491
Use Support Library's NotificationCompat.Builder
ChainsDD Aug 18, 2012
e16376e
Add an extra line to the default store file to prevent a vulnerability
ChainsDD Aug 19, 2012
4d45429
Fix typo
ChainsDD Aug 19, 2012
3a762ed
Prevent command line pollution from allowing privilege escalation
ChainsDD Aug 19, 2012
085bdf8
Temporarily disable the binary updater for security reasons
ChainsDD Aug 19, 2012
96f65a0
Fix white prompt on some devices
ChainsDD Aug 19, 2012
052be9b
Update changelog
ChainsDD Aug 19, 2012
6f83eff
Fix for apps that use multiple different commands not being remebered…
ChainsDD Oct 1, 2012
a87a7e6
Fix some Lint warnings
ChainsDD Jul 8, 2012
3aef6ef
Better fix for apps that use multiple commands
ChainsDD Nov 18, 2012
9f906e0
Multi-user support with 3 modes
ChainsDD Nov 20, 2012
bbb2132
Update version and changelog
ChainsDD Nov 20, 2012
3e01e55
Update
omnibus2211 Jan 31, 2025
0660e0a
Create android.yml
omnibus2211 Feb 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
26 changes: 26 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Android CI

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
6 changes: 5 additions & 1 deletion Android.mk
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

LOCAL_STATIC_JAVA_LIBRARIES := libarity android-support-v4
LOCAL_PACKAGE_NAME := Superuser
LOCAL_SRC_FILES := $(call all-java-files-under,src)
LOCAL_PROGUARD_FLAG_FILES := proguard.flags

LOCAL_CERTIFICATE := platform
LOCAL_AAPT_INCLUDE_ALL_RESOURCES := true

LOCAL_CERTIFICATE := superuser

include $(BUILD_PACKAGE)

Expand Down
168 changes: 122 additions & 46 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,51 +1,126 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2011 Adam Shanks (ChainsDD)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.noshufou.android.su"
android:versionCode="28"
android:versionName="2.3.6.3">

<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name="Su"
package="com.noshufou.android.su"
android:versionCode="50"
android:versionName="3.3">

<uses-permission android:name="com.noshufou.android.su.RESPOND" />
<uses-permission android:name="com.noshufou.android.su.provider.READ" />
<uses-permission android:name="com.noshufou.android.su.provider.WRITE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.NFC" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />

<permission android:name="com.noshufou.android.su.RESPOND"
android:label="@string/permlab_respond"
android:description="@string/permdesc_respond"
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
android:protectionLevel="signature" />
<permission android:name="com.noshufou.android.su.provider.READ"
android:label="@string/permlab_provider_read"
android:description="@string/permdesc_provider_read"
android:permissionGroup="com.noshufou.android.su.permission-group.SUPERUSER"
android:protectionLevel="signature" />
<permission android:name="com.noshufou.android.su.provider.WRITE"
android:label="@string/permlab_provider_write"
android:description="@string/permdesc_provider_write"
android:permissionGroup="com.noshufou.android.su.permission-group.SUPERUSER"
android:protectionLevel="signature" />

<permission-group android:name="com.noshufou.android.su.permission-group.SUPERUSER"
android:label="@string/permgrouplab_superuser"
android:description="@string/permgroupdesc_superuser" />

<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="11"/>

<uses-feature android:name="android.hardware.nfc" android:required="false" />

<application android:label="@string/app_name"
android:icon="@drawable/icon"
android:logo="@drawable/ic_logo"
android:hardwareAccelerated="true"
android:debuggable="true">
<activity android:name="HomeActivity"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar">
android:theme="@style/Theme.Superuser"
android:excludeFromRecents="true" />
<activity-alias android:name="Su"
android:targetActivity="HomeActivity"
android:label="Superuser"
android:enabled="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="AppListActivity" />
<activity android:name="LogActivity" />
<activity android:name="SuRequest"
</activity-alias>
<activity android:name="AppDetailsActivity"
android:theme="@style/Theme.Superuser.Details"
android:label="Details"
android:uiOptions="splitActionBarWhenNarrow" />
<activity android:name=".preferences.PreferencesActivity"
android:theme="@style/Theme.Superuser.Preferences"
android:label="Preferences" />
<activity android:name=".preferences.PreferencesActivityHC"
android:theme="@style/Theme.Superuser.Preferences"
android:label="Preferences" />
<activity android:name="UpdaterActivity"
android:theme="@style/Theme.Superuser.Preferences"
android:label="Updater"
android:screenOrientation="nosensor" />
<activity android:name="SuRequestActivity"
android:label="@string/app_name_request"
android:excludeFromRecents="true"
android:noHistory="true"
android:theme="@style/RequestPanel"
android:taskAffinity="" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
android:taskAffinity=""
android:windowSoftInputMode="stateAlwaysHidden">
</activity>
<activity android:name="SuPreferences">
<activity android:name="PinActivity"
android:label="PinActivity"
android:excludeFromRecents="true"
android:noHistory="true"
android:theme="@style/RequestPanel"
android:taskAffinity=""
android:windowSoftInputMode="stateAlwaysHidden" />
<activity android:name="TagWriterActivity"
android:label="TagWriterActivity"
android:excludeFromRecents="true"
android:noHistory="true"
android:theme="@style/RequestPanel"
android:taskAffinity=""
android:windowSoftInputMode="stateAlwaysHidden" />

<receiver android:name="SuRequestReceiver">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<action android:name="com.noshufou.android.su.REQUEST" />
</intent-filter>
</activity>
<receiver android:name="SuRequestReceiver">
<intent-filter>
<action android:name="com.noshufou.android.su.REQUEST" />
</intent-filter>
</receiver>
<receiver android:name="SuNotificationReceiver">
<intent-filter>
<action android:name="com.noshufou.android.su.NOTIFICATION" />
</intent-filter>
<receiver android:name="SuResultReceiver">
<intent-filter>
<action android:name="com.noshufou.android.su.RESULT" />
<action android:name="com.noshufou.android.su.NOTIFICATION" />
</intent-filter>
</receiver>
<receiver android:name="UninstallReceiver">
<receiver android:name="SecretCodeReceiver">
<intent-filter>
<action android:name="android.intent.action.PACKAGE_REMOVED" />
<data android:scheme="package" />
<action android:name="android.provider.Telephony.SECRET_CODE"/>
<data android:scheme="android_secret_code" />
</intent-filter>
</receiver>
<receiver android:name="InstallReceiver">
Expand All @@ -54,20 +129,21 @@
<data android:scheme="package" />
</intent-filter>
</receiver>
<receiver android:name="UninstallReceiver">
<intent-filter>
<action android:name="android.intent.action.PACKAGE_REMOVED" />
<data android:scheme="package" />
</intent-filter>
</receiver>

<service android:name=".service.ResultService" />
<service android:name=".service.UpdaterService" />

<provider android:name=".provider.PermissionsProvider"
android:authorities="com.noshufou.android.su.provider"
android:exported="true"
android:readPermission="com.noshufou.android.su.provider.READ"
android:writePermission="com.noshufou.android.su.provider.WRITE" />
</application>

<uses-sdk android:targetSdkVersion="4" android:minSdkVersion="3"/>

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<uses-permission android:name="com.noshufou.android.su.RESPOND" />

<permission android:name="com.noshufou.android.su.RESPOND"
android:label="@string/permlab_respond"
android:description="@string/permdesc_respond"
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
android:protectionLevel="signature" />

</manifest>
</manifest>
9 changes: 0 additions & 9 deletions CHANGELOG

This file was deleted.

1 change: 1 addition & 0 deletions Omnibus
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
superuser
Binary file added assets/busybox-armeabi
Binary file not shown.
Binary file added assets/sutools-armeabi
Binary file not shown.
Binary file added assets/sutools-x86
Binary file not shown.
1 change: 1 addition & 0 deletions proguard.flags
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-keep class com.noshufou.android.su.UpdaterFragment
28 changes: 28 additions & 0 deletions res/anim/grow_from_bottom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2011 Adam Shanks (ChainsDD)
Copyright (c) 2010 qberticus

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<set xmlns:android="http://schemas.android.com/apk/res/android">
<scale
android:fromXScale="0.3" android:toXScale="1.0"
android:fromYScale="0.3" android:toYScale="1.0"
android:pivotX="50%" android:pivotY="100%"
android:duration="@android:integer/config_shortAnimTime" />
<alpha
android:interpolator="@android:anim/decelerate_interpolator"
android:fromAlpha="0.0" android:toAlpha="1.0"
android:duration="@android:integer/config_shortAnimTime" />
</set>
28 changes: 28 additions & 0 deletions res/anim/grow_from_top.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2011 Adam Shanks (ChainsDD)
Copyright (c) 2010 qberticus

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<set xmlns:android="http://schemas.android.com/apk/res/android">
<scale
android:fromXScale="0.3" android:toXScale="1.0"
android:fromYScale="0.3" android:toYScale="1.0"
android:pivotX="50%" android:pivotY="0%"
android:duration="@android:integer/config_shortAnimTime" />
<alpha
android:interpolator="@android:anim/decelerate_interpolator"
android:fromAlpha="0.0" android:toAlpha="1.0"
android:duration="@android:integer/config_shortAnimTime" />
</set>
28 changes: 28 additions & 0 deletions res/anim/shrink_from_bottom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2011 Adam Shanks (ChainsDD)
Copyright (c) 2010 qberticus

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<set xmlns:android="http://schemas.android.com/apk/res/android">
<scale
android:fromXScale="1.0" android:toXScale="0.3"
android:fromYScale="1.0" android:toYScale="0.3"
android:pivotX="50%" android:pivotY="0%"
android:duration="@android:integer/config_shortAnimTime" />
<alpha
android:interpolator="@android:anim/accelerate_interpolator"
android:fromAlpha="1.0" android:toAlpha="0.0"
android:duration="@android:integer/config_shortAnimTime" />
</set>
28 changes: 28 additions & 0 deletions res/anim/shrink_from_top.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2011 Adam Shanks (ChainsDD)
Copyright (c) 2010 qberticus

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<set xmlns:android="http://schemas.android.com/apk/res/android">
<scale
android:fromXScale="1.0" android:toXScale="0.3"
android:fromYScale="1.0" android:toYScale="0.3"
android:pivotX="50%" android:pivotY="100%"
android:duration="@android:integer/config_shortAnimTime" />
<alpha
android:interpolator="@android:anim/accelerate_interpolator"
android:fromAlpha="1.0" android:toAlpha="0.0"
android:duration="@android:integer/config_shortAnimTime" />
</set>
20 changes: 20 additions & 0 deletions res/color/abs__primary_text_disable_only_holo_dark.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 The Android Open Source Project

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:color="@color/abs__bright_foreground_disabled_holo_dark"/>
<item android:color="@color/abs__bright_foreground_holo_dark"/> <!-- not selected -->
</selector>
Loading