Discussion topics for MIUI v10



Rep: (271)
Attached ImageAttached Image

Discussion topics for MIUI v11 |
Discussion topics for MIUI v9 | Discussion topics for MIUI v8 | Discussion topics for MIUI v6 / v7
Catalogs topics:
Catalog of themes MIUI v6 / v7 / v8 / v9 / v10 |
Catalog MIUI v5

Attached ImageAttached ImageAttached Image
This topic is underway
discussion and publication
manuals and instructions
for MIUI 10 themes

Picture

REGULATIONS! Read a must!
Picture


FAQ (Frequently Asked Questions)
PicturePicture


useful links
PicturePicture


Installing third-party themes on MIUI 10
Picture
The Chinese have complicated the ability to install third-party themes in the MIUI 11.
Options for installing third-party themes:

Picture
The procedure for obtaining a design account
Picture
1. Install Localized MIUI firmware with the presence of a patched theme manager (see the firmware topic for your device. For example: Xiaomi.eu, MiuiPro, MultiROM, Masik в„ў and others)
2. Install the patch manager for those suitable for your firmware (see the modifications for your device)
3. If you have a stock firmware without root access, it is requireddesigner account with approved content
4. And the most inconvenient way: We parse the downloaded theme, at the end we write .zip, take the component (s) and drop them along the system / media / theme / default path, issue the 0644 rights, reboot and use the theme on which you are now. Or download an empty patchAttached filepatch.zip(130.16 KB)
through any archiver-explorer we put the components in the target folder default and flash through twrp
Picture
The rest of the methods for MIUI 10 are no longer relevant, or they are unstable (critical systemui errors occur, topics fly off on reboot or after a while). But perhaps with the updates will be corrected:Themer for miui, xpossed +xMIUIorMiui 8 Tweak, MI Theme Editor, MI Rape
If you know other 100% working methods, write in this topic.


Friends Topicssavagemessiahzine.comin the official store
PicturePicture


Editing Instructions
Picture
The basicsediting topics for a beginner
Wayadding resources in a dark mode,
TerminologyResources threads used in the branch
Codeto open a tap-watch in a widget
Instructionto create your own theme
howmake live icons
Installationwidget as a separate component of the theme for global firmware + another option
Creatureicons from the available icons to apply the theme
Decorateany colors with random color
Explanationby size in dp / dip / sp
Addoutput sunrise-sunset for loxgrin / widget / live icons / mispace / etc, for miui / m8 weather
howadd music spectrum-visualizer to widget
howfind the name of the application icon
howtranslate the topic into Russian
Instructionfor patching the theme manager, for installing further third-party themes
Creatureyour avatars to the challenge of the existing
Addingwidget, for use with the theme on the PC + another option
Templatethemes with colored strings to look for color + a new version + version 9.8.22
Templatethemes with numbered dies + a new version + version 9.8.22
NumberingPictures with the number of any PNG files
howDownload the theme on the phone, in .mtz format
Convertericons from third-party miui
Wayto stock icons
howfind the name of the required resource component
In detailabout file "theme_fallback.xml" + addition
Interpretationdate / time format+ addition
Instructionediting in pictures (pdf in English)
Filesfont so that was fat
Assemblyits batteries from zogotokovok
We bringthe shape of the icons in the normal view
howquickly check what colors theme-values.xml
howchange application name
Architecturefilling theme-values.xml
Codefor notifications on lockscreen
CatalogMIUI THEME EDITOR editing resources
howedit stock widget
howinstall video wallpaper
howcomment out the line correctly
howmake a thumbnail
howfind the desired color in the apk file + another option
howdownload the theme from the official theme store
Removedefault themes (ROOT)
Wayto make changes to the Default (stock) Topic + Where is the stock topic
WhereThere are a third-party theme used on the phone at the moment and how to pack it
Whereare native wallpaper + animated wallpaper + wallpaper installed from the theme shop
howmake on your phone markup 9.png through the program 9 Patch Editor + PC instruction manual
Wayuse of third-party fonts in Chinese and globals
howcorrectly enter the weather M8
howdetermines the transparency of the text in the subject
TableHTML colors
CompressionPNG and JPG in Photoshop.+online site+DeComp.apk
TextbookMAML (Chinese and Russian Basic) + in English + instruction


Editing software
PicturePicture


Editing manuals
Picture
List of files leading to application crashes
Picture


Voting results
PicturePicture


Changes


The authors of modifications and the Administration of the forum are not responsible for the performance of your devices!
Remember: everything you do - you do at your own peril and risk!

There is no curator in the subject. For questions about filling the caps, please contact the section moderators via the buttonPictureunder the messages to which you want to add links.


Activity in the topic


Post has been editedWasherron в„ў - 18.07.20, 21:28
Reason for editing: Curator



Rep: (3392)
Rainontheradio @ 09/25/18, 15:21*
By adding which line in this layout you can make all the letters of the button text uppercase?
android: textAllCaps = "true"
https: //developer.andr...tr_android: textAllCaps

Post has been editedRusm - 25.09.18, 15:52



Rep: (638)
* berger,
can help: blink:
framework-miui-res \ / framework-miui \ / theme_values
<! - Adjusts the overall height of the settings name bar (from the text to the edge of the top and bottom of the settings bar (it immediately changes the top and bottom)) ->
<dimen name = "preference_item_padding_inner">0dp</ dimen>

<! - Indents in the headers of the settings names (from the top / bottom edge of the text markup in the 9.png file to the text (separately)) ->
<dimen name = "preference_item_padding_top">0.000000dp</ dimen>
<dimen name = "preference_item_padding_bottom">0.000000dp</ dimen>

Attached Image
Attached Image



on the substrate:
the name of the application, you can find in it
Attached Image
Attached Image
Attached Image
Attached Image

Picture


Post has been editeddan3103 - 19.01.19, 15:45
Reason for editing: Printing



Rep: (163)
* biohazzarrd2 , File: For contact without photo
tema.mtz /framework-miui-res / res / drawable-xxhdpi/word_photo_bg.png(Background)
File:Mask (frame) of the contact photo
tema.mtz /framework-miui-res / res / drawable-xxhdpi/ic_contact_photo_mask.png
Picture


Post has been editeddan3103 - 23.01.19, 13:16
Reason for editing: Printing



Rep: (638)
* YuriPet,
The color blue is in miui.apk accent_color_light
simultaneously changes the color of the pressed buttons on the soundbar and the background of all togles
Attached Image

possible in systemui.apk / res / drawable / miui_volume_progress_drawable.xml
replace @ links with # colors
Attached Image

top - inactive part (you can change the theme)
the bottom one is the blue one (refers to accent_color_light)

Post has been editedsanal154 - 26.09.18, 12:23
Reason for editing: explanation



Rep: (4944)
* Ebubei , if the above does not work, and there were such cases on different DPI, then so:
Desktop Grid
<integer name = "config_cell_count_x">4</ integer>
<integer name = "config_cell_count_y">5</ integer>
<integer name = "config_cell_count_x_min">4</ integer>
<integer name = "config_cell_count_x_max">7</ integer>
<integer name = "config_cell_count_y_min">5</ integer>
<integer name = "config_cell_count_y_max">8</ integer>

Picture


Post has been editeddan3103 - 19.01.19, 15:22
Reason for editing: Printing



Rep: (163)
* sanal154 , you are mistaken) even as it picks up) takes from the background toggles, either the color to change the background, or the file panel_round_corner_bg.9.png
Replacing file
Attached Image


Posted on 09/27/2018 11:25:

* asuslomaster , Discussion topics for MIUI v10 (Post p3r4uk1337 # 77418237)
Picture


Post has been editeddan3103 - 23.01.19, 13:29
Reason for editing: Printing



Rep: (638)
row height in calls and contacts

framework-miui-res / theme_values
<dimen name = "list_preferred_item_height_large">45.000000dp</ dimen>

<dimen name = "list_preferred_item_height">45.000000dp</ dimen>
Attached Image

75dp and 30dp
Attached Image
Attached Image

do not forget to restart apprvt

size of settings icons and text indent from them

com.android.settings / theme_values
<! - Settings item icon size ->
<dimen name = "preference_icon_max_height" package = "miui">0.0dip</ dimen>

<! - Indents in the headers of the settings names (from the icon to the text) ->
<dimen name = "preference_icon_padding_end" package = "miui">10.0dip</ dimen>

on the screen 0, the size of the icons (full)
Attached Image



main dimensions of the dialer

taken as a basissource code denisMfand
Everything migrated from miui 9 almost everything works and at 10.
if the firmware is customized and has these settings in the system, the parametersthe theme will not change
com.android.incallui / theme_values
<! - DIMENSIONS ->
<dimen name = "incoming_avatar_diameter">320.0dip</ dimen><! - Avatar icon diameter ->
<dimen name = "call_info_avatar_margin_top">2.0dip</ dimen><! - From the top to the avatar icon ->
<dimen name = "call_info_margin_top">380.0dip</ dimen><! - From the top to the info about the incoming ->
<!-- <dimen name = "call_info_padding_start">45.329987dip</ dimen> --><! - Shift to the right, left info about the entry ->

<! - TEXT HEIGHT ->
<dimen name = "call_info_name_text_size">20.00sp</ dimen><! - Contact name ->
<dimen name = "call_info_label_number_text_size">15.00sp</ dimen><!-- Phone number -->
<dimen name = "call_info_label_state_text_size">15.0sp</ dimen><!-- A country -->
<dimen name = "call_info_name_text_max_size">40.0sp</ dimen><!-- 40 -->
<dimen name = "call_tools_toggle_button_text_size">10.0sp</ dimen><! - Signature togglov ->

<! - Indent from the bottom of the button, hang up to the buttons on the NUMBER ONE during a call (call) ->
<dimen name = "dial_panel_margin">5.000000dp</ dimen>
<! - Indent from bottom to button write sms, reject, answer when incoming call ->
<dimen name = "incoming_operate_btn_margin_bottom">30.000000dp</ dimen>
<! - Indent between the lines of togles (between the line microphone-hold-mark and the upper part of the border of this line) ->
<dimen name = "call_tools_top_panel_margin_top">5.0dip</ dimen>
<! - Indent between the lines of togles (between the line microphone-hold-label and the line contacts-add-record) ->
<dimen name = "call_tools_top_panel_margin_bottom">5.0dip</ dimen>
<! - Indent from the bottom of the hang up button to the Contacts, Add, Record button during a call (call) ->
<dimen name = "call_tools_bottom_panel_margin_bottom">32.000000dp</ dimen>
<! - Indent from bottom to hang up button during a call (call) ->
<dimen name = "call_button_padding_bottom">20.0000dp</ dimen><!-- 40 -->

<! - Color countdown seconds when choosing a SIM card before the call (timer) ->
<color name = "incall_select_default_sim_text_color"># ff0252b5</ color>
<color name = "select_sim_sumary_txt_color"># ff0252b5</ color>

<! - The text of the name of a SIM card when choosing a SIM card before calling ->
<color name = "select_sim_txt_color_normal"># ffff0000</ color>
<color name = "select_sim_txt_color_disable"># ffeae9e9</ color>

<! - The text of the title "Choose a SIM card" before the call ->
<color name = "select_sim_title_txt_color"># ffff0000</ color>

<! - the height of the digits of the talk time during the call ->
<dimen name = "call_info_elapsed_time_text">16.659973dp</ dimen>

<string name = "dialpad_abc">A B C D</ string>
<string name = "dialpad_def">Dews</ string>
<string name = "dialpad_ghi">Ikey</ string>
<string name = "dialpad_jkl">Mnop</ string>
<string name = "dialpad_mno">RSTU</ string>
<string name = "dialpad_pqrs">FHCCH</ string>
<string name = "dialpad_tuv">SCHSHY</ string>
<string name = "dialpad_wxyz">BEU</ string>

<- the size of the additional dialpad during a call ->
<dimen name = "dial_panel_button_width">90.0dip</ dimen>
<dimen name = "dial_panel_button_height">50.0dip</ dimen>
<dimen name = "dial_panel_button_line_width">300.0dip</ dimen>
<dimen name = "dial_panel_padding_horizontal">8.5dip</ dimen>
<dimen name = "dialpad_button_top_text_size">31.0dip</ dimen>
<dimen name = "dialpad_button_bottom_text_size">8.0dip</ dimen>
<dimen name = "dialpad_button_top_text_padding_bottom">-2.0dip</ dimen>

the size of the number to be dialed
com.android.contacts
<dimen name = "dialer_digits_txt_size">30.0sp</ dimen><- the size of the dialed number-->

20dp and 30dp
Attached Image
Attached Image

date formats


com.android.systemui / theme_values
<string name = "status_bar_clock_date_format">EE dd MMMM</ string><! - date format in title ->
<string name = "status_bar_clock_date_time_format">EE | dd | MMMM | HH: mm</ string><! - date format in the title in the landscape-->
<string name = "lock_screen_date">EEEE в пёЏ dd в пёЏ MMMM</ string><! - date format on lock screen-->

(if package = "miui" can be added directly to com.android.systemui and not to frame)

<string name = "fmt_time_24hour_minute" package = "miui">HH: mm EEEE</ string>
<! - date format in the bar and title-->


framework-miui-res / framework-res / theme_values
<string name = "fmt_time_24hour_minute">HH: mm | dd.MM</ string><! - date format in the bar and title-->

Attached Image
Attached Image
Attached Image
Attached Image

interpretation
d

Represents the day of the month from 1 to 31. Single-digit numbers are used without a leading zero.

dd

Represents the day of the month from 1 to 31. Zero is added to the one-digit numbers at the beginning

EE

Abbreviated weekday name

EEEE

Full name of the day of the week

h

Hours in the form from 1 to 12. Hours with one digit are not supplemented with zero

hh

Hours in the form from 01 to 12. Hours with one digit are complemented by zero

H

Hours in the form from 0 to 23. Hours with one digit are not supplemented with zero

HH

Hours in the form from 0 to 23. Hours with one digit are complemented by zero

m

Minutes from 0 to 59. Minutes with one digit are not supplemented with a leading zero.

mm

Minutes from 0 to 59. Minutes with one digit are complemented by a leading zero.

M

Month in the form from 1 to 12

MM

A month in the form from 1 to 12. A month with one digit is supplemented with a leading zero.

MMM

Abbreviated month name

MMMM

Full month name

s

Seconds as a number from 0 to 59. Seconds with one digit are not complemented by a leading zero.

ss

Seconds as a number from 0 to 59. Seconds with one digit are complemented by a leading zero.
noteif the status update of the bar is not registered every second, it will be updated once a minute (by default)

t

The first characters in the notation AM and PM

tt

AM or PM

y

Represents the year as a one or two digit number. If a year has more than two digits, then only two lower digits are displayed.

yy

Represents the year as a one or two digit number. If a year has more than two digits, then only two lower digits are displayed. If the year has one digit, then it is supplemented with a leading zero.

yyyy

Four-digit year

z
time zone in GMT + 00: 00 format


Picture


Post has been edited[[SAN]] - 29.05.19, 07:52
Reason for editing: Printing



Rep: (720)
* alexandr270483,
Sequence
MIUI_Theme_Values>
<color name = "action_bar_background"># FF636363</ color>
<color name = "action_bar_title_text_color_light"># FF262626</ color>
<color name = "action_button_text_color_disable_light"># 4dffffff</ color>
<color name = "action_button_text_color_normal_light"># b2ffffff</ color>
<color name = "action_button_text_color_pressed_light"># cc767676</ color>
<color name = "action_button_text_color_selected_light"># cc33ceea</ color>
<color name = "action_mode_background"># FF636363</ color>

Result
Attached Image
Attached Image

Picture


Post has been editeddan3103 - 20.01.19, 08:59
Reason for editing: Printing



Rep: (638)
* Sinister
I found ... some of this
com.android.thememanager \ / theme_values
<color name = "resource_comment_primary_color">#cccccccc</ color>

<color name = "resource_comment_secondary_color">#cccccccc</ color>

<color name = "resource_component_backup_color">#cccccccc</ color>
<color name = "resource_secondary_tab_color_normal">#cccccccc</ color>
<color name = "item_resource_audio_single_ring_ranking_list_rank_text_color">#cccccccc</ color>

Attached Image



shutter
<color name = "resource_comment_primary_color"># ff252525</ color>comment itself
<color name = "resource_comment_secondary_color"># ff555555</ color>version and name

Attached Image

Picture


Post has been editeddan3103 - 23.01.19, 14:07
Reason for editing: Printing



Rep: (779)
* Proffessoroff , <color name = "qs_footer_data_usage_text_color"># cccfa972</ color>This line is responsible for the color of the key ...

Posted 03/10/2018 11:05:

* Proffessoroff , located in com.android.systemui ...
Picture


Post has been editeddan3103 - 23.01.19, 14:17
Reason for editing: Printing



Rep: (2738)
Apexie @ 8.10.18, 21:22*
there was a shadow

Register in com.miui.home (launcher) ->theme-values.xml these lines:
<bool name = "config_enable_icon_shadow">xxx</ bool><! - hide \ show shadows from the icons on the desktop ->
<dimen name = "icon_shadow_size">8.0dip</ dimen><! - shadow size ->

Replace xxx with: false - off, true - on
Picture


Post has been editeddan3103 - 23.01.19, 14:25
Reason for editing: Printing



Rep: (2197)
Sanya.orlov @ 10.10.18, 16:11*
text color under battery, process, etc.

<color name = "basic_info_item_divider_color">#ffffffff</ color><- the color of the grid in the item "my device" ->
<color name = "basic_info_item_title_color">#ffffffff</ color><! - the color of the signature icons in the "my device" ->
<color name = "basic_info_item_summary_color">#ffffffff</ color><! - the color of the icons in the item "my device" ->


com.android.settings
Picture


Post has been editeddan3103 - 20.01.19, 09:06
Reason for editing: Printing



Rep: (2197)
For all who like my deja vu.
I post numbered pictures in framework-miui-res
The * .png files from my theme, the * .9.png files are clean, non-decompiled, 182 * 182 in size with small indents at the edges with transparent color
framework-miui-res compiled from drawable, drawable-440dpi-v4, drawable-xxhdpi-v4 directories muipro firmware 8.9.20 V10 Xiaomi Redmi Note 5 + my old files from V9
Do not forget that there is still such a thing as theme_fallback.xml
what it looks like
Attached Image
Attached Image
Attached Image


Download: Attached fileframework-miui-res_NUM.zip (4.82 MB)

In the securitycenter, the pictures are not entirely consecutive and there are duplicates (for example, the 2nd pictures with the number 72, etc.) were supplemented repeatedly, converted into scrap (1512 pictures)
when you click onsearch for problems the application stops because Assigned pictures to all xml (which one did not look for), no consequences whatsoever after stopping - no
Download: Attached filecom.miui.securitycenter_NUM.zip (25.89 MB)

Picture


Post has been editeddan3103 - 19.01.19, 13:08
Reason for editing: Printing



Rep: (180)
* ajaxx These indents can be changed with the theme in the status bar, add lines to the theme_values.xml under the spoiler, for me the 3dip is optimal.
<dimen name = "statusbar_padding_end">3.0dip</ dimen>
<dimen name = "statusbar_padding_start">3.0dip</ dimen>
<dimen name = "round_cornor_padding">0.0dip</ dimen>

Picture


Post has been editeddan3103 - 19.01.19, 13:23
Reason for editing: Printing



Rep: (2197)
Found still for the curtain for unimportant notifications
Screenshots
Attached Image
Attached Image


  1. <color name = "fold_header_text_color">#ffffffff</ color><- unimportant notices top-->
  2. <color name = "fold_footer_text_color">#ffffffff</ color><- unimportant notice bottom-->
  3. <color name = "fold_dividing_line_color"># ffff0000</ color><! - unimportant notifications strip separation-->

in com.android.systemui
Picture


Post has been editeddan3103 - 19.01.19, 14:08
Reason for editing: Printing



Rep: (2738)
Sasha_Layne @ 10/17/18, 19:13*
the name of this window

dialog_bg_light.9.png
Framework-miui-res ->drawable-xxhdpi
Picture


Post has been editeddan3103 - 19.01.19, 13:14
Reason for editing: Printing



Rep: (638)
open curtain notification sizes


com.android.systemui / theme_values
<dimen name = "notification_min_height_increased">55.0dp</ dimen><! - the height of the collapsed notifications-->пїЅ
<dimen name = "notification_min_height_legacy">55.0dp</ dimen>
<dimen name = "min_notification_layout_height">55.0dip</ dimen><! - the height of the collapsed multi-line notifications-->пїЅ
<dimen name = "notification_menu_icon_size">50.0dp</ dimen><! - size of icons when swipe (set and do not disturb) ->пїЅ

best for me is 55dp
sample of different values
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
A value of 150dp can hold more text without unwrapping a drag.
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image

Picture


Post has been editeddan3103 - 19.01.19, 14:00
Reason for editing: Printing



Rep: (638)
background under the icon in notifications

framework-res / theme_values
<color name = "notification_icon_bg_color">#00000000</ color>

snagged after reboot
in the example I have prescribed red
Attached Image
Attached Image


when registering transparencies in framework-res.apk

Attached Image
Attached Image
Attached Image
Attached Image

Picture


Post has been edited[[SAN]] - 22.04.19, 13:26
Reason for editing: Printing



Rep: (2738)
VictorDUA @ 10/19/18, 10:35*
colorful circles

You can prescribe them transparent, and there will be norms:
<! - Mugs in contacts ->
<color name = "letter_tile_bg_color_1"># ff000000</ color>
<color name = "letter_tile_bg_color_2"># ff000000</ color>
<color name = "letter_tile_bg_color_3"># ff000000</ color>
<color name = "letter_tile_bg_color_4"># ff000000</ color>
<color name = "letter_tile_bg_color_5"># ff000000</ color>
<- the letter in the circle-->
<color name = "letter_tile_font_color"># ff33ceea</ color>
<color name = "letter_tile_font_color_1"># ff33ceea</ color>
<color name = "letter_tile_font_color_2"># ff33ceea</ color>
<color name = "letter_tile_font_color_3"># ff33ceea</ color>
<color name = "letter_tile_font_color_4"># ff33ceea</ color>
<color name = "letter_tile_font_color_5"># ff33ceea</ color>
<! - edging mug-->
<color name = "letter_tile_solid_color_1">#80000000</ color>
<color name = "letter_tile_solid_color_2">#80000000</ color>
<color name = "letter_tile_solid_color_3">#80000000</ color>
<color name = "letter_tile_solid_color_4">#80000000</ color>
<color name = "letter_tile_solid_color_5">#80000000</ color>

Picture


Post has been editeddan3103 - 23.01.19, 18:50
Reason for editing: Printing



Rep: (638)
open curtain width

can someone come in handy
com.android.systemui \ / theme_values

<dimen name = "match_parent">360dp</ dimen>adjusts only the vertical curtain, does not disturb the landscape mode

<dimen name = "notification_panel_width">150.0dp</ dimen>regulates everything at once



do not apply together (only notification_panel_width works)
500dp, 400dp, 380dp, 150dp
Attached Image
Attached Image
Attached Image
Attached Image

:-D
Picture


Post has been editeddan3103 - 20.01.19, 15:37
Reason for editing: Printing


Full version    

Help     rules

Time is now: 25/09/20, 12:29