1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?xml version="1.0" encoding="utf-8"?><!--
- ~ Copyright (C) 2018 Drake, Inc.
- ~
- ~ 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.
- -->
- <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_height="240dp">
- <LinearLayout
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- android:layout_marginTop="24dp"
- android:gravity="center"
- app:layout_constraintBottom_toBottomOf="parent"
- android:layout_width="wrap_content"
- android:orientation="vertical"
- android:layout_height="wrap_content">
- <ImageView
- android:layout_width="100dp"
- android:layout_height="100dp"
- android:id="@+id/iv"
- android:src="@drawable/header" />
- <TextView
- android:id="@+id/tv_name"
- android:layout_width="wrap_content"
- android:text="刘强东"
- android:textSize="16dp"
- android:textStyle="bold"
- android:layout_marginTop="16dp"
- android:layout_height="wrap_content" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_marginTop="8dp"
- android:textSize="12dp"
- android:autoLink="web"
- android:textStyle="italic"
- android:text="liangjingkanji.github.io/Net/"
- android:layout_height="wrap_content" />
- </LinearLayout>
- </androidx.constraintlayout.widget.ConstraintLayout>
|