-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactivity_adminapload.xml
89 lines (76 loc) · 2.83 KB
/
activity_adminapload.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?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"
android:background="#88B8DE"
tools:context=".AdminaploadActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="300dp">
<VideoView
android:id="@+id/videomain"
android:layout_width="350dp"
android:layout_height="260dp"
android:layout_marginTop="20dp"
android:layout_marginLeft="30dp"/>
</LinearLayout>
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="300dp"
android:layout_marginTop="350dp"
android:layout_marginEnd="20dp"
android:layout_marginStart="20dp"
app:cardCornerRadius="30dp"
app:cardElevation="20dp">
<TextView
android:layout_width="match_parent"
android:layout_height="35dp"
android:text="Enter the Video name"
android:layout_marginTop="10dp"
android:textSize="20sp"
android:textColor="@color/black"
android:layout_marginLeft="30dp"/>
<EditText
android:layout_width="match_parent"
android:layout_height="50dp"
android:id="@+id/videoname"
android:background="@drawable/lavender_border"
android:drawableLeft="@drawable/baseline_video_file_24"
android:layout_marginTop="45dp"
android:layout_marginLeft="30dp"
android:drawablePadding="10dp"
android:layout_marginRight="30dp"
android:padding="8dp"
android:hint="Video name" />
<Button
android:id="@+id/choosebt"
android:layout_width="300dp"
android:layout_height="60dp"
android:text="Choose Video"
android:textSize="18sp"
android:backgroundTint="#000000"
android:layout_marginLeft="38dp"
android:layout_marginTop="125dp" />
<Button
android:id="@+id/uploadbt"
android:layout_width="300dp"
android:layout_height="60dp"
android:text="Upload Video"
android:textSize="18sp"
android:backgroundTint="#000000"
android:layout_marginLeft="38dp"
android:layout_marginTop="220dp"
/>
</androidx.cardview.widget.CardView>
<ProgressBar
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:indeterminate="true"
android:indeterminateTint="#E91E63"
android:layout_marginTop="680dp"
android:visibility="invisible"
android:id="@+id/progressbaru" />
</RelativeLayout>