-
Notifications
You must be signed in to change notification settings - Fork 2
/
activity_cropimage.xml
55 lines (46 loc) · 1.79 KB
/
activity_cropimage.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal">
<view
android:id="@+id/image"
class="com.restaurantsapp.simplecrop.CropImageView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_x="0dip"
android:layout_y="0dip"
android:background="#55000000" />
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="50dp"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:orientation="horizontal"
android:paddingLeft="10dip"
android:paddingRight="10dip">
<Button
android:id="@+id/discard"
android:layout_width="80dp"
android:layout_height="fill_parent"
android:layout_alignParentLeft="true"
android:text="@string/cancel" />
<ImageButton
android:id="@+id/rotateLeft"
android:layout_width="50dp"
android:layout_height="fill_parent"
android:layout_toRightOf="@id/discard"
android:src="@drawable/ic_rotate_left" />
<ImageButton
android:id="@+id/rotateRight"
android:layout_width="50dp"
android:layout_height="fill_parent"
android:layout_toRightOf="@id/rotateLeft"
android:src="@drawable/ic_rotate_right" />
<Button
android:id="@+id/save"
android:layout_width="80dp"
android:layout_height="fill_parent"
android:layout_toRightOf="@id/rotateRight"
android:text="@string/save" />
</RelativeLayout>
</RelativeLayout>