• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<FrameLayout
3    xmlns:android="http://schemas.android.com/apk/res/android"
4    xmlns:app="http://schemas.android.com/apk/res-auto"
5    android:id="@+id/trimContainer"
6    android:layout_width="match_parent"
7    android:layout_height="wrap_content"
8    android:visibility="gone">
9
10    <LinearLayout
11        android:layout_width="wrap_content"
12        android:layout_height="wrap_content"
13        android:clipToPadding="false"
14        android:orientation="horizontal"
15        android:gravity="center_vertical"
16        android:paddingBottom="8dp"
17        android:paddingLeft="4dp"
18        android:paddingTop="8dp">
19
20        <View
21            android:layout_width="0dp"
22            android:layout_height="0dp"
23            android:layout_weight="0.5"/>
24
25        <com.airbnb.lottie.samples.views.ControlBarItemToggleView
26            android:id="@+id/minFrameView"
27            android:layout_width="wrap_content"
28            android:layout_height="wrap_content"/>
29
30        <View
31            android:layout_width="0dp"
32            android:layout_height="0dp"
33            android:layout_weight="1"/>
34
35        <com.airbnb.lottie.samples.views.ControlBarItemToggleView
36            android:id="@+id/maxFrameView"
37            android:layout_width="wrap_content"
38            android:layout_height="wrap_content"/>
39
40        <View
41            android:layout_width="0dp"
42            android:layout_height="0dp"
43            android:layout_weight="0.5"/>
44
45        <ImageButton
46            android:id="@+id/closeTrimButton"
47            android:layout_width="32dp"
48            android:layout_height="32dp"
49            android:layout_marginRight="16dp"
50            android:background="?attr/selectableItemBackgroundBorderless"
51            app:srcCompat="@drawable/ic_close"/>
52    </LinearLayout>
53
54    <View
55        android:layout_width="match_parent"
56        android:layout_height="@dimen/divider_height"
57        android:layout_gravity="bottom"
58        android:background="@color/divider"/>
59</FrameLayout>
60