change framework assets with alternate home screen

by Andy Droid » Thu, 10 Sep 2009 10:16:56 GMT


Sponsored Links
 Thanks for the reply.  So once the system.img is flashed to the phone, there
is really no way to change the contents of framework-res.apk?  Sorry for the
redundant question, just verifying.

And no way to change out a core app icon, such as Contacts?

thanks








--~--~---------~--~----~------------~-------~--~----~



change framework assets with alternate home screen

by Romain Guy » Thu, 10 Sep 2009 11:36:51 GMT


 No and no :)








-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


change framework assets with alternate home screen

by Dianne Hackborn » Thu, 10 Sep 2009 11:37:23 GMT


 Correct, no way.








-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Background image on a spanned portion of text in a TextView (how?)

Hi,

I am trying to write an app that involves paragraphs of text which I
would like to display images behind. What I mean by this is that
within a paragraph I would have (for example) the first 3 words with a
certain background (ideally a nine-patch style image) then the next 1
word with a different image and the last 7 words with a another image.

Now I know I can achieve a rudimentary version of this with setSpan
and BackgroundColor. But instead of a colour I want to set an image as
the spans background.

I need to do it in a TextView because I require the wrapping of text
to occur as normal. Or in other words I need these image spans to be
able to cope with being split across 2 lines. Just like a selection
can be.

I've toyed with using a combination of LinearLayouts, and TextViews to
represent spans (which makes the 9 patch easier) but this method makes
it tricky to work out how to split the textviews across lines (as the
linear layouts work in only one direction).

I hope you get what I mean here :)

If anyone has any idea how I can achieve this I would be very
grateful! I've looked at the available spannable objects here :
http://developer.android.com/resources/faq/commontasks.html#selectingtext
but I can't find one that seems to do what I want (the descriptions of
what they do are a little lacking mind).

Well, fingers crossed.... :)

-- 

2. Investigating layout problems in GridView

Hello,
I'm trying really hard to understand how the GridView calculates its height 
and what is the best way to trouble shoot problems in this domain.
The problem's details are as follows:
the main view contains listView defined like this:
<ListView  android:layout_width="fill_parent"
android:layout_height="wrap_content"/>

Each row is a button and a gridview put together in the LinearLayout 
<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content" android:orientation="horizontal"
android:minHeight="40sp" android:descendantFocusability="afterDescendants">

<Button 
android:layout_width="wrap_content" android:layout_height="wrap_content" 
android:minWidth="30sp"/>

<GridView android:layout_width="fill_parent"
android:layout_height="wrap_content" android:numColumns="auto_fit"
android:columnWidth="40sp" android:stretchMode="columnWidth"
/>

GridView is filled with buttons:
<Button  android:layout_width="wrap_content" 
android:layout_height="wrap_content"
android:layout_margin="0sp"  />
Unfortunately when the view is displayed all gridviews are much higher than 
their children would require that. In HierarchyViewer I see that the buttons 
have mMeasuredHeight 30 (mminHeight: 0, no padding), but its parent - 
GridView has mMesuredHeight 64. I tried many other, less intuitive setting 
for layout without any luck. I also experimented with setting the height 
from the code, but then it becomes fragile and behaves on other phones.
Any advice on how to investigate this problem, fix it or develop more stable 
work around would be very welcome!

Thanks

-- 

3. Force close help, my first app

4. Transaction Limit Google Geocoder & Maps

5. kiosk mode

6. Accessing Android Calendar

7. What is a "KeyGuard"?