[Q] MOD For Hiding Number On Incoming Screen - G2 Q&A, Help & Troubleshooting

HI
I Want To Hide The Number Of An Incoming Screen Who Is Calling and Only Show The Name Of The Saved Contact. I Have De compiled LGContacts.apk,LGIncallUI.apk..
Can Anyone Help me telling Which FIle To Edit To Acheive This...

Azharkanorwala said:
HI
I Want To Hide The Number Of An Incoming Screen Who Is Calling and Only Show The Name Of The Saved Contact. I Have De compiled LGContacts.apk,LGIncallUI.apk..
Can Anyone Help me telling Which FIle To Edit To Acheive This...
Click to expand...
Click to collapse
which rom? if you have CloudyG3, in LGInCallUI.apk\res\layout\coverui_call_card_layout.xml
there is this line
Code:
<TextView android:ellipsize="end" android:gravity="center_horizontal" android:id="@id/callerNumber" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="1.0dip" android:singleLine="true" android:layout_below="@id/callerName" android:layout_centerHorizontal="true" style="@style/voicecall_cover_incall_phone_num" />
try to delete it or put 0.0dip in styles instead of 15.0dip, in this line
Code:
<style name="voicecall_cover_incall_phone_num">
<item name="android:textSize">[B][COLOR="Red"]15.0[/COLOR][/B]dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffe6e6e6</item>
<item name="android:includeFontPadding">false</item>
<item name="android:shadowColor">#33000000</item>
<item name="android:shadowDx">2.0</item>
<item name="android:shadowDy">2.0</item>
<item name="android:shadowRadius">4.0</item>
</style>
clearly, i don't know if it works. never tried

glfsd said:
which rom? if you have CloudyG3, in LGInCallUI.apk\res\layout\coverui_call_card_layout.xml
there is this line
Code:
<TextView android:ellipsize="end" android:gravity="center_horizontal" android:id="@id/callerNumber" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="1.0dip" android:singleLine="true" android:layout_below="@id/callerName" android:layout_centerHorizontal="true" style="@style/voicecall_cover_incall_phone_num" />
try to delete it or put 0.0dip in styles instead of 15.0dip, in this line
Code:
<style name="voicecall_cover_incall_phone_num">
<item name="android:textSize">[B][COLOR="Red"]15.0[/COLOR][/B]dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffe6e6e6</item>
<item name="android:includeFontPadding">false</item>
<item name="android:shadowColor">#33000000</item>
<item name="android:shadowDx">2.0</item>
<item name="android:shadowDy">2.0</item>
<item name="android:shadowRadius">4.0</item>
</style>
clearly, i don't know if it works. never tried
Click to expand...
Click to collapse
Thanks,I am on cloudy g2 2.2
I Want to know if the same can be applied to call log section,that only the names appear and not the number.

Related

BuildOS

Does anyone know what i need to put to make the below have its only heading so i can split different types up.
Code:
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<Items>
<Item name="Help" group="[B]test[/B]" checked="true">
<Tip>Help</Tip>
<Guid type="P">76164568-f00e-11db-8314-0800200c9a66</Guid>
</Item>
</Items>
Code:
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<Items>
<Item name="Adobe Reader LE" group="[B]System[/B]" checked="true">
<Tip>Adobe Reader LE</Tip>
<Guid type="p">820697b6-f803-45e4-9b4b-d38814a71fbc</Guid>
</Item>
</Items>
or am i missing something!!!

view flipper

i have some doubts related to view flipper in android
1>when to use setAnimation and setInAnimation/setOutAnimation? or what the difference between them?
2>can u decipher push_left_in.xml in animation folder(available in sample folder in sdk) as i have to make push_right_in.xml ?
HTML:
<set xmlns:android="http://schemas.android.com/apk/res/android">
<translate android:fromXDelta="100%p" android:toXDelta="0" android:duration="300"/>
<alpha android:fromAlpha="0.0" android:toAlpha="1.0" android:duration="300" />
</set>

[Q] not reaching onCreateOptionsMenu

I am trying to create an action bar.
I have an application with DrawerLayout that has inside a ViewPager... and I implement a PagerAadapter and a class for the page fragment.
this is the activity_main.xml under layout folder
Code:
<android.support.v4.widget.DrawerLayout
xmlns:android=<REMOVED_LINK>
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<!-- This is the main-->
<android.support.v4.view.ViewPager xmlns:android=<REMOVED_LINK>
xmlns:tools=<REMOVED_LINK>
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<!--
This title strip will display the currently visible page title, as well as the page
titles for adjacent pages.
-->
<android.support.v4.view.PagerTitleStrip
android:id="@+id/pager_title_strip"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:background="#33b5e5"
android:paddingBottom="4dp"
android:paddingTop="4dp"
android:textColor="#fff" />
</android.support.v4.view.ViewPager>
<ListView
android:id="@+id/optionsMenu"
android:background="#000000"
android:layout_width="240dp"
android:layout_height="match_parent"
android:layout_gravity="start"
android:choiceMode="singleChoice"
android:divider="@android:color/transparent"
android:dividerHeight="0dp" />
</android.support.v4.widget.DrawerLayout>
And this is the main.xml found in menu folder
Code:
<menu xmlns:android=<REMOVED_LINK>>
<item android:id="@+id/action_settings"
android:title="@string/action_settings" />
<item android:id="@+id/action_details"
android:title="@string/action_details" />
<item android:id="@+id/action_details2"
android:title="@string/action_details2" />
</menu>
The problem is that It doesn't even reach onCreateOptionsMenu on the MainActivity... I tried everything: - change android:minSdkVersion to 7, 11 and 14 (in the manifest uses-sdk tag) - add attribute to menu items "showAsAction", and remove that attribute too - make my page fragment override onCreateOptionsMenu
i debug it and it never reaches onCreateOptionsMenu, anywhere. and the getActionBar() is of course null.
Do you want it to be the native ActionBar, the ActionBarSherlock one or the ActionBarCompat one?
nikwen said:
Do you want it to be the native ActionBar, the ActionBarSherlock one or the ActionBarCompat one?
Click to expand...
Click to collapse
native ActionBar...
but as soon as I manage to reach onCreateOptionsMenu then I can do everything.
but i'm stuck on this wierd problem... maybe I should make a new project

How to correct change APK background

hello everybody
I have a problem
I want change my apk background but have trouble
i edit style.xml
original
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="RE_Main" parent="@*android:style/Theme.DeviceDefault.Light">
<style name="RE_Dialog" parent="@*android:style/Theme.DeviceDefault.Light.Dialog" />
</resources>
Change
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="RE_Main" parent="@*android:style/Theme.DeviceDefault.Light">
<item name="android:background">@drawable/semc</item>
</style>
<style name="RE_Dialog" parent="@*android:style/Theme.DeviceDefault.Light.Dialog" />
</resources>
Can not be used after changing

[Q] Menu Icons with different themes

Hello,
in the settings of my App the users can switch between Holo.Light and Holo theme.
But I show some Menu options in the ActionBar. I've copied the icons for Holo.Light into my App.
When I switch to Holo theme, the icons looks not really good.
How can I implement the icons for the dark theme?
I've tried the following: http://stackoverflow.com/a/12339924
But it dont work..
values/attrs.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="main">
<attr name="search_icon" format="reference" />
</declare-styleable>
</resources>
values/styles.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="MyTheme" parent="android:Theme.Holo">
<item name="search_icon" [user=3944923]@drawab[/user]le/ic_action_search</item>
</style>
<style name="MyTheme.Light" parent="android:Theme.Holo.Light">
<item name="search_icon" [user=3944923]@drawab[/user]le/ic_action_search_light</item>
</style>
</resources>
menu/main.xml
Code:
<item
android:id="@+id/action_search"
android:icon="?search_icon"
.....
manifest:
Code:
<application
android:theme="@style/MyTheme"
wheres the error? it does always show the @drawable/ic_action_search_light icon..

Categories

Resources