d__asrama.xml 2.9 KB
Newer Older
Martinus123S committed
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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".fragment.tabitem.D_AsramaFragment">
    <HorizontalScrollView
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        android:scrollbars="none"
        >
    <TableLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:stretchColumns="2"
        android:padding="16dp"
        android:layout_marginTop="8dp">

        <TableRow
            android:padding="4dp">
            <TextView
                android:layout_column="1"
                android:text="Asrama"
                android:textStyle="bold"/>
            <TextView
                android:id="@+id/nmAsrama"
                android:layout_column="1"
                android:text="-"
                android:layout_marginLeft="16dp"/>
        </TableRow>

        <TableRow
            android:padding="4dp">
            <TextView
                android:layout_column="1"
                android:text="Pengurus Asrama"
                android:textStyle="bold"/>
            <TextView
                android:layout_column="1"
                android:layout_marginLeft="6dp"
                android:text="namaPembina"
                android:id="@+id/pembina"
                />
<!--            <LinearLayout-->
<!--                android:layout_width="wrap_content"-->
<!--                android:layout_height="wrap_content"-->
<!--                android:orientation="vertical"-->
<!--                android:id="@+id/linear_asrama">-->
<!--            </LinearLayout>-->
        </TableRow>

        <TableRow
            android:padding="4dp">
            <TextView
                android:layout_column="1"
                android:text="Kamar"
                android:textStyle="bold"/>
            <TextView
                android:id="@+id/kamar"
                android:layout_column="1"
                android:text="-"
                android:layout_marginLeft="16dp"/>
        </TableRow>

        <TableRow
            android:padding="4dp">
            <TextView
                android:layout_column="1"
                android:text="Teman Sekamar"
                android:textStyle="bold"/>
            <TextView
                android:id="@+id/tmanSekamar"
                android:layout_column="1"
                android:text="-"
                android:layout_marginLeft="16dp"/>
        </TableRow>
    </TableLayout>
        </HorizontalScrollView>

    <ProgressBar
        android:layout_width="40dp"
        android:layout_height="40dp"
        android:id="@+id/progressBar"
        android:layout_centerInParent="true"/>
</RelativeLayout>