[One (M7) Themes and Apps] Digitalkarma:
[how-to][theme] prism sense 5.5

wanted to share tips on how I theme my Prism for Sense 5.5... DK Style. the techniques I'm sharing with you have been put to use in my Zen roms, so if you need visual reference, it's in there..

Theme Blinkfeed Panels

STEP 1:

Decompile Prism and go to res/drawable/feedview_background_gradient.xml

STEP 2:

if you want transparent feed panels, change only the first two letters on the hex code:

#ff343434

to

00 = 100% fully transparency, 3f = 75% transparency, 7f = 50% transparency, bf = 25% transparency, ff = no transparency

Personally I use 77 on default grey but if I'm using a different color to match your theme then 66 shows up a little better.

STEP 3:

and speaking of colors.. if you want to edit the panels to a different color then change the 6 values:

#ff343434

starting color should be lighter and end color should be a shade darker if you want to go for that gradient look

---------------------

How to Make Modded Blinkfeed Background Fade When Swiping To Homescreen

If you have modded your Prism to enable transparency then you're prism background will look a bit funky..

All theme's I've seen make the automotive_common_bkg_top completely transparent while adding a background color tag in specific_feed_view.xml to handle the shade of transparency. what happens when you do that is your shaded background will remain static when you swipe to homescreen and you will lose the fade seen in the Stock prism. My way of handling this is the complete opposite and I experimented and came up with this:

STEP 1:

Open up gimp or your favorite imaging editor. If you haven't done so already, turn automotive_common_app_bkg_top.jpg into a png file. you will need to in case you feel like making the background semi-transparent. You will also need to rescale automotive_common_app_bkg_top's dimensions. Instead of the default 1080 x 480 change it to 1080 x 1920.

STEP 2:

Now you will need to make the background. it can have your own custom image or pattern. it can be solid or transparent. the choice is yours and you will design it however you see fit on your image program. keep in mind while the dimensions are 1080 x 1920 , you'll actually be working within a 1080 x 1756 canvas while leaving a 100% transparent strip(1080 x 164) on the bottom if you decide on making the dock transparent too. if you don't leave the bottom of the image blank, there's a glitch when you swipe and the dock's background will have a delay effect before fading out.

STEP 3:

go to res/layout/specific_feed_view.xml and open the file

add the android:background="#00000000" tag right after <com.htc.launcher.feeds.view.FeedScrollPageView

so it looks like: <com.htc.launcher.feeds.view.FeedScrollPageView android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent"

STEP 4:

if you haven't modded the smali to enable transparency already. go to:

\smali\com\htc\launcher\DragLayer.smali and search for -0x100 and change to 0x0

then

\smali\com\htc\launcher\Launcher.smali search for updateWallPaperVisibility and change: const/high16 v2, 0x10 to const/high16 v2, 0x0

recompile and you're done.

---------------------

Prism Dimensions for 5x6 Drawer

I know a lot of Prism's use smaller font size to eliminate overlapping labels but its so much harder to see. The solution is to make the font's just a tad small but not to the point where they overlap or are tiny. It also kind of bugged me that when you drop the target bar down, the bottom app row icons or labels gets cut off from the dock but my version eliminates that and makes the app drawer look cleaner. here are the values I use after many trial and errors:

STEP 1

goto res/values/dimens.xml

change the following tags to the values listed below:

<dimen name="all_app_icon_text_size_alt2">15.0sp</dimen>

<dimen name="all_apps_bg_rect_padding_bottom_alt2">5.0dip</dimen>

<dimen name="all_apps_bg_rect_extra_padding_on_firstPage_alt2">20.0dip</dimen>

<dimen name="config_allAppsTabbedPageLayoutPaddingLeft_alt2">-1.0dip</dimen>

<dimen name="config_allAppsTabbedPageLayoutPaddingRight_alt2">-1.0dip</dimen>

<dimen name="config_allAppsTabbedPageLayoutPaddingTop_alt2">24.0dip</dimen>

<dimen name="config_allAppsTabbedPageLayoutPaddingBottom_alt2">-2.0dip</dimen>

<dimen name="paged_view_app_view_width_alt2">75.0dip</dimen>

<dimen name="paged_view_app_view_height_alt2">95.0dip</dimen>

save it.

STEP 2

then go to res\values-sw360dp\dimens.xml

look for:

<dimen name="action_bar_height">53.299988dip</dimen>

change the value to: 62.299988dip

also make sure "shortcut_label_l" is 16.0sp and not 12.0sp or whatever the size was

save and recompile