-
Notifications
You must be signed in to change notification settings - Fork 0
/
fragment_layout.xml
35 lines (32 loc) · 1.21 KB
/
fragment_layout.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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/fragmentRlativeLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#ffcc00"
android:orientation="vertical">
<ImageView
android:id="@+id/fragmentImageView"
android:layout_width="250dp"
android:layout_height="250dp"
android:layout_marginTop="14dp"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true" />
<ScrollView
android:layout_width="match_parent"
android:layout_below="@+id/fragmentImageView"
android:layout_centerHorizontal="true"
android:layout_height="wrap_content"
android:scrollbars="vertical"
android:fillViewport="true"
>
<TextView
android:id="@+id/fragmentTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text = "Description"
android:textSize="20sp"
android:layout_margin="16dp"
/>
</ScrollView>
</RelativeLayout>