Neste pós vou Traduzir hum fórum da xda, em Que o Membro Eboybasit Ensina A Como Editar um SystemUI parágrafo Mudar de cor Conforme o aplicativo that rápido Você abre! TODOS OS Créditos Ao Membro da XDA e OS devidos parabéns POR ter compartilhado o Conhecimento. Todos Créditos OS Pará Alexandre Tavares (UE), cabelo Entendimento, Tradução e Dicas IMPORTANTES that NÃO Contém nenhum post original. Este cargo foi Feito especialmente parágrafo OS Leitores da DroidFame.
Original post Feito POR Eboybasit : Como chegar Tinted barra de status sem usar qualquer App
Itens Necessários: -
SystemUI.apk
SystemUI.apk
++ Notepad AQUI
Apktool 1.5.2 (necessario)
Saber Descompilar e Recompilar, also entendre de edição de XML e smali, e USAR o Notepad ++.
E MUITA ATENÇÃO!
( Não Tem o Apktool e NÃO SABE Como usar? Clique Aqui e Aprenda Como Instalar e EUA-lo. )
Saber Descompilar e Recompilar, also entendre de edição de XML e smali, e USAR o Notepad ++.
E MUITA ATENÇÃO!
( Não Tem o Apktool e NÃO SABE Como usar? Clique Aqui e Aprenda Como Instalar e EUA-lo. )
Procedimentos:
1) Baixar Arquivos Necessários Aqui
2) Decompile SUA SystemUI.apk e Copie a pasta Extraído febre aftosa fazer baixado zip, e Colá-lo em smali / com / Aqui.
3) Copiar o Arquivo shade.xml fazer zip dado e Colá-lo em RES / drawables / Aqui.
4) Agora va em RES / valores / integers.xml abra o com Notepad ++, e cole o código Abaixo Acima lt de &; / recursos & gt; e salve o Arquivo.
Agora rápido Você Precisa substituir Onde Está Escrito Package 1 com "link" o fazem aplicativo não qua rápido Você deseja Que SUA barra de status de MUDE de cor Ao abrir.
Rápido Você PODE USAR o módulo Xposed "Tinted Barra de status" APENAS Pará Encontrar este "Link" Que É Chamado de pacote aplicativo em QUALQUÉR.
Substitua Onde Está Escrito Hex 1 Pela cor hexadecimal that rápido Você deseja that Apareça Ao abrir o app that rápido Você escolheu Para substituir Pacote 1.
Rápido Você PODE USAR o local HTML códigos de cores Para Obter o código HEX da cor de Imagem UMA. Rápido Você PODE Tirar o print do app that rápido Você deseja, Colocar nenhum site, Clicar na cor that rápido Você Quer o codigo, EO local Mostra o código pra você.
Como na Imagem Abaixo:
Código:
& Lt; integer name = "status_bar_bg_gradient_degrees" & gt; 90 & lt; / inteiro & gt;
& Lt; integer name = "status_bar_bg_gradient_degrees" & gt; 90 & lt; / inteiro & gt;
5) Agora va em smali / com / FMD / statusbarcolor / color.smali e abra com Notepad ++
Rápido Você PODE USAR o módulo Xposed "Tinted Barra de status" APENAS Pará Encontrar este "Link" Que É Chamado de pacote aplicativo em QUALQUÉR.
Adquirir POR Tinted Barra de status não Xposed Como Nesta Imagem:
DEPOIS de Instalar o Tinted Barra de status abra oe obter uma opção "Per matizes de aplicativos"
Agora Adquirir o aplicativo Desejado, EO Package nome vai DELE ESTÁ logotipo Abaixo.
O whatsapp Por Exemplo o pacote Nome E com.whatsapp
Substitua Onde Está Escrito Hex 1 Pela cor hexadecimal that rápido Você deseja that Apareça Ao abrir o app that rápido Você escolheu Para substituir Pacote 1.
Rápido Você PODE USAR o local HTML códigos de cores Para Obter o código HEX da cor de Imagem UMA. Rápido Você PODE Tirar o print do app that rápido Você deseja, Colocar nenhum site, Clicar na cor that rápido Você Quer o codigo, EO local Mostra o código pra você.
Como na Imagem Abaixo:
6) o Faça da MESMA forma Que foi Feito com o Package 1 e Hex 1, com o pacote e Hex 2 Comeram 12.
Observe that o número 1 representação o app that rápido Você escolheu.
Exemplo:
Escolhi o WhatsApp PARA O Pacote 1, núcleo EA não WhatsApp eu coloco nenhuma Hex 1, e nenhum pacote de 2 escolhi um Playstore, eu coloco a cor da playstore não Hex 2. E ASSIM POR Diante ...
Usando o whatsapp Como Exemplo:
Rápido Você ira substituir Pacote 1 POR com.whatsapp
e Hex 1 POR # 075E54
Pacote = App
Hex = Cor do App
DEPOIS de ter adicionado Tudo NÃO esqueça de salvar!
7) Agora Vá parágrafo Res / layout e abra o Arquivo com Notepad ++ tw_status_bar.xml (TouchWiz) OU gemini_status_bar.xml (MTK)
cor azul = Preço total: Adicionar
& Lt;? Xml version = "1.0" encoding = "utf-8" & gt?;
& Lt; com.android.systemui.statusbar.phone.PhoneStatusBarView android: Orientação = "vertical" android: id = "@ id / status_bar" android: background = "@ drawable status_bar_background /" android: focusable = "true" android: fitsSystemWindows = "true" android: descendantFocusability = "afterDescendants"
xmlns: android = "http://schemas.android.com/apk/res/android"
xmlns: systemui = "http://schemas.android.com/apk/res/com.android.systemui" & gt;
& Lt; com.fmd.statusbarcolor.color android: layout_width = "fill_parent" android: layout_height = "wrap_content" & gt;
& Lt; LinearLayout android: Orientação = "vertical" android: background = "@ drawable sombra /" android: layout_width = "fill_parent" android: layout_height = "fill_parent" & gt;
& Lt; ImageView android: id = "@ id / notification_lights_out" android: paddingLeft = "6.0dip" android: paddingBottom = "2.0dip" android: visibilidade = "ido" android: layout_width = "@ dimen / status_bar_icon_size" android: layout_height = "fill_parent" android: src = "@ drawable / ic_sysbar_lights_out_dot_small" android: ScaleType = "center" / & gt;
& Lt; LinearLayout android: Orientação = "horizontal" android: id = "@ id / ícones" android: paddingLeft = "0.0dip" android: paddingRight = "2.0dip" android: layout_width = "fill_parent" android: layout_height = "fill_parent" & gt;
& Lt; LinearLayout android: Orientação = "horizontal" android: id = "@ id / left_icons" android: paddingLeft = "4.0dip" android: layout_width = "0.0dip" android: layout_height = "fill_parent" android: layout_weight = "1.0" & gt;
& Lt; TextView android: textsize = "15.0dip" android: a gravidade = "center_vertical" android: id = "@ id / carrierLabel" android: visibilidade = android "gone": layout_width = "wrap_content" android: layout_height = android "fill_parent" : singleLine = "true" / & gt;
& Lt; ImageView android: id = "@ id / doNotDisturbIcon" android: visibilidade = android "gone": layout_width = "wrap_content" android: layout_height = "wrap_content" android: src = "@ drawable / tw_dnd" android: alpha = "0,7 "android: scaleX =" 0,85 "android: scaleY =" 0,85 "/ & gt;
& Lt; com.android.systemui.statusbar.StatusBarIconView android: id = "@ id / moreIcon" android: visibilidade = "ido" android: layout_width = "@ dimen / status_bar_icon_size" android: layout_height = "fill_parent" android: src = " @ drawable / stat_notify_more "/ & gt;
& Lt; com.android.systemui.statusbar.phone.IconMerger android: a gravidade = "center_vertical" android: Orientação = "horizontal" android: id = "@ id / notificationIcons" android: layout_width = "fill_parent" android: layout_height = "fill_parent "android: layout_alignParentLeft =" true "/ & gt;
& Lt; / LinearLayout & gt;
& Lt; LinearLayout android: Orientação = "horizontal" android: id = "@ id / right_icons" android: paddingRight = "4.0dip" android: layout_width = "wrap_content" android: layout_height = "fill_parent" android: layout_alignParentRight = "true" & gt ;
& Lt; LinearLayout android: a gravidade = "center_vertical" android: Orientação = "horizontal" android: id = "@ id / statusIcons" android: layout_width = "wrap_content" android: layout_height = "fill_parent" / & gt;
& Lt; LinearLayout android: a gravidade = "center" android: Orientação = "horizontal" android: id = "@ id / signal_battery_cluster" android: paddingLeft = "2.0dip" android: layout_width = "wrap_content" android: layout_height = "fill_parent" & gt ;
& Lt; incluem android: id = "@ id / signal_cluster" android: layout_width = "wrap_content" android: layout_height = "wrap_content" layout = "@ layout / tw_signal_cluster_view" / & gt;
& Lt; TextView android: textsize = "12.0dip" android: textColor = "# ffa6a6a6" android: layout_gravity = "center" android: id = "@ id / battery_text" android: layout_width = "wrap_content" android: layout_height = "wrap_content" android: text = "@ cordas / status_bar_network_name_separator" / & gt;
& Lt; ImageView android: a gravidade = "center" android: id = "@ id / bateria" android: layout_width = "wrap_content" android: layout_height = "wrap_content" / & gt;
& Lt; / LinearLayout & gt;
& Lt; com.android.systemui.statusbar.policy.Clock android: textsize = "@ dimen / status_bar_clock_text_size" android: textColor = "@ cor / tw_staus_bar_color_color" android: ellipsize = "none" android: a gravidade = "left | center" android : id = "@ id / relógio" android: paddingLeft = "3.0dip" android: layout_width = "wrap_content" android: layout_height = "fill_parent" android: singleLine = "true" android: includeFontPadding = "false" / & gt;
& Lt; / LinearLayout & gt;
& Lt; / LinearLayout & gt;
& Lt; LinearLayout android: Orientação = "horizontal" android: id = "@ id / ticker" android: paddingLeft = "6.0dip" android: animationCache = "false" android: layout_width = "fill_parent" android: layout_height = "fill_parent" & gt ;
& Lt; ImageSwitcher android: id = "@ id / tickerIcon" android: layout_width = "@ dimen / status_bar_icon_size" android: layout_height = "@ dimen / status_bar_icon_size" android: layout_marginRight = "4.0dip" & gt;
& Lt; com.android.systemui.statusbar.AnimatedImageView android: layout_width = "@ dimen / status_bar_icon_size" android: layout_height = "@ dimen / status_bar_icon_size" android: ScaleType = "centerInside" / & gt;
& Lt; com.android.systemui.statusbar.AnimatedImageView android: layout_width = "@ dimen / status_bar_icon_size" android: layout_height = "@ dimen / status_bar_icon_size" android: ScaleType = "centerInside" / & gt;
& Lt; / ImageSwitcher & gt;
& Lt; com.android.systemui.statusbar.phone.TickerView android: id = "@ id / tickerText" android: paddingTop = "2.0dip" android: paddingRight = android "10.0dip": layout_width = "0.0dip" android: layout_height = "wrap_content" android: layout_weight = "1.0" & gt;
& Lt; TextView android: textAppearance = "@ estilo / TextAppearance.StatusBar.PhoneTicker" android: id = "@ id / ticker_text_view_old" android: layout_width = "fill_parent" android: layout_height = "wrap_content" android: singleLine = "true" / & gt ;
& Lt; TextView android: textAppearance = "@ estilo / TextAppearance.StatusBar.PhoneTicker" android: id = "@ id / ticker_text_view_new" android: layout_width = "fill_parent" android: layout_height = "wrap_content" android: singleLine = "true" / & gt ;
& Lt; /com.android.systemui.statusbar.phone.TickerView>
& Lt; / LinearLayout & gt;
& Lt; / LinearLayout & gt;
& Lt; /com.fmd.statusbarcolor.color>
& Lt; /com.android.systemui.statusbar.phone.PhoneStatusBarView>
8) Salve Tudo É Recompile.
Espero Que todos Que tentem Fazer consigam! Pois eu consegui com MUITOS esforços. Boa sorte a todos. Estarei disposto a Ajudar, quem de figado Problemas APENAS comentar o Problema Que vou tentar Ajudar! Abraços!
Bom trabalho eu queria saber se q rom utrapop v2 ja ta pronta flw
ResponderExcluirAinda não, o Alexandre (Desenvolvedor da ROM) está enfrentando alguns problemas pois não está mais com seu Galaxy Fame (deu problema), vai demorar um pouquinho mas em breve deve sair. Abraço!
ExcluirAss: Daniel(Ozil) - Droid Fame
Quando vai sair a ultrapop v2
ResponderExcluirNão há data determinada. O Alexandre (Desenvolvedor da ROM) está enfrentando alguns problemas pois não está mais com seu Galaxy Fame (deu problema), vai demorar um pouquinho mas em breve deve sair. Abraço!
ExcluirAss: Daniel(Ozil) - Droid Fame
Quando vai sair a ultrapop v2
ResponderExcluirNão há data determinada. O Alexandre (Desenvolvedor da ROM) está enfrentando alguns problemas pois não está mais com seu Galaxy Fame (deu problema), vai demorar um pouquinho mas em breve deve sair. Abraço!
ExcluirAss: Daniel(Ozil) - Droid Fame
Mano mais assim q eu salvar quando terminar de editar a color.smali, vc so diz pra salvar, mais n disse oq fazer com os arquivos dps, disse so dps pra mudar essa tinted na status bar xml e recompilar dps, mas e o color.smali q ficou em outra pasta do arquivo baixado ?
ResponderExcluir