| 1 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 2 | android:layout_width="match_parent" |
| 3 | android:layout_height="80sp" |
| 4 | android:orientation="horizontal" |
| 5 | > |
| 6 | |
| 7 | <LinearLayout |
| 8 | android:layout_width="wrap_content" |
| 9 | android:layout_height="match_parent" |
| 10 | android:layout_weight="0" |
| 11 | android:orientation="vertical" |
| 12 | > |
| 13 | |
| 14 | <ImageView android:id="@+id/icon" |
| 15 | android:layout_width="wrap_content" |
| 16 | android:layout_height="45dp" |
| 17 | android:layout_gravity="center" |
| 18 | android:scaleType="fitCenter" |
| 19 | android:src="@android:drawable/sym_def_app_icon" |
| 20 | /> |
| 21 | |
| 22 | <Chronometer android:id="@+id/time" |
| 23 | android:layout_width="wrap_content" |
| 24 | android:layout_height="wrap_content" |
| 25 | android:singleLine="true" |
| 26 | android:textColor="#ffffffff" /> |
| 27 | |
| 28 | </LinearLayout> |
| 29 | |
| 30 | <TextView android:id="@+id/appName" |
| 31 | android:layout_width="wrap_content" |
| 32 | android:layout_height="wrap_content" |
| 33 | android:layout_gravity="center" |
| 34 | android:layout_weight="1" |
| 35 | android:paddingTop="4dp" |
| 36 | android:textSize="12sp" |
| 37 | android:textColor="#ffffffff" |
| 38 | /> |
| 39 | |
| 40 | </LinearLayout> |
| 41 |