/embedding/android/resources/layout/notification_progress_text.xml

http://github.com/zpao/v8monkey · XML · 46 lines · 42 code · 4 blank · 0 comment · 0 complexity · 0912daa7abac1775dd5e8792786b8ac0 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:paddingLeft="5dp"
  6. >
  7. <LinearLayout
  8. android:layout_width="fill_parent"
  9. android:layout_height="wrap_content"
  10. android:orientation="horizontal"
  11. >
  12. <ImageView android:id="@+id/notificationImage"
  13. android:layout_width="25dp"
  14. android:layout_height="25dp"
  15. android:scaleType="fitCenter" />
  16. <TextView android:id="@+id/notificationTitle"
  17. android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent.Title"
  18. android:layout_width="fill_parent"
  19. android:layout_height="wrap_content"
  20. android:layout_weight="1"
  21. android:singleLine="true"
  22. android:ellipsize="marquee"
  23. android:fadingEdge="horizontal"
  24. android:paddingLeft="4dp"
  25. />
  26. </LinearLayout>
  27. <ProgressBar android:id="@+id/notificationProgressbar"
  28. style="?android:attr/progressBarStyleHorizontal"
  29. android:layout_width="fill_parent"
  30. android:layout_height="16dip"
  31. android:layout_marginTop="1dip"
  32. android:layout_marginBottom="1dip"
  33. android:layout_marginLeft="10dip"
  34. android:layout_marginRight="10dip"
  35. android:layout_centerHorizontal="true" />
  36. <TextView android:id="@+id/notificationText"
  37. android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent"
  38. android:layout_width="fill_parent"
  39. android:layout_height="wrap_content"
  40. android:paddingLeft="4dp"
  41. />
  42. </LinearLayout>