|
|
@@ -1,147 +1,194 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<FrameLayout 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:padding="10dp"
|
|
|
- android:background="@drawable/selector_me_menu_item_bg">
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/oa_meeting_name_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <android.support.v7.widget.CardView 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="wrap_content"
|
|
|
- android:textColor="@color/text_main"
|
|
|
- android:textSize="@dimen/text_main" />
|
|
|
+ android:layout_margin="@dimen/padding"
|
|
|
+ app:cardCornerRadius="@dimen/paddingMin"
|
|
|
+ app:cardElevation="@dimen/paddingMin">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/oa_meeting_status_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:textColor="@color/hintColor"
|
|
|
- android:textSize="@dimen/text_hine" />
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/titleRl"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="#f2f2f2"
|
|
|
+ android:paddingBottom="@dimen/paddingMin"
|
|
|
+ android:paddingLeft="@dimen/padding"
|
|
|
+ android:paddingRight="@dimen/padding"
|
|
|
+ android:paddingTop="@dimen/paddingMin">
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/oa_meeting_start_tag"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_below="@id/oa_meeting_name_tv"
|
|
|
- android:layout_marginTop="20dp"
|
|
|
- android:drawablePadding="5dp"
|
|
|
- android:src="@drawable/ic_meeting_time" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/oa_meeting_start"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_below="@id/oa_meeting_name_tv"
|
|
|
- android:layout_marginLeft="5dp"
|
|
|
- android:layout_marginTop="20dp"
|
|
|
- android:layout_toRightOf="@id/oa_meeting_start_tag"
|
|
|
- android:drawablePadding="5dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:textSize="@dimen/text_main" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/oa_meeting_start_date"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignLeft="@id/oa_meeting_start"
|
|
|
- android:layout_below="@id/oa_meeting_start"
|
|
|
- android:layout_marginTop="5dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:textSize="30sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/oa_meeting_line"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignTop="@+id/oa_meeting_start_date"
|
|
|
- android:layout_marginLeft="5dp"
|
|
|
- android:layout_marginRight="5dp"
|
|
|
- android:layout_toRightOf="@+id/oa_meeting_start_date"
|
|
|
- android:text="—"
|
|
|
- android:textSize="30sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/oa_meeting_end_date"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignTop="@+id/oa_meeting_start_date"
|
|
|
- android:layout_toRightOf="@+id/oa_meeting_line"
|
|
|
- android:drawableLeft="@null"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:textSize="30sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/oa_meeting_end"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_above="@id/oa_meeting_end_date"
|
|
|
- android:layout_alignLeft="@+id/oa_meeting_end_date"
|
|
|
- android:layout_alignTop="@id/oa_meeting_start"
|
|
|
- android:layout_marginBottom="5dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:textSize="@dimen/text_main" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/oa_meeting_addr"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_below="@+id/oa_meeting_start_date"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:drawableLeft="@drawable/ic_meeting_address"
|
|
|
- android:drawablePadding="5dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:text="@string/meet_position"
|
|
|
- android:textColor="@color/hintColor" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/oa_meeting_addr_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignTop="@+id/oa_meeting_addr"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:layout_toRightOf="@+id/oa_meeting_addr"
|
|
|
- android:ellipsize="end"
|
|
|
- android:lines="1" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/oa_meeting_user"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_below="@+id/oa_meeting_addr"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:drawableLeft="@drawable/ic_metting_people"
|
|
|
- android:drawablePadding="5dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:text="@string/recorder"
|
|
|
- android:textColor="@color/hintColor" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/oa_meeting_user_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignLeft="@id/oa_meeting_addr_tv"
|
|
|
- android:layout_alignTop="@+id/oa_meeting_user"
|
|
|
- android:layout_toRightOf="@+id/oa_meeting_user" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/oa_meeting_name_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="title"
|
|
|
+ android:textColor="@color/text_main"
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/oa_meeting_tag"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_below="@+id/oa_meeting_user"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:drawableLeft="@drawable/ic_metting_label"
|
|
|
- android:drawablePadding="5dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:text="@string/meet_details"
|
|
|
- android:textColor="@color/hintColor" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/oa_meeting_tag_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignLeft="@id/oa_meeting_addr_tv"
|
|
|
- android:layout_alignTop="@+id/oa_meeting_tag"
|
|
|
- android:layout_toRightOf="@+id/oa_meeting_tag" />
|
|
|
-</RelativeLayout>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/oa_meeting_status_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:textColor="@color/hintColor"
|
|
|
+ android:textSize="@dimen/text_hine" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:paddingBottom="@dimen/paddingMin"
|
|
|
+ android:paddingLeft="@dimen/padding"
|
|
|
+ android:paddingRight="@dimen/padding"
|
|
|
+ android:paddingTop="@dimen/paddingMin">
|
|
|
+
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/oa_meeting_start_tag"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/padding"
|
|
|
+ android:drawablePadding="5dp"
|
|
|
+ android:src="@drawable/ic_meeting_time" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/oa_meeting_start"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:layout_toRightOf="@id/oa_meeting_start_tag"
|
|
|
+ android:drawablePadding="5dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:textColor="#666666"
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/oa_meeting_start_date"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignLeft="@id/oa_meeting_start"
|
|
|
+ android:layout_below="@id/oa_meeting_start"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:textColor="#000000"
|
|
|
+ android:textSize="30sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/oa_meeting_line"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignTop="@+id/oa_meeting_start_date"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:layout_marginRight="5dp"
|
|
|
+ android:layout_toRightOf="@+id/oa_meeting_start_date"
|
|
|
+ android:text=" "
|
|
|
+ android:textSize="30sp"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/oa_meeting_end_date"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignTop="@+id/oa_meeting_start_date"
|
|
|
+ android:layout_marginLeft="@dimen/padding"
|
|
|
+ android:layout_toRightOf="@+id/oa_meeting_start_date"
|
|
|
+ android:drawableLeft="@null"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:textColor="#000000"
|
|
|
+ android:textSize="30sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/oa_meeting_end"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_above="@id/oa_meeting_end_date"
|
|
|
+ android:layout_alignLeft="@+id/oa_meeting_end_date"
|
|
|
+ android:layout_alignTop="@id/oa_meeting_start"
|
|
|
+ android:layout_marginBottom="5dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:textColor="#666666"
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/oa_meeting_addr"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/oa_meeting_start_date"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:drawableLeft="@drawable/ic_meeting_address"
|
|
|
+ android:drawablePadding="5dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:text="@string/meet_position"
|
|
|
+ android:textColor="#666666" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/oa_meeting_addr_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignTop="@+id/oa_meeting_addr"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:layout_toRightOf="@+id/oa_meeting_addr"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:lines="1"
|
|
|
+ android:textColor="#666666" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/oa_meeting_user"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/oa_meeting_addr"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:drawableLeft="@drawable/ic_metting_people"
|
|
|
+ android:drawablePadding="5dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:text="@string/recorder"
|
|
|
+ android:textColor="#666666" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/oa_meeting_user_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignLeft="@id/oa_meeting_addr_tv"
|
|
|
+ android:layout_alignTop="@+id/oa_meeting_user"
|
|
|
+ android:layout_toRightOf="@+id/oa_meeting_user"
|
|
|
+ android:textColor="#666666" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/oa_meeting_tag"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/oa_meeting_user"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:drawableLeft="@drawable/ic_metting_label"
|
|
|
+ android:drawablePadding="5dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:text="@string/meet_details"
|
|
|
+ android:textColor="#666666" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/oa_meeting_tag_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignLeft="@id/oa_meeting_addr_tv"
|
|
|
+ android:layout_alignTop="@+id/oa_meeting_tag"
|
|
|
+ android:layout_toRightOf="@+id/oa_meeting_tag"
|
|
|
+ android:textColor="#666666" />
|
|
|
+
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </android.support.v7.widget.CardView>
|
|
|
+</FrameLayout>
|