[Android General] kin201303:
Guide To Add Big Photo And FullScreen Caller ID in Samsung Dailer

Guide To Add Big Photo And FullScreen Caller ID in Samsung Dailer

Big Photo Caller ID

Decompile SamsungInCallUI.apk

Goto: res/layout/sec_primary_call_info.xml

Edit from

Code:

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

<FrameLayout android:id="@id/photoContainerUpperView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true">

<RelativeLayout android:id="@id/photoContainerUnderView" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@id/photoContainerUpperView">

to

Code:

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

<FrameLayout android:layout_gravity="center" android:layout_width="@dimen/circle_call_photo_size" android:layout_height="@dimen/circle_call_photo_size" android:layout_marginTop="38.0dip" android:layout_centerHorizontal="true">

<ImageView android:layout_gravity="center_horizontal" android:id="@id/photo" android:visibility="gone" android:layout_width="@dimen/circle_call_photo_size" android:layout_height="@dimen/circle_call_photo_size" android:layout_centerHorizontal="true" />

</FrameLayout>

<FrameLayout android:id="@id/photoContainerUpperView" android:layout_width=wrap_content" android:layout_height="0.0dip" android:layout_centerHorizontal="true">	(This is remove the white circle,look at the screenshot)

<RelativeLayout android:id="@id/photoContainerUnderView" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="200.0dip" android:layout_below="@id/photoContainerUpperView"> (This is move the name layout ,look at the screenshot)

Locate to

res/values/dimens.xml

Add the following code at the end of the xml

<dimen name="circle_call_photo_size">300.0dip</dimen> (280~330 you like)

Recompile SamsungInCallUI.apk

**************************************

FullScreen Caller ID

Decompile SamsungInCallUI.apk

Goto: res/layout/sec_incall_screen.xml (Move one line and you can see the incoming buttons ,look at the screenshot)

Edit from

Code:

<FrameLayout android:id="@id/videocall_container" android:layout_width="fill_parent" android:layout_height="fill_parent" />

<FrameLayout android:id="@id/in_call_button_container" android:layout_width="fill_parent" android:layout_height="fill_parent" />

<FrameLayout android:id="@id/in_call_card_container" android:layout_width="fill_parent" android:layout_height="fill_parent" />

to

Code:

<FrameLayout android:id="@id/videocall_container" android:layout_width="fill_parent" android:layout_height="fill_parent" />

<FrameLayout android:id="@id/in_call_card_container" android:layout_width="fill_parent" android:layout_height="fill_parent" />

<FrameLayout android:id="@id/in_call_button_container" android:layout_width="fill_parent" android:layout_height="fill_parent" />

Goto: res/layout/sec_primary_call_info.xml

Edit from

Code:

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

<FrameLayout android:id="@id/photoContainerUpperView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true">

<RelativeLayout android:id="@id/photoContainerUnderView" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@id/photoContainerUpperView">

to

Code:

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

<FrameLayout android:layout_gravity="center" android:layout_width="@dimen/full_call_photo_size" android:layout_height="@dimen/full_call_photo_size" android:layout_centerHorizontal="true">

<ImageView android:layout_gravity="center_horizontal" android:id="@id/photo" android:visibility="gone" android:layout_width="@dimen/full_call_photo_size" android:layout_height="@dimen/full_call_photo_size" android:layout_centerHorizontal="true" />

</FrameLayout>

<FrameLayout android:id="@id/photoContainerUpperView" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_centerHorizontal="true">

<RelativeLayout android:id="@id/photoContainerUnderView" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="-10.0dip">

Locate to

res/values/dimens.xml

Add the following code at the end of the xml

<dimen name="full_call_photo_size">850.0dip</dimen>

Locate to

res/values/integer.xml

From

<integer name="photo_id_masking_type_theme">0</integer>

To

<integer name="photo_id_masking_type_theme">2</integer>	(This is remove the circle,look at the screenshot)

Recompile SamsungInCallUI.apk

My english is bad, I use Google Translate