Documente Academic
Documente Profesional
Documente Cultură
This tutorial will be a lot easier if you already: know how to decompile and recompile APK files. have basic knowledge in hex color code. NOTE: It is recommended to use Notepad++ to open and edit .xml files.
In the example above, the first 2 characters after the # sign (ff) is the colors transparency and the remaining 6 characters is the equivalent hex color code for black (000000). Basic transparency (00 -> 100% transparency, 3f -> 75% transparency, 7f -> 50% transparency, bf -> 25% transparency) So: #00000000 - black with 100% transparency #3F000000 - black with 75% transparency #7F000000 - black with 50% transparency #BF000000 - black with 25% transparency
So whats in this tutorial? Youll be shown what particular .xml file to edit and where to find them. The Lines are references in Notepad++ so if you havent installed it yet, please do so before proceeding. The codes highlighted in yellow are the only ones that need to be edited. Leave the rest untouched otherwise youll be messing with the codes resulting to mms app force closes.
android:textSize="12.0dip" android:textColor="#ffffffff"
android:linksClickable="false" android:layout_gravity="right" android:id="@id/timestamp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginRight="8.0dip" android:layout_alignParentRight="true" />
colors.xml
\res\values\
Timestamp color
<color name="timestamp_color">#bfffffff</color>
Line 10 (subject) <TextView android:textAppearance="?android:textAppearanceSmallInverse" android:textColor="#fff5f5f5" android:ellipsize="end" android:id="@id/subject" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="7.0dip" android:layout_marginBottom="10.0dip" android:singleLine="true" android:layout_toLeftOf="@id/date" android:layout_toRightOf="@id/avatar" android:layout_alignParentBottom="true" android:layout_alignWithParentIfMissing="true" />