【问题标题】:linear layout with text and image view which is cropped带有被裁剪的文本和图像视图的线性布局
【发布时间】:2017-04-30 08:29:25
【问题描述】:
 <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_weight="1"
        android:orientation="horizontal">
        <TextView
            android:layout_width="match_parent"
            android:layout_weight="1"
            android:layout_height="match_parent" />

        <ImageView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:id="@+id/curvedimage" />

    </LinearLayout>

目前这是我的观点here 我需要以裁剪格式显示的图像视图,如图所示

提前致谢

【问题讨论】:

    标签: java android android-layout android-imageview


    【解决方案1】:

    使用CircularImageView 并使用RelativeLayout 将Image 放在TextView 上

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-05-05
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多