상세 컨텐츠

본문 제목

[강좌] 갤럭시 S4 LTE-A 잠금화면 카메라 바로가기

SmartPhone/Galaxy S4 LTE-A

by Hoyoo 2014. 3. 8. 22:02

본문

[강좌] 갤럭시 S4 LTE-A 잠금화면 카메라 바로가기 


[수정 방법]

Keyguard.apk 를 일단 디컴파일을 합니다

Keyguard.apk\res\layout-sw360dp-xxhdpi폴더에서

keyguard_unlock_view.xml를 편집기로 엽니다.

안에 내용을 싹 지우고

아래 파란 상자의 내용을 복사하여 붙여넣습니다

그리고 다시 컴파일을 하고 /System/priv-app에 퍼미션 644로 붙여넣습니다.


<?xml version="1.0" encoding="utf-8"?>

<com.android.keyguard.sec.KeyguardUnlockView android:gravity="center_horizontal" android:orientation="vertical" android:id="@id/keyguard_unlock_view" android:layout_width="fill_parent" android:layout_height="500.0dip" android:contentDescription="@string/keyguard_accessibility_swipe_unlock" androidprv:layout_maxHeight="500.0dip" androidprv:layout_maxWidth="@dimen/keyguard_security_width"

  xmlns:android="http://schemas.android.com/apk/res/android"

  xmlns:androidprv="http://schemas.android.com/apk/res/com.android.keyguard">

    <FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent">

        <LinearLayout android:layout_gravity="center" android:orientation="vertical" android:id="@id/keyguard_unlock_view_frame" android:background="@drawable/kg_bouncer_bg_white" android:layout_width="fill_parent" android:layout_height="fill_parent">

            <include android:layout_width="fill_parent" android:layout_height="wrap_content" layout="@layout/keyguard_message_area" />

            <FrameLayout android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_weight="1.0" />

            <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">

                <FrameLayout android:id="@id/guest_selector_padding" android:visibility="gone" android:layout_width="66.0dip" android:layout_height="66.0dip" />

                <LinearLayout android:gravity="bottom" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="6.0dip" android:layout_weight="1.0">

                    <TextView android:textSize="15.0dip" android:textColor="#ffffffff" android:gravity="center_horizontal" android:layout_gravity="bottom|center" android:id="@id/keyguard_unlock_view_help_text" android:paddingLeft="19.0dip" android:paddingRight="19.0dip" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:shadowColor="#99000000" style="@style/keyguard_text_shadow" />

                    <TextView android:textSize="15.0dip" android:textColor="#ffffffff" android:gravity="center_horizontal" android:layout_gravity="bottom|center" android:id="@id/keyguard_unlock_view_voice_help_text" android:paddingLeft="19.0dip" android:paddingRight="19.0dip" android:visibility="gone" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/lockscreen_voiceunlock_failed_to_recognise_voice_text" android:shadowColor="#99000000" style="@style/keyguard_text_shadow" />

                    <include android:gravity="center_horizontal" android:layout_gravity="bottom|center" android:orientation="vertical" android:id="@id/keyguard_selector_fade_container" android:layout_width="fill_parent" android:layout_height="wrap_content" layout="@layout/keyguard_emergency_carrier_area_unlock" />

                </LinearLayout>

                <include android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/keyguard_camera_shortcut" />

            </LinearLayout>

            <com.android.keyguard.sec.KeyguardShortcutView android:gravity="center" android:id="@id/keyguard_shortcutview_root" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/kg_unlock_shortcut_margin_top" android:layout_marginBottom="@dimen/kg_unlock_shortcut_margin_bottom" />

        </LinearLayout>

        <ImageView android:id="@id/keyguard_unlock_bouncer" android:background="@drawable/kg_bouncer_bg_white" android:layout_width="fill_parent" android:layout_height="fill_parent" android:alpha="0.0" />

    </FrameLayout>

</com.android.keyguard.sec.KeyguardUnlockView>


[스크린샷]



이 자료의 무단 복제를 금지합니다.

관련글 더보기

댓글 영역