美文网首页
文字中转

文字中转

作者: dd85bd3cabef | 来源:发表于2017-06-15 17:44 被阅读16次

    <?xml version="1.0" encoding="utf-8"?>
    <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:app="http://schemas.android.com/apk/res-auto">
    <TextView
    android:id="@+id/head_text"
    app:layout_constraintLeft_toLeftOf="parent"
    app:layout_constraintRight_toRightOf="parent"
    android:textSize="18sp"
    android:textColor="#ff4400"
    android:text="每日新知"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" />
    <ImageView
    app:layout_constraintLeft_toRightOf="@id/head_text"
    app:layout_constraintTop_toTopOf="@id/head_text"
    app:layout_constraintBottom_toBottomOf="@id/head_text"
    android:layout_marginLeft="6.5dp"
    android:background="#000000"
    android:layout_width="20dp"
    android:layout_height="1dp" />
    <ImageView
    app:layout_constraintRight_toLeftOf="@id/head_text"
    android:layout_marginEnd="6.5dp"
    app:layout_constraintTop_toTopOf="@id/head_text"
    app:layout_constraintBottom_toBottomOf="@id/head_text"
    android:background="#000000"
    android:layout_width="20dp"
    android:layout_height="1dp" />
    <TextView
    app:layout_constraintTop_toBottomOf="@id/head_text"
    app:layout_constraintLeft_toLeftOf="@id/head_text"
    app:layout_constraintRight_toRightOf="@id/head_text"
    android:text="根据你的兴趣推荐学习内容"
    android:textSize="12sp"
    android:textColor="#8b8f97"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" />
    </android.support.constraint.ConstraintLayout>

    相关文章

      网友评论

          本文标题:文字中转

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