pts_list_dep_item.xml 1.97 KB
Newer Older
Toni Beier's avatar
Toni Beier committed
1 2 3 4 5
<?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"
6 7
    android:background="@color/white"
    android:padding="15dp">
Toni Beier's avatar
Toni Beier committed
8 9 10 11 12 13 14 15 16 17 18

    <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"
19
            android:layout_height="@dimen/defaultTitleSize"
Toni Beier's avatar
Toni Beier committed
20 21 22 23 24 25 26 27
            android:layout_gravity="left|center_vertical"
            android:scaleType="fitCenter"
        />

        <TextView
            android:id="@+id/number"
            android:layout_gravity="center_horizontal"
            android:textColor="@color/descColor"
28
            android:textSize="@dimen/defaultTitleSize"
Toni Beier's avatar
Toni Beier committed
29 30 31 32 33 34 35
            android:textStyle="bold"
            style="@style/TitleTextField" 
        />
       <TextView
           android:id="@+id/direction"
           android:layout_gravity="center_horizontal"
           android:textColor="@color/descColor"
36 37 38 39 40 41
           android:lines= "1"
           android:singleLine="true"
           android:ellipsize="end"
           android:maxLines="1"
           android:ems="9"
           android:textSize="@dimen/defaultTitleSize"
Toni Beier's avatar
Toni Beier committed
42 43 44 45 46 47 48
           android:paddingLeft="10dp"
           style="@style/TitleTextField"
        />
       <TextView
           android:id="@+id/ptstime"
           android:layout_gravity="right"
           android:textColor="@color/descColor"
49
           android:textSize="@dimen/defaultTitleSize"
Toni Beier's avatar
Toni Beier committed
50 51 52 53 54 55 56
            android:textStyle="bold"
           android:paddingRight="2dp"
           style="@style/TitleTextField"
           />
       </GridLayout>

</LinearLayout>