Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 
      3 <!-- The height is set programmatically set in CIVC -->
      4 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
      5         android:id="@+id/attachment_previews"
      6         android:layout_width="match_parent"
      7         android:layout_height="wrap_content"
      8         android:layout_marginTop="@dimen/attachment_preview_margin_top"
      9         android:layout_marginLeft="@dimen/attachment_preview_margin_side"
     10         android:layout_marginRight="@dimen/attachment_preview_margin_side"
     11         android:visibility="gone" >
     12     <!-- Use dips for textSize since we want the badge to be a fixed size. -->
     13     <TextView
     14             android:id="@+id/ap_overflow"
     15             android:layout_width="@dimen/ap_overflow_count_diameter"
     16             android:layout_height="@dimen/ap_overflow_count_diameter"
     17             android:layout_marginRight="@dimen/ap_margin_side"
     18             android:layout_marginBottom="@dimen/ap_margin_side"
     19             android:layout_gravity="bottom|right"
     20             android:includeFontPadding="false"
     21             android:textStyle="bold"
     22             android:textSize="10dp"/>
     23     <ImageView
     24             android:id="@+id/ap_placeholder"
     25             android:layout_width="wrap_content"
     26             android:layout_height="wrap_content"
     27             android:layout_gravity="center"
     28             android:src="@drawable/ic_attachment_load" />
     29     <ImageView
     30             android:id="@+id/ap_progress_bar"
     31             android:layout_width="wrap_content"
     32             android:layout_height="wrap_content"
     33             android:layout_gravity="center"
     34             android:src="@drawable/ic_spinner_inner_holo" />
     35 </FrameLayout>