-
Notifications
You must be signed in to change notification settings - Fork 0
/
activity_push_trash.xml
48 lines (35 loc) · 1.93 KB
/
activity_push_trash.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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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"
tools:context="com.example.safiullah.kabultrashcollector.PushTrashActivity">
<RelativeLayout
android:layout_width="match_parent" android:id="@+id/trashinfo"
android:layout_height="wrap_content" >
<android.support.design.widget.CheckableImageButton
android:layout_width="230dp" android:src="@drawable/avatar" android:layout_marginTop="40dp" android:layout_centerVertical="true"
android:layout_height="230dp" android:id="@+id/newtrashimage" android:layout_centerHorizontal="true"/>
<VideoView
android:layout_width="230dp" android:layout_centerHorizontal="true" android:layout_centerVertical="true"
android:layout_height="230dp" android:id="@+id/newtrashvideo" android:layout_marginTop="40dp"/>
<TextView
android:layout_width="wrap_content" android:text="Location Here!" android:layout_below="@+id/newtrashimage"
android:layout_height="wrap_content" android:id="@+id/locationtext" android:layout_centerHorizontal="true"
android:layout_margin="30dp"
/>
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent" android:layout_below="@+id/trashinfo"
android:layout_height="wrap_content">
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Push the post!"
android:background="#23f"
android:id="@+id/posttrashBTN"
android:layout_alignParentBottom="true"
/>
</RelativeLayout>
</RelativeLayout>