[Android Apps and Games] mjraogr:
OK, Bro

I was start using the mod UI with the things that have been customized like colors, line dividers, brightness bar, bg and the toogle_button layout xml too . i must use only the unmod stock right?

Yes, the hex are automatic ids just did show to u see if the path names was set correctly

Doubt..

on the second compilation i left only you saying, the new btn line with diference in case put the android:visibilty . but didnt show btn

<ImageView android:layout_width="1.0dip" android:layout_height="25.0dip" android:layout_marginTop="7.0dip" android:layout_marginBottom="7.0dip" android:src="@drawable/tw_quick_panel_plnm_setting_dv" />
<ImageView android:id="@id/togglepanel_button" android:background="@drawable/tw_quick_panel_setting_button_bg" [COLOR="Red"]android:visibility="visible"[/COLOR] android:layout_width="wrap_content" android:layout_height="39.0dip" android:src="@drawable/ic_notify_togglepanel" android:scaleType="center" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:contentDescription="@null" />
<RelativeLayout android:id="@id/settings_button" android:background="#ff384248" android:focusable="true" android:visibility="visible" android:layout_width="@dimen/status_bar_expanded_setting_width" android:layout_height="39.0dip">

I remember right now.... if is trouble the dimens.xml lines set cause i forget erase it and the toggle_button layout xml properly created before is it conflits cause the described name set is the same of IDS used. " toggle_button "

tw_toggle_pannel_button.xml

<merge
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="vertical" android:focusable="false" android:layout_width="fill_parent" android:layout_height="@dimen/toggle_panel_button_height">
<ImageView android:layout_gravity="center" android:id="@id/togglepanel" android:layout_width="fill_parent" android:layout_height="@dimen/toggle_panel_button_image_height" android:layout_marginTop="@dimen/toggle_panel_button_margin_top" />
<TextView android:textSize="@dimen/toggle_panel_button_text_size" android:textColor="#ff648cff" android:gravity="center" android:id="@id/btn_text" android:layout_width="fill_parent" android:layout_height="0.0dip" android:includeFontPadding="false" />
<ImageView android:layout_gravity="center" android:id="@id/btn_status_image" android:paddingLeft="0.0dip" android:paddingTop="0.0dip" android:paddingRight="0.0dip" android:paddingBottom="0.0dip" android:layout_width="fill_parent" android:layout_height="0.0dip" android:scaleType="fitXY" android:drawable="@drawable/tw_quick_panel_off" />
</LinearLayout>
</merge>

Dimens toggle Button (this is dispensible right now)

<dimen name="toggle_panel_button_height">80.0dip</dimen>
<dimen name="toggle_panel_button_image_height">40.0dip</dimen>
<dimen name="toggle_panel_button_text_height">30.0dip</dimen>
<dimen name="toggle_panel_button_text_size">12.0dip</dimen>
<dimen name="toggle_panel_button_status_height">8.0dip</dimen>
<dimen name="toggle_panel_button_status_padding">2.0dip</dimen>
<dimen name="toggle_panel_button_margin_top">2.0dip</dimen>

I'll get the stock unmod UI and compile again placing just drawables, one diferent id, add the line on tw.

MJ