pts_list_dep_item_main_screen.xml 1.96 KB
Newer Older
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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:background="@color/white">

    <GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools"
        android:id="@+id/GridLayout1"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:columnCount="4"
        android:rowCount="1"
        android:orientation="horizontal">
        <ImageView
            android:id="@+id/ptstype"
            android:layout_height="@dimen/defaultTitleSize"
            android:layout_gravity="left|center_vertical"
            android:scaleType="fitCenter"
            />

        <TextView
            android:id="@+id/number"
            android:layout_gravity="center_horizontal"
            android:textColor="@color/descColor"
            android:textSize="@dimen/descTextSize"
            android:textStyle="bold"
            style="@style/TitleTextField"
            />
        <TextView
            android:id="@+id/direction"
            android:layout_gravity="center_horizontal"
            android:textColor="@color/descColor"
            android:lines= "1"
            android:singleLine="true"
            android:ellipsize="end"
            android:maxLines="1"
            android:ems="9"
            android:textSize="@dimen/descTextSize"
            android:paddingLeft="10dp"
            style="@style/TitleTextField"
            />
        <TextView
            android:id="@+id/ptstime"
            android:layout_gravity="right"
            android:textColor="@color/descColor"
            android:textSize="@dimen/descTextSize"
            android:textStyle="bold"
            android:paddingRight="2dp"
            style="@style/TitleTextField"
            />
    </GridLayout>

</LinearLayout>