Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:padding="@dimen/activity_horizontal_margin"
- tools:context=".MainActivity">
- <TextView
- android:id="@+id/txtjudul"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:layout_centerHorizontal="true"
- android:background="@android:color/holo_blue_dark"
- android:text="@string/judul"
- android:textColor="@android:color/white"
- android:textSize="24sp" />
- <TextView
- android:id="@+id/txtsubjudul"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/txtjudul"
- android:layout_centerHorizontal="true"
- android:background="@android:color/holo_red_light"
- android:text="@string/sub_judul"
- android:textColor="@android:color/white"
- android:textSize="24sp" />
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_below="@+id/txtsubjudul"
- android:layout_centerHorizontal="true">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:id="@+id/txtartikel"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="5dp"
- android:text="@string/textartikel" />
- </LinearLayout>
- </ScrollView>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement