- Deccom SystemUi
1.cho file đính kèm đúng đường dẫn
2.add code sau vào chỗ bạn muốn nó hiển thị
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="180.0dip" android:layout_marginTop="0.0dip">
<include layout="@layout/aggues_tv" />
</LinearLayout>
<RelativeLayout android:orientation="horizontal" android:background="@drawable/aggues" android:paddingLeft="5.0dip" android:paddingRight="5.0dip" android:layout_width="fill_parent" android:layout_height="25.0dip">
<TextView android:textSize="14.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="left" android:layout_gravity="center_vertical" android:paddingLeft="5.0dip" android:paddingTop="5.0dip" android:layout_width="fill_parent" android:layout_height="28.0dip" android:text="Chỗ Để Bật / Tắt TiVi" />
<LinearLayout android:gravity="right" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.gil.gerak.TabAnimButton android:id="@+id/show5" android:layout_width="28.0dip" android:layout_height="fill_parent" />
</LinearLayout>
</RelativeLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
<LinearLayout android:background="#ffcdc9c7" android:layout_width="fill_parent" android:layout_height="fill_parent">
<include layout="@layout/about_about" />
</LinearLayout>
</ScrollView>
</FrameLayout>
3. vào res-valus-styles.xmladd đoạm sau vào đó
<style name="InformationItemTitleStyle">
<item name="android:textSize">15.0sp</item>
<item name="android:textColor">#ffcb1d47</item>
<item name="android:gravity">right</item>
<item name="android:paddingLeft">7.0dip</item>
<item name="android:paddingRight">10.0dip</item>
</style>
<style name="InformationItemTabStyle">
<item name="android:paddingTop">0.0dip</item>
</style>
<style name="InformationTextStyle">
<item name="android:textSize">15.0sp</item>
<item name="android:textColor">#ffcb1d47</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
</style>
4. Recompile-Signin-Decompile5. vào res-values-publik.xml
(soi id ý mà )
6.mở smali-com-gil
-------> vào **Animasi.smali
tìm 0x7f090050 thay bằng id bên pulic.xml
<public type="id" name="gus_anim" id="0x7f0xxxxx" />
tìm id 0x7f02010a thay bằng id bên pulic.xml
<public type="drawable" name="anim_aggues" id="0x7f0xxxxx" />
#Save_____________
--------> vào **TabAnim.smali
tìm id 0x7f090052 thay bằng id bên pulic.xml
<public type="id" name="hide5" id="0x7f0xxxxx" />
#Save______________
--------> vào **TabAnimButton.Smali
tìm id 0x7f090051 thay bằng id bên pulic.xml
<public type="id" name="show5" id="0x7f0xxxxx" />
tìm id 0x7f020109 thay bằng id bên pulic.xml
<public type="drawable" name="aggues_tombol" id="0x7f0xxxxx" />
#Save_______________
Rc - Signin - Push
nguồn indo tks to indo
TUT_tivi_on_off.zip
Đàm Minh Giang File Size 1 MB
Cộng Đồng Mod Android Trên Facebook
Đoàn Đình Vĩ ( Vĩ Đoàn )
Cộng Đồng Mod Android Trên Facebook
http://facebook.com/groups/mod.android