In the project, I need to show the first lesson the image (the Q-letter image) and show the second letter below the Q letter. The picture is. How can I keep the text as shown in the image?
Q icon image to Can be shown on the map like:
& lt; Android: layout_height = "wrap_content" android: text = "@ string / q_placeholder_text" android: background = "@ drawable / q_drawable" /> < Or textView to a FrameLayout (TextView and ImageView command cases);
. Or even better, add a TextView to both the ImageView and a FrameLayout: id = " Android: layout_width = "wrap_content" Android: layout_height = "wrap_content" & gt; imageView Android: id = "@ + id / q_image" Android: layout_width = "wrap_content" Android: layout_height = " Wrap_content "Android: Layout_gravity = "center" Android: src = "@ drawable / q_drawable /> & Lt; Android: layout_height = "wrap_content" android: layout_gravity = "center" android: text = "@ string / q_placeholder_text /> TextView Android: id =" @ + id / q_text "android: layout_width =" wrap_content " FrameLayout & gt;
No comments:
Post a Comment