It is used to set the background color for textclock control. It is used to change the style (bold, italic, bolditalic) of text. It is used to specify the size of the text. It is used to change the color of the text. It is used to specify how to align the text like left, right, center, top, etc. It is used to specify the formatting pattern to show the time in 24 hours mode. It is used to specify the formatting pattern to show the time in 12-hour mode. It is used to uniquely identify the control The following are some of the commonly used attributes related to TextClock control in android applications. If you observe above code snippet, we used android :format12Hour attribute to set the 12 Hours time format based on our requirements.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |