[Galaxy S II Themes and Apps] criskelo:
Hello Kjay

Sorry to contact you by here but I can not send PM

I found a different way to put background in QuickPanel

To avoid (xml repeat) and the picture is not cut

I hope it is useful

A greeting and thank you for this excellent mod:D

Here code

<?xml version="1.0" encoding="UTF-8"?>
<com.android.systemui.statusbar.quickpanel.QuickSettingsView android:orientation="horizontal" android:id="@id/quickpanel_quick_settings" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<HorizontalScrollView android:scrollbars="none" android:fadingEdge="vertical" android:fadingEdgeLength="20.0px" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:orientation="horizontal" android:id="@id/quickpanel" android:layout_width="768.0dip" android:layout_height="84.0dip">
<FrameLayout android:id="@id/quickpanel_wifi_btn" android:background="@drawable/quickpanel_quick_settings_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_wifi_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_wifi_off" />
<com.android.systemui.statusbar.quickpanel.WifiSettingButton android:textSize="10.0dip" android:textStyle="normal" android:textColor="@color/quickpanel_text" android:gravity="center_horizontal" android:id="@id/quickpanel_wifi_btn_text" android:paddingTop="56.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_wifi_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_wifi_btn_status_icon" android:paddingLeft="2.3349915dip" android:paddingRight="2.3249817dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
<FrameLayout android:id="@id/quickpanel_data_btn" android:background="@drawable/quickpanel_quick_settings_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_toRightOf="@id/quickpanel_wifi_btn">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_mobiledata_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_mobiledata_off" />
<com.android.systemui.statusbar.quickpanel.MobileDataSettingButton android:textSize="10.0dip" android:textStyle="normal" android:textColor="@color/quickpanel_text" android:gravity="center_horizontal" android:id="@id/quickpanel_mobiledata_btn_text" android:paddingTop="56.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_mobiledata_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_mobiledata_btn_status_icon" android:paddingLeft="2.3349915dip" android:paddingRight="2.3249817dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
<FrameLayout android:id="@id/quickpanel_bt_btn" android:background="@drawable/quickpanel_quick_settings_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_toRightOf="@id/quickpanel_data_btn">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_bt_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_bluetooth_off" />
<com.android.systemui.statusbar.quickpanel.BluetoothSettingButton android:textSize="10.0dip" android:textStyle="normal" android:textColor="@color/quickpanel_text" android:gravity="center_horizontal" android:id="@id/quickpanel_bt_btn_text" android:paddingTop="56.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_bluetooth_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_bt_btn_status_icon" android:paddingLeft="2.3349915dip" android:paddingRight="2.3249817dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
<FrameLayout android:id="@id/quickpanel_gps_btn" android:background="@drawable/quickpanel_quick_settings_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_toRightOf="@id/quickpanel_bt_btn">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_gps_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_gps_off" />
<com.android.systemui.statusbar.quickpanel.GpsSettingButton android:textSize="10.0dip" android:textStyle="normal" android:textColor="@color/quickpanel_text" android:gravity="center_horizontal" android:id="@id/quickpanel_gps_btn_text" android:paddingTop="56.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_gps_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_gps_btn_status_icon" android:paddingLeft="2.3349915dip" android:paddingRight="2.3249817dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
<FrameLayout android:id="@id/quickpanel_sound_btn" android:background="@drawable/quickpanel_quick_settings_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_toRightOf="@id/quickpanel_gps_btn">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_sound_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_sound_on_on" />
<com.android.systemui.statusbar.quickpanel.SoundSettingButton android:textSize="10.0dip" android:textStyle="normal" android:textColor="@color/quickpanel_text" android:gravity="center_horizontal" android:id="@id/quickpanel_sound_btn_text" android:paddingTop="46.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_sound_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_sound_btn_status_icon" android:paddingLeft="2.3349915dip" android:paddingRight="2.3249817dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_on" android:scaleType="fitXY" />
</FrameLayout>
<FrameLayout android:id="@id/quickpanel_vibrate_btn" android:background="@drawable/quickpanel_quick_settings_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_toRightOf="@id/quickpanel_sound_btn">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_vibrate_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_vibrate_off" />
<com.android.systemui.statusbar.quickpanel.VibrateSettingButton android:textSize="10.0dip" android:textStyle="normal" android:textColor="@color/quickpanel_text" android:gravity="center_horizontal" android:id="@id/quickpanel_vibrate_btn_text" android:paddingTop="56.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_vibrate_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_vibrate_btn_status_icon" android:paddingLeft="2.3349915dip" android:paddingRight="2.3249817dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
<FrameLayout android:id="@id/quickpanel_autobrightness_btn" android:background="@drawable/quickpanel_quick_settings_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_toRightOf="@id/quickpanel_vibrate_btn">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_autobrightness_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_autobrightness_off" />
<com.android.systemui.statusbar.quickpanel.AutobrightnessSettingButton android:textSize="10.0dip" android:textStyle="normal" android:textColor="@color/quickpanel_text" android:gravity="center_horizontal" android:id="@id/quickpanel_autobrightness_btn_text" android:paddingTop="46.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_autobrightness_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_autobrightness_btn_status_icon" android:paddingLeft="2.3349915dip" android:paddingRight="2.3249817dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
<FrameLayout android:id="@id/quickpanel_rotation_btn" android:background="@drawable/quickpanel_quick_settings_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_toRightOf="@id/quickpanel_autobrightness_btn">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_rotation_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_rotation_off" />
<com.android.systemui.statusbar.quickpanel.AutoRotationSettingButton android:textSize="10.0dip" android:textStyle="normal" android:textColor="@color/quickpanel_text" android:gravity="center_horizontal" android:id="@id/quickpanel_rotation_btn_text" android:paddingTop="46.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_rotation_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_rotation_btn_status_icon" android:paddingLeft="2.3349915dip" android:paddingRight="2.3249817dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
<FrameLayout android:id="@id/quickpanel_flight_btn" android:background="@drawable/quickpanel_quick_settings_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_toRightOf="@id/quickpanel_rotation_btn">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_flight_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_flight_off" />
<com.android.systemui.statusbar.quickpanel.FlightSettingButton android:textSize="10.0dip" android:textStyle="normal" android:textColor="@color/quickpanel_text" android:gravity="center_horizontal" android:id="@id/quickpanel_flight_btn_text" android:paddingTop="46.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_flight_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_flight_btn_status_icon" android:paddingLeft="2.3349915dip" android:paddingRight="2.3249817dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
<FrameLayout android:id="@id/quickpanel_sync_btn" android:background="@drawable/quickpanel_quick_settings_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_toRightOf="@id/quickpanel_flight_btn">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_sync_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_sync_off" />
<com.android.systemui.statusbar.quickpanel.SyncSettingButton android:textSize="10.0dip" android:textStyle="normal" android:textColor="@color/quickpanel_text" android:gravity="center_horizontal" android:id="@id/quickpanel_sync_btn_text" android:paddingTop="56.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_sync_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_sync_btn_status_icon" android:paddingLeft="2.3349915dip" android:paddingRight="2.3249817dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
<FrameLayout android:id="@id/quickpanel_secure_btn" android:background="@drawable/quickpanel_quick_settings_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_toRightOf="@id/quickpanel_sync_btn">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_secure_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_secure_off" />
<com.android.systemui.statusbar.quickpanel.SecureSettingButton android:textSize="10.0dip" android:textStyle="normal" android:textColor="@color/quickpanel_text" android:gravity="center_horizontal" android:id="@id/quickpanel_secure_btn_text" android:paddingTop="46.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_secure_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_secure_btn_status_icon" android:paddingLeft="2.3349915dip" android:paddingRight="2.3249817dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
<FrameLayout android:id="@id/quickpanel_flashlight_btn" android:background="@drawable/quickpanel_quick_settings_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_toRightOf="@id/quickpanel_secure_btn">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_flashlight_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_flashlight_off" />
<com.android.systemui.statusbar.quickpanel.FlashlightSettingButton android:textSize="10.0dip" android:textStyle="normal" android:textColor="@color/quickpanel_text" android:gravity="center_horizontal" android:id="@id/quickpanel_flashlight_btn_text" android:paddingTop="56.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_flashlight_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_flashlight_btn_status_icon" android:paddingLeft="2.3349915dip" android:paddingRight="2.3249817dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
</RelativeLayout>
</HorizontalScrollView>
</com.android.systemui.statusbar.quickpanel.QuickSettingsView>