activity_listing_instance.xml 2.26 KB
Newer Older
1
<?xml version="1.0" encoding="utf-8"?>
rahadi's avatar
rahadi committed
2
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 4 5 6 7 8 9 10 11 12
    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"
    tools:context=".lessthink.activities.ListingInstanceActivity">

    <android.support.design.widget.AppBarLayout
        android:id="@+id/appBarLayout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
rahadi's avatar
rahadi committed
13
        android:layout_alignParentTop="true"
14
        android:orientation="vertical"
rahadi's avatar
rahadi committed
15
        android:theme="@style/AppTheme.NoActionBar.AppBarOverlay">
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32

        <android.support.v7.widget.Toolbar
            android:id="@+id/toolbar"
            android:layout_width="match_parent"
            android:layout_height="?attr/actionBarSize"
            android:background="?attr/colorPrimary"
            app:popupTheme="@style/AppTheme.NoActionBar.PopupOverlay" />

        <id.ac.stis.capi.lessthink.views.TableHeaderView
            android:id="@+id/header_view"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />

    </android.support.design.widget.AppBarLayout>

    <id.ac.stis.capi.lessthink.views.TableRowView
        android:id="@+id/row_view"
rahadi's avatar
rahadi committed
33 34 35 36
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_above="@+id/footer_view"
        android:layout_below="@+id/appBarLayout"
37
        app:rowPadding="4dp"
rahadi's avatar
rahadi committed
38
        app:tableFooterView="@+id/footer_view"
39 40 41 42 43 44
        app:tableHeaderView="@+id/header_view">

    </id.ac.stis.capi.lessthink.views.TableRowView>

    <id.ac.stis.capi.lessthink.views.TableFooterView
        android:id="@+id/footer_view"
rahadi's avatar
rahadi committed
45
        android:layout_width="match_parent"
46
        android:layout_height="wrap_content"
rahadi's avatar
rahadi committed
47
        android:layout_alignParentBottom="true" />
48 49 50 51 52 53 54 55 56 57

    <!--<id.ac.stis.capi.lessthink.views.ListingTableView-->
    <!--android:id="@+id/listingTableView"-->
    <!--android:layout_width="0dp"-->
    <!--android:layout_height="0dp"-->
    <!--app:header_color="@color/colorPrimary"-->
    <!--app:header_text_color="@color/white"-->
    <!--app:header_padding="10dp"-->
    <!--app:row_padding="10dp" />-->

rahadi's avatar
rahadi committed
58
</RelativeLayout>