can you give the file did you edited i have problem to recompile back sir.
can you give the file did you edited i have problem to recompile back sir.
After First Compnile Your Apk Open Public.xml from values and Open Smali TabsActivity from com andorid settings then Follow the Instruction First Copy Code from Instructions And Find it on TabsActivity Now Open The Public Find Code Like title copy this public code and Replace The Old Code of TabActivity.
Can You Give What i have to fix
Sent from my GT-S5360 using xda app-developers app
just compare ur settings with hyperion settings and take some resources files from hyperion setting
cz on ur attachment files there is no resource files matched
now i didn't have the files
You are Correct But There is File Missing AboutSettings.smali AboutSettings$1.smali bcoz i have location of the tab from AboutSetting to DeviceInfoSettings There is 3 tab The last tab give the view of About phone if want Edit the last tab open res/xml/deviceinfosettings.xml
Thanks For ur feedback
My Upcoming thread [GUIDE] [MOD] Add Tab in Text to SystemUI <ThemingYourStatusbar>
yeah just fix it bro
u just need remodified resources file only
btw nice try
just compare ur settings with hyperion settings and take some resources files from hyperion setting
cz on ur attachment files there is no resource files matched
now i didn't have the files
Error on first compile. "android:background="@drawable/tab_selector"". There is no tab_selector at drawable.
Error on first compile. "android:background="@drawable/tab_selector"". There is no tab_selector at drawable.
4.Recompnile<string name="ic_settings_tab_phone_settings_title">Phone Settings</string>
<string name="ic_settings_tab_advanced_title">Advanced Settings</string>
<string name="ic_settings_tab_about">About Hyperion</string>
Open TabActivity And Public
Find 0x7f03005b Change it to "indicator" (Layout)
Find 0x7f0b0019 Change it to "title" (ids)
Find 0x7f0b0018 Change it to "icon" (ids)
Find 0x7f0805d8 Change it to "ic_settings_tab_phone_settings_title" (string)
Find 0x7f0200c1 Change it to "ic_tab_system" (drwable)
Find 0x7f0805d9 Change it to "ic_settings_tab_advanced_title" (string)
Find 0x7f0200c0 Change it to "ic_tab_advanced" (drwable)
Find 0x7f0805da Change it to "ic_settings_tab_about" (string)
Find 0x7f0200bf Change it to "ic_tab_about" (drwable)
Find 0x7f03005c Change it to "main" (layout)
Open SystemActivity And Public
Find 0x7f04003a Change it to "advanced_settings" (xml)
<application android:label="@string/settings_label" android:icon="@drawable/ic_launcher_settings" android:taskAffinity="">
<uses-library android:name="touchwiz" />
<activity android:theme="@*android:style/Theme.NoTitleBar" android:label="@string/settings_label_launcher" android:name="TabsActivity" android:taskAffinity="com.android.settings" android:clearTaskOnLaunch="true" android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.settings.SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="SettingsActivity" />
<activity android:name="SystemActivity" />
<activity android:label="@string/settings_label_launcher" android:name="Settings" android:taskAffinity="com.android.settings" android:clearTaskOnLaunch="true" android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.settings.SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:label="@string/settings_label_launcher" android:name="Settings">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
Hi, This is new method for add switch button. First follow This by sniperkiller. Follow that guide until step 2. And for step IIIa, follow my guide :
2. Delete this
Code:<style name="Switch"> <item name="android:checkboxStyle">@style/Widget.CompoundButton.CheckBox.Holo.Dark</item> </style>
3. Search this
Code:<style name="TallTitleBarTheme" parent="@android:style/Theme.NoTitleBar">
4. Add this below that code
Code:<item name="android:checkboxStyle">@style/Widget.CompoundButton.CheckBox.Holo.Dark</item>
Code:<activity android:theme="@*android:style/Theme.NoTitleBar"
Try to edit main.xml
Change all inside it with this
Code:<?xml version="1.0" encoding="utf-8"?> <TabHost android:id="@android:id/tabhost" android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android"> <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> <FrameLayout android:layout_weight="1" android:id="@android:id/tabcontent" android:layout_width="fill_parent" android:layout_height="fill_parent" /> <TabWidget android:id="@android:id/tabs" android:layout_width="fill_parent" android:layout_height="wrap_content" /> </LinearLayout> </TabHost>
Try to edit main.xml
<?xml version="1.0" encoding="utf-8"?>
<TabHost android:id="@android:id/tabhost" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<FrameLayout android:layout_weight="1" android:id="@android:id/tabcontent" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<TabWidget android:id="@android:id/tabs" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</LinearLayout>
</TabHost>
[ANDROID_PACKAGES_APP_SETTINGS]
-TAB_ACTIVITY: -added TabHost
-TAB_ACTIVITY: -Added Phone Settings Tab
-TAB_ACTIVITY: -Added System Settings Tab
-TAB_ACTIVITY: -Added ROM Settings Tab
-TAB_HOST: -Added Tab Title
-TAB_HOST: -Added Tab Icon(s)
-TAB_HOST: -Added Tab Text(s)
source: here