-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathactivity_adjuntar_foto.xml
53 lines (44 loc) · 1.64 KB
/
activity_adjuntar_foto.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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="10dp">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<ImageButton
android:id="@+id/btnTakeImage"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="Take picture"/>
<TextView
android:id="@+id/tvTakeImage"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="Take picture"
style="@style/textTitle"
android:gravity="center"/>
</RelativeLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<Button
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Back"
android:onClick="goBack"/>
<Button
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Save picture"
android:onClick="saveImage"/>
</LinearLayout>
</LinearLayout>