-
Notifications
You must be signed in to change notification settings - Fork 11
/
fragment_tag_photo.xml
129 lines (112 loc) · 4.58 KB
/
fragment_tag_photo.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright 2019 Harsh Sharma
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
~
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:id="@+id/header_tag_photo"
android:layout_width="match_parent"
android:layout_height="50dp"
android:background="#DFDFE1"
android:orientation="horizontal">
<com.harsh.instatag.SquareImageView
android:id="@+id/get_back"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_weight="20"
android:padding="5dp"
android:src="@drawable/ic_go_back" />
<TextView
android:id="@+id/tag_photo"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="5"
android:gravity="center"
android:text="@string/tag_photo"
android:textColor="@color/colorPrimaryDark"
android:textSize="@dimen/sp22" />
<com.harsh.instatag.SquareImageView
android:id="@+id/done"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_weight="20"
android:padding="5dp"
android:src="@drawable/ic_done" />
</LinearLayout>
<LinearLayout
android:id="@+id/header_search_someone"
android:layout_width="match_parent"
android:layout_height="50dp"
android:background="#DFDFE1"
android:orientation="horizontal"
android:visibility="gone">
<EditText
android:id="@+id/search_for_a_person"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@android:color/transparent"
android:gravity="start|center_vertical"
android:hint="@string/search_for_user"
android:inputType="text"
android:padding="10dp"
android:textColor="@android:color/black"
android:textSize="@dimen/sp18" />
<TextView
android:id="@+id/cancel"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="3"
android:background="@null"
android:gravity="center"
android:text="@string/cancel"
android:textColor="@color/colorPrimaryDark"
android:textSize="@dimen/sp18" />
</LinearLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.harsh.instatag.InstaTag
android:id="@+id/insta_tag"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:canWeAddTags="true"
app:instaTextColor="@android:color/white" />
<TextView
android:id="@+id/tap_photo_to_tag_someone"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/insta_tag"
android:layout_gravity="bottom"
android:background="#DFDFE1"
android:gravity="center"
android:text="@string/tap_here_to_choose_a_photo"
android:textColor="@android:color/black"
android:textSize="@dimen/sp18"
android:textStyle="normal" />
<android.support.v7.widget.RecyclerView
android:id="@+id/rv_some_one_to_be_tagged"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#EEFFFFFF"
android:visibility="gone" />
</RelativeLayout>
</LinearLayout>