taomenggo init
This commit is contained in:
61
contactkit-ui/src/main/res/layout/contact_view_layout.xml
Normal file
61
contactkit-ui/src/main/res/layout/contact_view_layout.xml
Normal file
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<LinearLayout android:id="@+id/contact_header_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.TitleBarView
|
||||
android:id="@+id/contact_title_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_52_dp"
|
||||
app:head_title="@string/contact_title"
|
||||
app:head_title_color="@color/title_color"/>
|
||||
|
||||
<View
|
||||
android:id="@+id/divide_line_top_for_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_1_dp"
|
||||
android:background="@color/color_e9eff5"
|
||||
android:alpha="0.6"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<FrameLayout android:id="@+id/contact_body_top_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
</FrameLayout>
|
||||
<FrameLayout android:id="@+id/contact_body_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1">
|
||||
<com.netease.yunxin.kit.contactkit.ui.view.ContactListView
|
||||
android:id="@+id/contact_listview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:head_img_visible="gone"
|
||||
app:head_title="@string/contact_title"
|
||||
app:head_title_color="@color/title_color"/>
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<FrameLayout android:id="@+id/contact_bottom_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
</merge>
|
||||
Reference in New Issue
Block a user