-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathE_TABLE_LAYOUT_06_OUT_OF_SPACE_solution.xml
47 lines (44 loc) · 1.47 KB
/
E_TABLE_LAYOUT_06_OUT_OF_SPACE_solution.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:context="com.levent.learning.layout_examples.MainActivity"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:shrinkColumns="2"
android:stretchColumns="2">
<TextView
android:text="Sushi"
android:background="#9fc" />
<TableRow>
<TextView
android:text="1"
android:background="#c9f"/>
<TextView
android:text="Kappa Roll"
android:background="#9cf"/>
<TextView
android:text="Cucumber"
android:background="#c9f"/>
<TextView
android:text="$3.95"
android:background="#c9f"/>
</TableRow>
<TableRow>
<TextView
android:text="2"
android:background="#9cf"
android:layout_height="match_parent"/>
<TextView
android:text="Caterpillar Roll"
android:background="#c9f"
android:layout_height="match_parent"/>
<TextView
android:text="Eel, cucumber and Avocado with Tobiko on top."
android:background="#9cf"
android:layout_height="match_parent"/>
<TextView
android:text="$9.95"
android:background="#c9f"
android:layout_height="match_parent"/>
</TableRow>
</TableLayout>