[Galaxy S II Android Development] manuelmagix:
Hello friends,

I present, only available to AllianceRom, first mod, with soft keys, which performs the functions of the hard buttons.

Tested on Stock 7.02

Install:

1.To activate the soft keys, (install Nohardkeys_Stock_702_CWM.zip

2. To desactivate, install Restore_hardkey_CWM.zip

Only 1 bug:

1. Png "Volume Plus" , not displayed as I want, but I don´t how to fix it.:o:o:o

It shows Fig. 1 but should be fig. 2

Fig 1

Fig 2

tw_navi_bar_xml

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.NavigationBarView android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<FrameLayout android:id="@id/rot0" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:id="@id/nav_buttons" android:background="@drawable/tw_navigationbar_bg" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:animateLayoutChanges="false">
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="60.0dip" android:layout_height="fill_parent" android:src="@drawable/tw_navigationbar_menu_normal" android:layout_weight="1.0" android:contentDescription="@string/accessibility_back" systemui:keyCode="24" systemui:glowBackground="@drawable/tw_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="60.0dip" android:layout_height="fill_parent" android:src="@drawable/tw_ic_sysbar_back_normal" android:layout_weight="1.0" android:contentDescription="@string/accessibility_back" systemui:keyCode="25" systemui:glowBackground="@drawable/tw_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/menu" android:layout_width="0.0dip" android:layout_height="0.0dip" android:src="@drawable/tw_ic_sysbar_back_normal" android:layout_weight="1.0" android:contentDescription="@string/accessibility_back" systemui:keyCode="25" systemui:glowBackground="@drawable/tw_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="60.0dip" android:layout_height="fill_parent" android:src="@drawable/tw_navigationbar_recent" android:layout_weight="1.0" android:contentDescription="@string/accessibility_recent" systemui:glowBackground="@drawable/tw_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:layout_width="60.0dip" android:layout_height="fill_parent" android:src="@drawable/tw_navigationbar_home" android:layout_weight="1.0" android:contentDescription="@string/accessibility_home" systemui:keyCode="3" systemui:keyRepeat="true" systemui:glowBackground="@drawable/tw_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="60.0dip" android:layout_height="fill_parent" android:src="@drawable/tw_navigationbar_back_normal" android:layout_weight="1.0" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:glowBackground="@drawable/tw_sysbar_highlight" />
</LinearLayout>

Extra: Power "+ " Volume - ===>>> Screen Capture !!!