如何实现像Palabre这样的布局

穆斯塔法·阿迪尔(Mustafa Adil)

我一直在尝试实现类似Palabre应用程序的布局。这是该应用程序的基本布局:

在此处输入图片说明

另外,我正在从github使用此库:AsymmetricGridView,但仍无法实现所需的布局。

请问有人可以指导我。

crashOveride

如果它是一个列表,请使用这个很棒的库来构建交错列表。

https://github.com/lucasr/twoway-view

如果不是列表->

    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal">
        <TextView 
            android:layout_width="match_parent"
            android:text="Cell1"
            android:layour_weight="1"
            android:layout_height="wrap_content"/>
        <TextView 
            android:layout_width="match_parent"
            android:text="Cell2"
            android:layour_weight="1"
           android:layout_height="wrap_content"/>
    </LinearLayout>
       <TextView 
        android:layout_width="match_parent"
        android:text="Cell3"
        android:layout_height="wrap_content"/>
    </LinearLayout>

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

如何实现像stackoverflow这样的注释结构

如何实现这样的布局?

如何在 css 中实现像工具提示这样的东西?

如何实现像v8这样的健壮哈希表

如何实现像whatsapp刻度线这样的消息发送状态?

如何在Qt中实现像日历这样的前景

如何实现像instagram这样的长按图像预览

如何实现像memcpy()这样的快速复制功能?

如何在android中实现像gmail这样的滑动功能

Android:如何实现这样的布局?

实现像Wordle这样的词云的算法

如何在用户空间中实现像 `format_args!` 这样复杂的宏?

如何在Java中实现像HashMap <String,Hashmap <String,String >>这样的多值哈希图

如何使用AngularJS实现像Google这样的右上角个人资料按钮?

android:如何在我的应用程序中实现像Go Launcher这样的首次教程?

如何在张量流中实现像keras这样的子样本?

如何实现像a> b?c:d这样的原子条件运算符?

Open Inventor / coin3d如何实现像OpenGL这样的双面渲染?

FreeType如何呈现像üäö这样的特殊字符?

golang继承来实现像集合/模型这样的主干

如何使用Kotlin实现像Realm RecyclerView适配器这样的延迟加载RecyclerView适配器

如何实现像语音记录这样的 android viber 应用程序并将其发送到服务器?

如何实现像 facebook 这样的聊天,其中用户 A 在不刷新页面的情况下向用户 B 发送消息?

如何创建这样的布局?

如何创建这样的布局?

如何实现像Gallery一样的HorizontalScrollView?

如何在JavaScript中实现像素内形状算法

实现像 Louis Vuitton 应用程序这样的项目列表视图的自定义水平滚动

如何创建这样的表格布局