I want to make an external square of 5 equal size in the top of the screen, side-by-side In each exterior square, on the top of each external square, there are 3 same small square shapes, side-by-side.
External intersections and internal intersections require each limit, which I want to use to isolate each category, so that it is clear to the user that 5 different outer intersections, and each external Within 3 square internal intersections
I was able to get 5 identical size external classes by declaring layout_wind = "0dp" and layout_weight = "2", declaring 5 separate table layouts. Within each of these table layouts, I define the same element with 3 textuals.
How can I get 3 Inquire intersections of screenways equally independent of size, screen size? I tried to set every layout of textViews equal to ".3" but this does not do the trick.
The only way is that I'm able to get 3 similar-sized squares with TextViews: MiniWidth = "12dp" (or some other numbers other than 12dp) for each of the 3 mini squares; , But obviously it does not work for different size screens.
My tables are setup like a table layout each below. The layout I have included is the layout which allows me to create mini sections correctly, but does not work for different size screens, I actually have marginalized TextViews (black background with white framework) Used to make boundary around
In addition to this layout, I tried to create a shape resource and set the background of 3 mini squares to that size, but that too was not working, but I also included that resource .
& lt; TableLayout Android: layout_weight = "1" Android: layout_width = "0dp" Android: layout_height = "wrap_content" Android: background = "#FFFFFF" & gt; & Lt; TableRow Android: Background = "#FFFFFF" & gt; Android: Android: Android: Android: layout_margin = "1 DP" Android: Android: layout_margin = "1 DP" Android: layout_merginbottom = "1 DP" Android: Minewuth = "12 DP" Android: Layout_width = "Wrap-content" Android : Layout_height = "wrap_content" /> Android: Android: Android: Android: layout_margin = "1 DP" Android: Android: layout_margin = "1 DP" Android: layout_merginbottom = "1 DP" Android: Minewuth = "12 DP" Android: Layout_width = "Wrap-content" Android : Layout_height = "wrap_content" /> Android: Android: Android: Android: Android: Android: Android: Layout_width = "Wrap-content" Android: Left_margin Left = "1 DP" Android: Layout_MarginBottom = "1 DP" Android: Layout_mergin Right = " 1 DP "Android:" wrap_content "/> & Lt; / TableRow & gt; & Lt; / TableLayout & gt;
I've tried the size processing:
& Lt; Stroke Android: width = "1dp" color = "# 000000" /> & Lt; Corners Android: Radius = "1dp" /> & Lt; Padding android: left = "2dp" Android: top = "1dp" Android: right = "2dp" Android: bottom = "1dp" /> & Lt; / Size & gt;
Comments
Post a Comment