|
@@ -2,10 +2,11 @@
|
|
|
<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:id="@+id/mainLayout"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- tools:context=".MainActivity"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:orientation="vertical"
|
|
|
+ tools:context=".MainActivity">
|
|
|
|
|
|
<!--상단 툴바, 오른쪽 버튼 2개-->
|
|
|
<LinearLayout
|
|
@@ -26,9 +27,9 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:paddingTop="4dp"
|
|
|
android:paddingBottom="4dp"
|
|
|
- android:src="@drawable/chilgok_logo"/>
|
|
|
+ android:src="@drawable/chilgok_logo" />
|
|
|
|
|
|
-<!-- #888888-->
|
|
|
+ <!-- #888888-->
|
|
|
<TextView
|
|
|
android:id="@+id/tvEdu"
|
|
|
android:layout_width="wrap_content"
|
|
@@ -41,7 +42,7 @@
|
|
|
android:paddingRight="16dp"
|
|
|
android:text="교육"
|
|
|
android:textColor="@color/white"
|
|
|
- android:visibility="gone"/>
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
@@ -54,10 +55,10 @@
|
|
|
android:id="@+id/logoutLayout"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:background="@drawable/shape_logout"
|
|
|
android:layout_alignParentRight="true"
|
|
|
android:layout_centerVertical="true"
|
|
|
android:layout_marginRight="6dp"
|
|
|
+ android:background="@drawable/shape_logout"
|
|
|
android:padding="4dp">
|
|
|
|
|
|
<ImageView
|
|
@@ -78,11 +79,11 @@
|
|
|
android:id="@+id/settingLayout"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginRight="8dp"
|
|
|
- android:background="@drawable/shape_btn"
|
|
|
- android:layout_toLeftOf="@+id/logoutLayout"
|
|
|
android:layout_centerVertical="true"
|
|
|
android:layout_marginLeft="6dp"
|
|
|
+ android:layout_marginRight="8dp"
|
|
|
+ android:layout_toLeftOf="@+id/logoutLayout"
|
|
|
+ android:background="@drawable/shape_btn"
|
|
|
android:padding="4dp">
|
|
|
|
|
|
<ImageView
|
|
@@ -104,8 +105,8 @@
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
- android:layout_toLeftOf="@+id/settingLayout"
|
|
|
android:layout_marginLeft="6sp"
|
|
|
+ android:layout_toLeftOf="@+id/settingLayout"
|
|
|
android:text="의사이름"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="16sp" />
|
|
@@ -135,19 +136,20 @@
|
|
|
android:id="@+id/tvConsent"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="16dp"
|
|
|
android:background="@drawable/shape2"
|
|
|
android:gravity="center"
|
|
|
android:paddingLeft="16dp"
|
|
|
android:paddingRight="16dp"
|
|
|
- android:layout_marginLeft="16dp"
|
|
|
- android:textSize="20sp"
|
|
|
android:text="@string/consent"
|
|
|
- android:textColor="@color/white" />
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="20sp" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<!--전체레이아웃-->
|
|
|
<LinearLayout
|
|
|
+ android:id="@+id/viewLayout"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:orientation="horizontal">
|
|
@@ -169,11 +171,12 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:layout_weight="1">
|
|
|
+
|
|
|
<include
|
|
|
- layout="@layout/activity_center"
|
|
|
android:id="@+id/includeCenter"
|
|
|
+ layout="@layout/activity_center"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"/>
|
|
|
+ android:layout_height="match_parent" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
@@ -182,84 +185,92 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:layout_weight="1"
|
|
|
- android:orientation="vertical"
|
|
|
- android:background="@color/mainBackGroundColor">
|
|
|
+ android:background="@color/mainBackGroundColor"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:layout_marginRight="2dp"
|
|
|
android:layout_marginTop="2dp"
|
|
|
+ android:layout_marginRight="2dp"
|
|
|
android:layout_marginBottom="2dp"
|
|
|
android:background="@color/white"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
-<!-- <LinearLayout-->
|
|
|
-<!-- android:layout_width="match_parent"-->
|
|
|
-<!-- android:layout_height="wrap_content"-->
|
|
|
-<!-- android:background="@color/mainBackGroundColor">-->
|
|
|
-<!-- <TextView-->
|
|
|
-<!-- android:layout_width="match_parent"-->
|
|
|
-<!-- android:layout_height="match_parent"-->
|
|
|
-<!-- android:text=""-->
|
|
|
-<!-- android:textSize="18sp"-->
|
|
|
-<!-- android:gravity="center"-->
|
|
|
-<!-- android:paddingTop="8dp"/>-->
|
|
|
-<!-- </LinearLayout>-->
|
|
|
+ <!-- <LinearLayout-->
|
|
|
+ <!-- android:layout_width="match_parent"-->
|
|
|
+ <!-- android:layout_height="wrap_content"-->
|
|
|
+ <!-- android:background="@color/mainBackGroundColor">-->
|
|
|
+ <!-- <TextView-->
|
|
|
+ <!-- android:layout_width="match_parent"-->
|
|
|
+ <!-- android:layout_height="match_parent"-->
|
|
|
+ <!-- android:text=""-->
|
|
|
+ <!-- android:textSize="18sp"-->
|
|
|
+ <!-- android:gravity="center"-->
|
|
|
+ <!-- android:paddingTop="8dp"/>-->
|
|
|
+ <!-- </LinearLayout>-->
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:background="@color/mainBackGroundColor">
|
|
|
+ android:background="@color/mainBackGroundColor"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
<LinearLayout
|
|
|
android:id="@+id/historyLayout"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:layout_weight="1"
|
|
|
android:background="@drawable/shape_right_top">
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/tvHistory"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="@string/history"
|
|
|
- android:textSize="16sp"
|
|
|
- android:padding="10dp"
|
|
|
android:gravity="center"
|
|
|
- android:textColor="@color/black"/>
|
|
|
+ android:padding="10dp"
|
|
|
+ android:text="@string/history"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="16sp" />
|
|
|
</LinearLayout>
|
|
|
+
|
|
|
<LinearLayout
|
|
|
android:id="@+id/markerLayout"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:layout_weight="1"
|
|
|
android:background="@drawable/shape_right_top">
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/tvMarker"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="@string/marker"
|
|
|
- android:textSize="16sp"
|
|
|
- android:padding="10dp"
|
|
|
android:gravity="center"
|
|
|
- android:textColor="@color/black"/>
|
|
|
+ android:padding="10dp"
|
|
|
+ android:text="@string/marker"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="16sp" />
|
|
|
</LinearLayout>
|
|
|
+
|
|
|
<LinearLayout
|
|
|
android:id="@+id/searchLayout"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:layout_weight="1"
|
|
|
android:background="@drawable/shape_right_top">
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/tvSearch"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="@string/consentSearch"
|
|
|
- android:textSize="16sp"
|
|
|
- android:padding="10dp"
|
|
|
android:gravity="center"
|
|
|
- android:textColor="@color/black"/>
|
|
|
+ android:padding="10dp"
|
|
|
+ android:text="@string/consentSearch"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="16sp" />
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
+
|
|
|
<androidx.viewpager.widget.ViewPager
|
|
|
android:id="@+id/viewPager"
|
|
|
android:layout_width="match_parent"
|
|
@@ -269,4 +280,6 @@
|
|
|
|
|
|
</LinearLayout>
|
|
|
<!--전체레이아웃 끝-->
|
|
|
+
|
|
|
+
|
|
|
</LinearLayout>
|