/embedding/android/resources/layout/notification_progress.xml

http://github.com/zpao/v8monkey · XML · 53 lines · 49 code · 4 blank · 0 comment · 0 complexity · 10f72d579a9c4100fe21fb93246c80a3 MD5 · raw file

  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. android:layout_width="fill_parent"
  3. android:layout_height="fill_parent"
  4. android:orientation="vertical"
  5. android:paddingTop="7dp"
  6. android:paddingLeft="5dp"
  7. >
  8. <LinearLayout
  9. android:layout_width="fill_parent"
  10. android:layout_height="wrap_content"
  11. android:orientation="horizontal"
  12. >
  13. <ImageView android:id="@+id/notificationImage"
  14. android:layout_width="25dp"
  15. android:layout_height="25dp"
  16. android:scaleType="fitCenter" />
  17. <TextView android:id="@+id/notificationTitle"
  18. android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent.Title"
  19. android:layout_width="fill_parent"
  20. android:layout_height="wrap_content"
  21. android:layout_weight="1"
  22. android:singleLine="true"
  23. android:ellipsize="marquee"
  24. android:fadingEdge="horizontal"
  25. android:paddingLeft="10dp"
  26. />
  27. </LinearLayout>
  28. <LinearLayout
  29. android:layout_width="fill_parent"
  30. android:layout_height="wrap_content"
  31. android:orientation="horizontal"
  32. >
  33. <TextView android:id="@+id/notificationText"
  34. android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent"
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:paddingLeft="3dp"
  38. />
  39. <ProgressBar android:id="@+id/notificationProgressbar"
  40. style="?android:attr/progressBarStyleHorizontal"
  41. android:layout_width="fill_parent"
  42. android:layout_height="wrap_content"
  43. android:layout_marginTop="1dip"
  44. android:layout_marginBottom="1dip"
  45. android:layout_marginLeft="4dip"
  46. android:layout_marginRight="10dip"
  47. android:layout_centerHorizontal="true" />
  48. </LinearLayout>
  49. </LinearLayout>