Chào mừng bạn đến Diễn Đàn ChơiMobile

Cộng đồng Mobile hàng đầu Việt Nam, Phát triển Android, iOS, Kỹ Thuật Mobile. Đăng ký ngay để tạo chủ để và cùng thảo luận !

NGÔI NHÀ VIỆT CỦA SKY A840

Thảo luận trong 'SKY A840' bắt đầu bởi vuongsky.vn, 3/4/13.

  1. thangkk1992

    Official Member

    22/7/13
    39
    13
    0
    Nam
    Híc. Hướng dẫn toàn từ ngữ chuyên môn như này em hiểu sao được các bác ơi :(...
     
    2 people like this.
  2. nguyễn dương

    Senior Member

    10/4/13
    859
    1,907
    0
    Nam
    nghịch nốt hnay mai bắt đầu năm học mới chắc ko có tgian.anh boy có cái gì nữa ko ợ.:p
     
    2 people like this.
  3. boykinhdi

    Senior Member

    23/2/13
    6,406
    31,113
    0
    Nam
    nguyenduongnguyenduong tiện thể mò cho anh cái lock và unlock của 840 nó ở file apk nào nhé để cố mầm cái lock Z xem sao

    Nothing gona change my love for you!!!
     
    2 people like this.
  4. nguyễn dương

    Senior Member

    10/4/13
    859
    1,907
    0
    Nam
    hé hé.đã chuyển được sang trái a boy ui.:D
     
    2 people like this.
  5. boykinhdi

    Senior Member

    23/2/13
    6,406
    31,113
    0
    Nam
    Show hàng nuôn,đổi chỗ cái home và lock thôi đúng ko;)

    Nothing gona change my love for you!!!
     
    3 people like this.
  6. boykinhdi

    Senior Member

    23/2/13
    6,406
    31,113
    0
    Nam
    Cái để nghịch còn nhiều nắm,như cho hết shortcut setting và quicksetting vào cg 1 notifcation ko phải chuyển nữa hoặc cho nó xuống dưới notif....

    Nothing gona change my love for you!!!
     
    2 people like this.
  7. nguyễn dương

    Senior Member

    10/4/13
    859
    1,907
    0
    Nam
    thế thôi anh.đơn giản ý mà.:D
     
    2 people like this.
  8. nguyễn dương

    Senior Member

    10/4/13
    859
    1,907
    0
    Nam
    cái này chắc phải chuyển cái code quicksetting xuống dưới cái shortcut setting anh ợ:D.
     
    2 people like this.
  9. boykinhdi

    Senior Member

    23/2/13
    6,406
    31,113
    0
    Nam
    Bắt tay vào làm và đọc bài sd apktool với notepad++ sẽ làm đc mà anh em ở đây mới dùng android có vài tháng thôi đấy cái chính là tinh thần sẵn sàng vọc máy ko chết đc đâu;):)

    Nothing gona change my love for you!!!
     
    2 people like this.
  10. boykinhdi

    Senior Member

    23/2/13
    6,406
    31,113
    0
    Nam
    Ko phải chuyển xuống dưới mà đặt chung 1 layout trong linearlandroid

    Nothing gona change my love for you!!!
     
    2 people like this.
  11. nguyễn dương

    Senior Member

    10/4/13
    859
    1,907
    0
    Nam
    :D:D:D.ý em là thế mà đặt chung.
    2eru7a2u.jpg

    Gửi từ IM-A840S của tôi bằng cách sử dụng Tapatalk 2
     
    4 people like this.
  12. 1303

    Senior Member

    9/4/13
    1,642
    2,631
    0
    Nam
    Ẹc màn hình bị lỗi a boykinhdiboykinhdi ui, đcml đ bực mình quá :mad:

    nuhy6y8y.jpg

    Gửi từ IM-A850L của tôi bằng cách sử dụng Tapatalk 2
     
    2 people like this.
  13. 1303

    Senior Member

    9/4/13
    1,642
    2,631
    0
    Nam
    sang bên trái thỳ ko tiện lếu như kụ thuận tay pải tốt nhất nà đổi pin với sóng sang trái đồng hồ ở giữa :D
     
    2 people like this.
  14. boykinhdi

    Senior Member

    23/2/13
    6,406
    31,113
    0
    Nam
    mod đồng hồ ra giữa stt3
    decomplie systemui.apk tìm res/layout/status_bar.xml
    tìm code:xóa
    <com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />

    thêm code:

    <LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
    <
    com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textColor="#ff5cb8ff" android:gravity="center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
    </
    LinearLayout>


    vào dưới dòng code này:

    com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
    <
    TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
    <
    TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
    </
    com.android.systemui.statusbar.phone.TickerView>
    </
    LinearLayout>

    Nếu muốn đồng hồ có giây thì thay đoạn code này:

    <LinearLayout android:gravity="center" android:eek:rientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
    <DigitalClock android:textSize="16.0dip" android:textColor="#ff4876FF" android:gravity="center" android:id="@id/clock" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:shadowColor="#ff000000" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="2.0" />
    </LinearLayout>
    dưới dòng code này:
    com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
    <
    TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
    <
    TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
    </
    com.android.systemui.statusbar.phone.TickerView>
    </
    LinearLayout>

    đổi màu đồng hồ nằm ở chỗ này :
    android:textColor="#ff4876FF"
    mã màu các bạn tìm mã Hex gg nhé
     
    3 people like this.
  15. 1303

    Senior Member

    9/4/13
    1,642
    2,631
    0
    Nam
    được đó vừa mò cái khóa xong đang tính đi mò cái đồng hồ a ợ ;)
     
    2 people like this.
  16. boykinhdi

    Senior Member

    23/2/13
    6,406
    31,113
    0
    Nam
    cái lày chắc chèn nhầm chỗ roài
     
    2 people like this.
  17. demonntl

    Newbie

    27/6/13
    26
    16
    0
    Nam
    e đã thử và ko có sóng 3g :(
    bây h up rom nào cũng ko set dc mục "data network type" trong mobile network setting và khởi động lại máy nó lại yêu cầu kết nối data,mà toàn sóng E thôi
    có khi nào hư chip.hic
     
  18. boykinhdi

    Senior Member

    23/2/13
    6,406
    31,113
    0
    Nam
    mặc định jb nó thế e ui ko phải lỗi đâu
     
  19. nguyễn dương

    Senior Member

    10/4/13
    859
    1,907
    0
    Nam
    mò để xóa nó đi ợ.:D
     
    2 people like this.
  20. boykinhdi

    Senior Member

    23/2/13
    6,406
    31,113
    0
    Nam
    nguyễn dươngnguyễn dương
    có muốn test tiếp cái thanh chỉnh độ sáng không?
    -Trước hết dow cái này về Link
    -Copy file SystemUI.apk (system\app) vào máy tính.
    -Decompile
    -Tìm đến res\layout mở file status_bar_expanded_header.xml
    -Cắt đoạn này:
    PHP:
    <LinearLayout android:gravity="center_vertical" android:eek:rientation="horizontal" android:background="@drawable/notification_header_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">

    <com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock.Pantech" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" />
    <com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginRight="8.0dip" />
    <com.android.systemui.statusbar.RotationToggle android:id="@id/rotation_lock_button" android:clickable="true" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_margin="8.0dip" android:button="@drawable/ic_notify_rotation" android:contentDescription="@string/accessibility_rotation_lock_off" />
    <Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
    <ImageView android:id="@id/settings_button" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_marginLeft="9.0dip" android:layout_marginTop="8.0dip" android:layout_marginRight="12.0dip" android:layout_marginBottom="8.0dip" android:src="@drawable/ic_notify_quicksettings" android:scaleType="center" android:contentDescription="@string/accessibility_settings_button" />
    </LinearLayout>
    -Mở file status_bar_expanded.xml
    -Dán vào giữa 2 dòng này
    PHP:
    <include android:layout_width="fill_parent" android:layout_height="wrap_content" layout="@layout/status_bar_expanded_header" />

    <TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.EmergencyOnly" android:gravity="center" android:id="@id/emergency_calls_only" android:paddingBottom="4.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
    -Mởi lại status_bar_expanded_header.xml
    -Thêm đoạn này:
    PHP:
    <include layout="@layout/qp_brightness" />
    -Phía trên đoạn này:
    PHP:
    <LinearLayout android:id="@id/divider" android:background="#ff393939" android:layout_width="1.0dip" android:layout_height="27.0dip" />
    -Nhớ Save lại hết.
    -Giải nén file vừa dow về.
    -Copy thư mục lidroid vào smali\com\android\system
    -Copy qp_brightness.xml vào res\layout
    -Copy 3 file ảnh trong file down về qp_brightness_bg.9.png qp_brightness_max.png qp_brightness_min.png vào res\drawable-xhdpi
    -Recompile
     
    5 people like this.

Chia sẻ trang này