求大神告知Android微信朋友圈界面代码

求大神告知Android微信朋友圈界面代码,第1张

<?xml version="1.0" encoding="utf-8"?>

<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:layout_width="match_parent"

    android:layout_height="match_parent"

    android:orientation="vertical"

    tools:context="cn.tomcat7.baidu.MainActivity">

    <LinearLayout

        android:layout_width="match_parent"

        android:layout_height="wrap_content"

        android:orientation="horizontal">

        <ImageView

            android:layout_width="64dip"

            android:layout_height="64dip"

            android:src="@mipmap/ic_launcher" />

        <LinearLayout

            android:layout_width="0dip"

            android:layout_height="wrap_content"

            android:layout_weight="1"

            android:orientation="vertical">

            <TextView

                android:layout_width="match_parent"

                android:layout_height="wrap_content"

                android:maxLines="1"

                android:text="赤壁赋"

                android:textColor="#000000"

                android:textSize="16dip" />

            <TextView

                android:layout_width="match_parent"

                android:layout_height="wrap_content"

                android:text="壬戌之秋,七月既望,苏子与客泛舟游于赤壁之下。清风徐来,水波不兴。举酒属客,诵明月之诗,歌窈窕之章。少焉,月出于东山之上,徘徊于斗牛之间。白露横江,水光接天。纵一苇之所如,凌万顷之茫然。浩浩乎如冯虚御风,而不知其所止;飘飘乎如遗世独立,羽化而登仙。" />

        </LinearLayout>

    </LinearLayout>

    <View

        android:layout_width="match_parent"

        android:layout_height="1dip"

        android:background="#f1f1f1" />

</LinearLayout>

百度mip不允许使用外联样式表,只能在HTML文件内使用内联样式,可以在<head>范围里使用<style>...</style>加入内联样式代码

或者也可以直接在元素后用style属性设置当前元素的CSS演示!


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/bake/11421235.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-16
下一篇 2023-05-16

发表评论

登录后才能评论

评论列表(0条)

保存