美文网首页初见
android个人中心页面的设计

android个人中心页面的设计

作者: 步调Consistent | 来源:发表于2019-11-25 19:30 被阅读0次
android个人中心页面的设计

<RelativeLayout 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:background="@color/colorGray">

    <include

        android:id="@+id/toolbar"

        layout="@layout/include_layout_fitting" />

    <RelativeLayout

        android:id="@+id/relativeLayout1"

        android:layout_width="wrap_content"

        android:layout_height="wrap_content"

        android:layout_below="@id/toolbar"

        android:orientation="vertical">

        <TextView

            android:id="@+id/header"

            android:layout_width="match_parent"

            android:layout_height="120dp"

            android:background="@color/colorPrimary"

            android:scaleType="centerCrop" />

    </RelativeLayout>

    <RelativeLayout

        android:id="@+id/relativeLayout2"

        android:layout_width="wrap_content"

        android:layout_height="wrap_content"

        android:layout_marginLeft="10dp"

        android:layout_marginTop="80dp"

        android:layout_marginRight="10dp">

        <android.support.v7.widget.CardView

            android:id="@+id/id_card"

            android:layout_width="match_parent"

            android:layout_height="wrap_content"

            android:layout_margin="5dp"

            android:foreground="?android:attr/selectableItemBackground"

            app:cardCornerRadius="5dp"

            app:cardElevation="10dp">

            <LinearLayout

                android:layout_width="match_parent"

                android:layout_height="180dp"

                android:layout_marginLeft="@dimen/dimens_10"

                android:layout_marginTop="@dimen/dimens_20"

                android:layout_marginRight="@dimen/dimens_10"

                android:background="@drawable/mine_blue_shape"

                android:orientation="vertical">

                <LinearLayout

                    android:layout_width="match_parent"

                    android:layout_heig

相关文章

网友评论

    本文标题:android个人中心页面的设计

    本文链接:https://www.haomeiwen.com/subject/ienjwctx.html