| @ -0,0 +1,17 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | |||
| <shape xmlns:android="http://schemas.android.com/apk/res/android"> | |||
| <solid android:color="@color/greyf2" /> | |||
| <stroke | |||
| android:width="@dimen/dp_1" | |||
| android:color="@color/grey888888" /> | |||
| <corners | |||
| android:bottomLeftRadius="@dimen/dp_3" | |||
| android:bottomRightRadius="@dimen/dp_3" | |||
| android:topLeftRadius="@dimen/dp_3" | |||
| android:topRightRadius="@dimen/dp_3" /> | |||
| <size | |||
| android:width="@dimen/dp_20" | |||
| android:height="@dimen/dp_20" /> | |||
| </shape> | |||
| @ -1,20 +1,30 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | |||
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |||
| android:orientation="vertical" | |||
| android:layout_width="match_parent" | |||
| android:layout_height="match_parent"> | |||
| android:layout_height="match_parent" | |||
| android:background="@color/greyf4f4f4" | |||
| android:orientation="vertical"> | |||
| <include layout="@layout/include_tool_bar"></include> | |||
| <TextView | |||
| android:layout_width="match_parent" | |||
| android:layout_height="wrap_content" | |||
| android:padding="@dimen/dp_10" | |||
| android:text="@string/driver1" | |||
| android:background="@color/greyf4f4f4" | |||
| android:textColor="@color/grey888888" /> | |||
| <GridView | |||
| android:id="@+id/gv_cars" | |||
| android:numColumns="auto_fit" | |||
| android:stretchMode="columnWidth" | |||
| android:layout_width="match_parent" | |||
| android:layout_height="wrap_content" | |||
| android:columnWidth="100dp" | |||
| android:gravity="center_horizontal" | |||
| android:horizontalSpacing="5dp" | |||
| android:verticalSpacing="5dp" | |||
| android:layout_width="match_parent" | |||
| android:layout_height="wrap_content"> | |||
| android:horizontalSpacing="10dp" | |||
| android:numColumns="auto_fit" | |||
| android:stretchMode="columnWidth" | |||
| android:padding="@dimen/dp_10" | |||
| android:verticalSpacing="15dp"> | |||
| </GridView> | |||
| </LinearLayout> | |||
| @ -1,16 +1,25 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | |||
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |||
| android:orientation="vertical" | |||
| android:gravity="center_horizontal" | |||
| android:layout_width="wrap_content" | |||
| android:layout_height="wrap_content"> | |||
| <Button | |||
| android:layout_width="match_parent" | |||
| android:layout_height="match_parent" | |||
| android:orientation="vertical"> | |||
| <TextView | |||
| android:id="@+id/cars_name" | |||
| android:layout_width="wrap_content" | |||
| android:layout_height="wrap_content" /> | |||
| android:layout_width="match_parent" | |||
| android:layout_height="match_parent" | |||
| android:background="@drawable/shape_bg1" | |||
| android:gravity="center_horizontal" | |||
| android:textColor="@color/black303030" | |||
| android:padding="@dimen/dp_3" | |||
| android:textSize="@dimen/text_size_20" /> | |||
| <TextView | |||
| android:id="@+id/cars_time" | |||
| android:layout_width="wrap_content" | |||
| android:layout_height="wrap_content" /> | |||
| android:layout_width="match_parent" | |||
| android:layout_height="match_parent" | |||
| android:gravity="center_horizontal" | |||
| android:textColor="@color/grey666666" | |||
| android:textSize="@dimen/text_size_18" /> | |||
| </LinearLayout> | |||