My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1533: Centered unlock handle on Jellybean ROMS
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Aug 2012


Sign in to add a comment
 
Reported by robert....@gmail.com, Aug 20, 2012
I have found the code that need to be changed in order to center the unlock handle on the lock screen. The name of the file is "keyguard_screen_tab_unlock" and can be found in res/layout inside the "framework-res.apk"

BEFORE:

<com.android.internal.widget.multiwaveview.GlowPadView android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@id/unlock_widget" android:gravity="top" android:focusable="true" android:layout_alignParentBottom="true" android:targetDrawables="@array/lockscreen_targets_with_camera" android:targetDescriptions="@array/lockscreen_target_descriptions_with_camera" android:directionDescriptions="@array/lockscreen_direction_descriptions" android:handleDrawable="@drawable/ic_lockscreen_handle" android:outerRingDrawable="@drawable/ic_lockscreen_outerring" android:outerRadius="@dimen/glowpadview_target_placement_radius" android:innerRadius="@dimen/glowpadview_inner_radius" android:snapMargin="@dimen/glowpadview_snap_margin" android:feedbackCount="1" android:vibrationDuration="20" android:glowRadius="@dimen/glowpadview_glow_radius" android:pointDrawable="@drawable/ic_lockscreen_glowdot"

AFTER:

<com.android.internal.widget.multiwaveview.GlowPadView android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@id/unlock_widget" android:gravity="left|top" android:focusable="true" android:layout_alignParentBottom="true" android:targetDrawables="@array/lockscreen_targets_with_camera" android:targetDescriptions="@array/lockscreen_target_descriptions_with_camera" android:directionDescriptions="@array/lockscreen_direction_descriptions" android:handleDrawable="@drawable/ic_lockscreen_handle" android:outerRingDrawable="@drawable/ic_lockscreen_outerring" android:outerRadius="@dimen/glowpadview_target_placement_radius" android:innerRadius="@dimen/glowpadview_inner_radius" android:snapMargin="@dimen/glowpadview_snap_margin" android:feedbackCount="1" android:vibrationDuration="20" android:glowRadius="@dimen/glowpadview_glow_radius" android:pointDrawable="@drawable/ic_lockscreen_glowdot"
keyguard_screen_tab_unlock.xml
10.6 KB   Download
Aug 20, 2012
Project Member #1 bklarson@gmail.com
(No comment was entered for this change.)
Status: Invalid
Sign in to add a comment

Powered by Google Project Hosting