forked from novoda/android-demos
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
Kevin McDonagh
committed
Jul 16, 2011
1 parent
62831c7
commit 1ce6848
Showing
13 changed files
with
828 additions
and
0 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,18 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.novoda" | ||
android:versionCode="1" | ||
android:versionName="1.0"> | ||
|
||
|
||
<application android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@style/Theme.Demo" > | ||
<activity android:name=".Encrypt" | ||
android:label="@string/app_name"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
|
||
</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,36 @@ | ||
-optimizationpasses 5 | ||
-dontusemixedcaseclassnames | ||
-dontskipnonpubliclibraryclasses | ||
-dontpreverify | ||
-verbose | ||
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/* | ||
|
||
-keep public class * extends android.app.Activity | ||
-keep public class * extends android.app.Application | ||
-keep public class * extends android.app.Service | ||
-keep public class * extends android.content.BroadcastReceiver | ||
-keep public class * extends android.content.ContentProvider | ||
-keep public class * extends android.app.backup.BackupAgentHelper | ||
-keep public class * extends android.preference.Preference | ||
-keep public class com.android.vending.licensing.ILicensingService | ||
|
||
-keepclasseswithmembernames class * { | ||
native <methods>; | ||
} | ||
|
||
-keepclasseswithmembernames class * { | ||
public <init>(android.content.Context, android.util.AttributeSet); | ||
} | ||
|
||
-keepclasseswithmembernames class * { | ||
public <init>(android.content.Context, android.util.AttributeSet, int); | ||
} | ||
|
||
-keepclassmembers enum * { | ||
public static **[] values(); | ||
public static ** valueOf(java.lang.String); | ||
} | ||
|
||
-keep class * implements android.os.Parcelable { | ||
public static final android.os.Parcelable$Creator *; | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
style="@style/Fill"> | ||
|
||
<LinearLayout style="@style/Fill.Width.Horizontal"> | ||
<TextView android:text="Encrypted: " /> | ||
<TextView android:id="@+id/txt_encrypted" /> | ||
</LinearLayout> | ||
|
||
<LinearLayout style="@style/Fill.Width.Horizontal"> | ||
<TextView android:text="After: " /> | ||
<TextView android:id="@+id/txt_unencrypted" /> | ||
</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,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="hello">Hello World, Encrypt!</string> | ||
<string name="app_name">Encrypt</string> | ||
</resources> |
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,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<style name="TEXT" /> | ||
<style name="TEXT.h1"> | ||
<item name="android:textSize">20sp</item> | ||
</style> | ||
<style name="TEXT.h1.white"> | ||
<item name="android:textColor">@android:color/white</item> | ||
</style> | ||
<style name="TEXT.li"> | ||
<item name="android:textSize">18sp</item> | ||
</style> | ||
|
||
</resources> |
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,28 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<style name="Fill"> | ||
<item name="android:layout_width">fill_parent</item> | ||
<item name="android:layout_height">fill_parent</item> | ||
<item name="android:orientation">vertical</item> | ||
</style> | ||
<style name="Wrap"> | ||
<item name="android:layout_width">wrap_content</item> | ||
<item name="android:layout_height">wrap_content</item> | ||
<item name="android:orientation">vertical</item> | ||
</style> | ||
<style name="Fill.Height" parent="@style/Fill"> | ||
<item name="android:layout_width">wrap_content</item> | ||
</style> | ||
<style name="Fill.Width" parent="@style/Fill"> | ||
<item name="android:layout_height">wrap_content</item> | ||
</style> | ||
<style name="Fill.Width.Horizontal" parent="@style/Fill.Width"> | ||
<item name="android:orientation">horizontal</item> | ||
</style> | ||
<style name="Fill.Height.Horizontal" parent="@style/Fill.Height"> | ||
<item name="android:orientation">horizontal</item> | ||
</style> | ||
<style name="Fill.Horizontal" parent="@style/Fill"> | ||
<item name="android:orientation">horizontal</item> | ||
</style> | ||
</resources> |
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,19 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<!-- _THEME --> | ||
<style name="Theme" parent="android:Theme" /> | ||
<style name="Theme.Demo" parent="android:style/Theme.Light"> | ||
<item name="android:windowNoTitle">true</item> | ||
<item name="android:windowContentOverlay">@null</item> | ||
<item name="android:layout_width">wrap_content</item> | ||
<item name="android:layout_height">wrap_content</item> | ||
<item name="android:windowBackground">@android:color/white</item> | ||
</style> | ||
|
||
<!-- Widget Styles --> | ||
<style name="Widget"> | ||
<item name="android:textAppearance">?android:attr/textAppearance</item> | ||
</style> | ||
|
||
|
||
</resources> |
Oops, something went wrong.