| 4 |
| android:layout_width="fill_parent" |
| 5 | android:layout_height="fill_parent" |
| 6 | android:background="#00000000" |
| 7 | android:layout_gravity="top"> |
| 8 |
| 9 | <org.telegram.ui.Views.GalleryViewPager |
| 10 | android:id="@+id/gallery_view_pager" |
| 11 | android:layout_width="fill_parent" |
| 12 | android:layout_height="fill_parent" |
| 13 | android:layout_gravity="top"/> |
| 14 |
| 15 | <ProgressBar |
| 16 | android:layout_width="fill_parent" |
| 17 | android:layout_height="3dp" |
| 18 | style="?android:attr/progressBarStyleHorizontal" |
| 19 | android:progress="50" |
| 20 | android:layout_gravity="bottom|center_horizontal" |
| 21 | android:id="@+id/action_progress" |
| 22 | android:max="100" |
| 23 | android:progressDrawable="@drawable/photo_progress" |
| 24 | android:layout_marginBottom="48dp" |
| 25 | android:layout_marginLeft="6dp" |
| 26 | android:layout_marginRight="6dp"/> |
| 27 |
| 28 | <FrameLayout |
| 29 | android:layout_width="fill_parent" |
| 30 | android:layout_height="48dp" |
| 31 | android:layout_gravity="bottom" |
| 32 | android:background="#dd000000" |
| 33 | android:id="@+id/gallery_view_bottom_view"> |
| 34 |
| 35 | <ImageView |
| 36 | android:layout_height="fill_parent" |
| 37 | android:layout_width="50dp" |
| 38 | android:src="@drawable/ic_ab_share_white" |
| 39 | android:scaleType="center" |
| 40 | android:id="@+id/gallery_view_share_button" |
| 41 | android:background="@drawable/list_selector"/> |
| 42 |
| 43 | <ImageView |
| 44 | android:layout_height="fill_parent" |
| 45 | android:layout_width="50dp" |
| 46 | android:src="@drawable/ic_ab_delete_white" |
| 47 | android:scaleType="center" |
| 48 | android:layout_gravity="right" |
| 49 | android:id="@+id/gallery_view_delete_button" |
| 50 | android:background="@drawable/list_selector"/> |
| 51 |
| 52 | <TextView |
| 53 | android:layout_height="wrap_content" |
| 54 | android:layout_width="fill_parent" |
| 55 | android:layout_marginLeft="60dp" |
| 56 | android:layout_marginRight="60dp" |
| 57 | android:textSize="17dp" |
| 58 | android:maxLines="1" |
| 59 | android:textColor="#ffffff" |
| 60 | android:gravity="center" |
| 61 | android:layout_marginTop="2dp" |
| 62 | android:id="@+id/gallery_view_name_text" |
| 63 | android:layout_gravity="top"/> |
| 64 |
| 65 | <TextView |
| 66 | android:layout_height="wrap_content" |
| 67 | android:layout_width="fill_parent" |
| 68 | android:layout_marginLeft="60dp" |
| 69 | android:layout_marginRight="60dp" |
| 70 | android:layout_marginTop="26dp" |
| 71 | android:gravity="center" |
| 72 | android:textColor="#b8bdbe" |
| 73 | android:textSize="14dp" |
| 74 | android:id="@+id/gallery_view_time_text" |
| 75 | android:layout_gravity="top"/> |
| 76 |
| 77 | </FrameLayout> |
| 78 |
| 79 | <TextView |
| 80 | android:layout_height="wrap_content" |
| 81 | android:layout_width="wrap_content" |
| 82 | android:layout_marginTop="-70dp" |
| 83 | android:id="@+id/fake_title_view" |
| 84 | android:textSize="18dp" |
| 85 | android:layout_gravity="top|left"/> |
| 86 |
| 87 | </FrameLayout> |