-
Notifications
You must be signed in to change notification settings - Fork 0
/
planet_detail.xml
52 lines (47 loc) · 1.84 KB
/
planet_detail.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
48
49
50
51
52
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
tools:context="com.example.solarsystem.PlanetDetailFragment">
<TextView
android:id="@+id/planet_description"
style="?android:attr/textAppearanceMedium"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:padding="16dp"
android:lineSpacingExtra="8sp"
android:textIsSelectable="true"/>
<TextView
android:id="@+id/planet_composition"
style="?android:attr/textAppearanceMedium"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
android:drawableStart="@drawable/ic_landscape"
android:drawablePadding="24dp"
android:textIsSelectable="true"
tools:text="Terrestrial"/>
<TextView
android:id="@+id/planet_moons"
style="?android:attr/textAppearanceMedium"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
android:drawableStart="@drawable/ic_brightness"
android:drawablePadding="24dp"
android:textIsSelectable="true"
tools:text="2 Known Moon(s)"/>
<TextView
android:id="@+id/planet_orbit"
style="?android:attr/textAppearanceMedium"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
android:drawableStart="@drawable/ic_loop"
android:drawablePadding="24dp"
android:textIsSelectable="true"
tools:text="1 Orbital Period (years)"/>
</LinearLayout>