Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyje committed Jan 25, 2015
1 parent e824bca commit 49b6c1e
Show file tree
Hide file tree
Showing 187 changed files with 2,190 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .classpath
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="libs/org.beryl-src.jar"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
13 changes: 13 additions & 0 deletions .hgignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
syntax: glob
*.class
*.suo
*.apk

syntax: regexp
bin\\*
obj\\*
obf\\*
gen\\*
log\\*
.svn\\*
.metadata\\*
10 changes: 10 additions & 0 deletions .hgtags
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
c7603d01da8f8e43a1c2aad154c4b859717fa717 NoKeyguard_20
c364d4c69b4d76b7ab6de0dc1fa3adc09d176fc7 Version21
9628f60eeff0cc5c89892162e05701a6a375e1a6 Version_22
cc57c01e4421920d8453b6e6bfde561d1d3310a3 Nokeyguard_30
5e88edae466a6d667790470696063052552bb8f1 Version40
a4e0fc587cd94743b251f94463722fdd8180037e Version_45
8a8437f508a2fca69d1767dcb70c5cdb4132885a Version_50
4125434eb130c57b62fa7c6e1301da6833d57117 Version_60
5074cc6cbb35838bc1adcc62efd91876ba3d6a80 Version_61
65a6baf2c98f48b4af423266ef668791d152bf94 Version_70
33 changes: 33 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>NoKeyguard</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>
5 changes: 5 additions & 0 deletions .settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#Thu Feb 16 14:40:16 EST 2012
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
org.eclipse.jdt.core.compiler.compliance=1.5
org.eclipse.jdt.core.compiler.source=1.5
46 changes: 46 additions & 0 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.futonredemption.nokeyguard"
android:versionCode="80" android:versionName="8.0">

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

<uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />

<application android:debuggable="false"
android:hardwareAccelerated="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name">

<activity android:name="com.futonredemption.nokeyguard.activities.LockScreenActivity"
android:theme="@style/Klondike">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>

<activity android:enabled="true"
android:excludeFromRecents="true" android:exported="true"
android:label="@string/activity_preferences"
android:launchMode="singleTop"
android:theme="@style/Klondike"
android:name="com.futonredemption.nokeyguard.activities.NoKeyguardPreferenceActivity" android:noHistory="true" />

<receiver android:enabled="false" android:name=".receivers.PowerStateChangedReceiver">
<intent-filter>
<action android:name="android.intent.action.ACTION_POWER_CONNECTED" />
<action android:name="android.intent.action.ACTION_POWER_DISCONNECTED" />
</intent-filter>
</receiver>

<receiver android:enabled="true" android:exported="true"
android:label="@string/widget_label_1x1" android:name=".appwidgets.AppWidgetProvider1x1">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget_1x1" />
</receiver>
<service android:enabled="true"
android:label="@string/service_name" android:name=".services.DisableKeyguardService" />
</application>
</manifest>
19 changes: 19 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2012 Futon Redemption

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Binary file added asset-source/Icon512.pdn
Binary file not shown.
Binary file added asset-source/Icon512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added asset-source/Icon72Base.pdn
Binary file not shown.
Binary file added asset-source/LockActive.pdn
Binary file not shown.
Binary file added asset-source/LockActive2.pdn
Binary file not shown.
Binary file added asset-source/LockBroken.pdn
Binary file not shown.
Binary file added asset-source/Thumbs.db
Binary file not shown.
Binary file added asset-source/background-glow.pdn
Binary file not shown.
Binary file added asset-source/ic_launcher/Thumbs.db
Binary file not shown.
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.
Binary file added asset-source/ic_launcher/ic_launcher-hdpi.pdn
Binary file not shown.
Binary file added asset-source/ic_launcher/ic_launcher-mdpi.pdn
Binary file not shown.
Binary file added asset-source/ic_launcher/ic_launcher-xhdpi.pdn
Binary file not shown.
Binary file added asset-source/ic_launcher/ic_launcher-xhdpi.png
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.
Binary file added asset-source/market-publish/Thumbs.db
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added asset-source/market-publish/feature-graphic.pdn
Binary file not shown.
Binary file added asset-source/market-publish/feature-graphic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
539 changes: 539 additions & 0 deletions asset-source/market-publish/high-res-icon.pdn

Large diffs are not rendered by default.

Binary file added asset-source/market-publish/high-res-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added asset-source/publish/Feature Graphic.pdn
Binary file not shown.
Binary file added asset-source/publish/Feature Graphic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added asset-source/publish/PromotionGraphic.pdn
Binary file not shown.
Binary file added asset-source/publish/PromotionGraphic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added asset-source/publish/Thumbs.db
Binary file not shown.
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.
Binary file added asset-source/stat/ic_stat_lock.zip
Binary file not shown.
Binary file added asset-source/stat/ic_stat_nolock-xhdpi-sharp.zip
Binary file not shown.
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.
Binary file added asset-source/stat/ic_stat_nolock-xhdpi-smooth.zip
Binary file not shown.
Binary file added libs/org.beryl-src.jar
Binary file not shown.
Binary file added libs/org.beryl.experimental-src.jar
Binary file not shown.
Binary file added libs/org.beryl.ext-src.jar
Binary file not shown.
73 changes: 73 additions & 0 deletions libs/proguard.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
-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 *;
}

-dontwarn **CompatHoneycomb
-keep class android.support.v4.** {
*;
}

-keep public class * extends android.view.View
-keep public class * extends android.view.ViewGroup.LayoutParams

-keepclassmembers class **.R$* {
public static <fields>;
}

-keepclassmembers class * {
static final % *;
static final java.lang.String *;
}

-keepclassmembernames class * extends android.support.v4.app.Fragment {
*;
}

-keep class * implements android.view.View.OnClickListener

-keep class org.beryl.widget.** {
*;
}

-keep class * extends org.beryl.widget.GenericViewBinder$GenericListener

-keep class org.beryl.app.diagnostics.reporting.** {
*;
}

-keep class org.beryl.database.** {
*;
}
51 changes: 51 additions & 0 deletions proguard.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
-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>;
}

-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet);
}

-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet, int);
}

-keepclassmembers class * extends android.app.Activity {
public void *(android.view.View);
}

-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}

-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}

-dontwarn **CompatHoneycomb
-dontwarn **CompatHoneycombMR2
-dontwarn **CompatCreatorHoneycombMR2
-keep class android.support.v4.** { *; }

-keep public class * extends android.support.v4.**
-keep public class * extends android.app.Fragment

-keep public class * extends android.view.View
-keep public class * extends android.view.ViewGroup.LayoutParams
12 changes: 12 additions & 0 deletions project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# 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 use,
# "ant.properties", and override values to adapt the script to your
# project structure.

# Project target.
target=android-15
proguard.config=proguard.cfg
Binary file added res/drawable-hdpi-v11/ic_stat_nolock.png
Binary file added res/drawable-hdpi-v14/appwidget_dark_bg.9.png
Binary file added res/drawable-hdpi-v9/ic_stat_nolock.png
Binary file added res/drawable-hdpi/ab_solid_dark_holo.9.png
Binary file added res/drawable-hdpi/appwidget_dark_bg.9.png
Binary file added res/drawable-hdpi/appwidget_inner_focused_b.9.png
Binary file added res/drawable-hdpi/appwidget_inner_focused_t.9.png
Binary file added res/drawable-hdpi/appwidget_inner_pressed_b.9.png
Binary file added res/drawable-hdpi/appwidget_inner_pressed_t.9.png
Binary file added res/drawable-hdpi/ic_appwidget_screenlock_off.png
Binary file added res/drawable-hdpi/ic_appwidget_screenlock_on.png
Binary file added res/drawable-hdpi/ic_launcher.png
Binary file added res/drawable-hdpi/ic_stat_nolock.png
Binary file added res/drawable-ldpi-v11/ic_stat_nolock.png
Binary file added res/drawable-ldpi-v9/ic_stat_nolock.png
Binary file added res/drawable-ldpi/ic_stat_nolock.png
Binary file added res/drawable-mdpi-v11/ic_stat_nolock.png
Binary file added res/drawable-mdpi-v14/appwidget_dark_bg.9.png
Binary file added res/drawable-mdpi-v9/ic_stat_nolock.png
Binary file added res/drawable-mdpi/ab_solid_dark_holo.9.png
Binary file added res/drawable-mdpi/appwidget_dark_bg.9.png
Binary file added res/drawable-mdpi/appwidget_inner_focused_b.9.png
Binary file added res/drawable-mdpi/appwidget_inner_focused_t.9.png
Binary file added res/drawable-mdpi/appwidget_inner_pressed_b.9.png
Binary file added res/drawable-mdpi/appwidget_inner_pressed_t.9.png
Binary file added res/drawable-mdpi/ic_appwidget_screenlock_off.png
Binary file added res/drawable-mdpi/ic_appwidget_screenlock_on.png
Binary file added res/drawable-mdpi/ic_launcher.png
Binary file added res/drawable-mdpi/ic_stat_nolock.png
Binary file added res/drawable-nodpi-v14/appwidget_1x1_preview.png
Binary file added res/drawable-nodpi/appwidget_1x1_preview.png
Binary file added res/drawable-nodpi/bg_dark.png
Binary file added res/drawable-xhdpi-v11/ic_stat_nolock.png
Binary file added res/drawable-xhdpi-v14/appwidget_dark_bg.9.png
Binary file added res/drawable-xhdpi-v9/ic_stat_nolock.png
Binary file added res/drawable-xhdpi/ab_solid_dark_holo.9.png
Binary file added res/drawable-xhdpi/ic_appwidget_screenlock_on.png
Binary file added res/drawable-xhdpi/ic_launcher.png
Binary file added res/drawable-xhdpi/ic_stat_nolock.png
Binary file added res/drawable/active_lock.png
10 changes: 10 additions & 0 deletions res/drawable/appwidget_button_bottom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"
android:exitFadeDuration="@android:integer/config_mediumAnimTime">

<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/appwidget_button_bottom_transition" />
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/appwidget_button_bottom_transition" />
<item android:state_focused="true" android:drawable="@drawable/appwidget_inner_focused_b" />
<item
android:drawable="@android:color/transparent" />
</selector>
5 changes: 5 additions & 0 deletions res/drawable/appwidget_button_bottom_transition.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<transition xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/appwidget_inner_pressed_b" />
<item android:drawable="@drawable/appwidget_inner_focused_b" />
</transition>
10 changes: 10 additions & 0 deletions res/drawable/appwidget_button_top.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"
android:exitFadeDuration="@android:integer/config_mediumAnimTime">

<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/appwidget_button_top_transition" />
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/appwidget_button_top_transition" />
<item android:state_focused="true" android:drawable="@drawable/appwidget_inner_focused_t" />
<item
android:drawable="@android:color/transparent" />
</selector>
5 changes: 5 additions & 0 deletions res/drawable/appwidget_button_top_transition.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<transition xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/appwidget_inner_pressed_t" />
<item android:drawable="@drawable/appwidget_inner_focused_t" />
</transition>
5 changes: 5 additions & 0 deletions res/drawable/bg_darktile.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/bg_dark"
android:antialias="true"
android:tileMode="repeat" />
Binary file added res/drawable/bg_glow_blue.png
Binary file added res/drawable/bg_glow_white.png
Binary file added res/drawable/inactive_lock.png
8 changes: 8 additions & 0 deletions res/drawable/selector_actionbar_button.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"
android:exitFadeDuration="@android:integer/config_mediumAnimTime">
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/selector_actionbar_button_transition" />
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/selector_actionbar_button_transition" />
<item android:state_focused="true" android:drawable="@color/item_selection" />
<item android:drawable="@android:color/transparent" />
</selector>
5 changes: 5 additions & 0 deletions res/drawable/selector_actionbar_button_transition.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<transition xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@color/item_selection" />
<item android:drawable="@color/item_selection" />
</transition>
6 changes: 6 additions & 0 deletions res/layout/activity_hidden.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/HiddenImageView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@android:color/transparent" />
48 changes: 48 additions & 0 deletions res/layout/activity_main.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ImageView android:id="@+id/BackgroundGlowImageView"
android:src="@drawable/bg_glow_white"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:scaleType="fitXY"
android:visibility="invisible"
android:contentDescription="@string/no_description"
/>

<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="@drawable/bg_darktile">
<TextView android:id="@+id/WarningTextView"
android:layout_width="fill_parent" android:layout_height="@dimen/warning_size"
style="@style/StatusText"
android:text="@string/unstable_lock_warning"
android:background="@color/warning"
android:textColor="@android:color/black"
android:lines="2" />
<FrameLayout android:layout_width="match_parent" android:layout_height="0dp"
android:layout_weight="70"
android:background="@android:color/transparent">
<ImageButton android:id="@+id/ToggleLockButton"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:background="@drawable/selector_actionbar_button"
android:src="@drawable/active_lock"
android:scaleType="centerInside"
android:layout_gravity="center"
android:contentDescription="@string/toggle_lockscreen" />
</FrameLayout>
<TextView android:id="@+id/StatusTextView"
android:layout_width="fill_parent" android:layout_height="0dp"
android:layout_weight="15"
style="@style/StatusText"
android:text="@string/app_name" />
<Button android:id="@+id/PreferencesButton"
android:layout_width="fill_parent" android:layout_height="0dp"
android:layout_weight="15"
android:text="@string/preferences"
android:gravity="center" />
</LinearLayout>
</merge>
Loading

0 comments on commit 49b6c1e

Please sign in to comment.