Coder Social home page Coder Social logo

answereffect's Issues

anwer_item布局改变数据不显示问题

一旦将answer_item的布局替换成自己的布局,就无法出现数据了


    <TextView
            android:id="@+id/tv_anwer"
            android:padding="30dp"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:textColor="#222222"
            android:textSize="18sp"
            android:textStyle="bold"
            android:text="以下Assignment 1 Python数据分析人工智能求助?"/>

    <LinearLayout
            android:paddingRight="30dp"
            android:paddingLeft="10dp"
            android:orientation="vertical"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content">
        <!--A选项-->
        <RelativeLayout
                android:layout_width="wrap_content"
                android:layout_height="wrap_content">

            <TextView
                    android:id="@+id/tvselecta"
                    android:textColor="#222222"
                    android:textSize="18sp"
                    android:gravity="center"
                    android:text=" A "
                    android:layout_width="56dp"
                    android:layout_height="56dp"/>

            <ImageView
                    android:background="@drawable/solid_quent_theme"
                    android:layout_width="56dp"
                    android:layout_height="56dp"/>

            <TextView
                    android:textSize="17dp"
                    android:gravity="center_vertical"
                    android:text="MySQL"
                    android:layout_toRightOf="@+id/tvselecta"
                    android:layout_width="match_parent"
                    android:layout_height="56dp"/>
        </RelativeLayout>

        <RelativeLayout
                android:layout_width="wrap_content"
                android:layout_height="wrap_content">

            <TextView
                    android:id="@+id/tvselectb"
                    android:textColor="#222222"
                    android:textSize="18sp"
                    android:gravity="center"
                    android:text=" A "
                    android:layout_width="56dp"
                    android:layout_height="56dp"/>

            <ImageView
                    android:background="@drawable/solid_quent_theme"
                    android:layout_width="56dp"
                    android:layout_height="56dp"/>

            <TextView
                    android:textSize="17dp"
                    android:gravity="center_vertical"
                    android:text="MySQL"
                    android:layout_toRightOf="@+id/tvselectb"
                    android:layout_width="match_parent"
                    android:layout_height="56dp"/>
        </RelativeLayout>

        <RelativeLayout
                android:layout_width="wrap_content"
                android:layout_height="wrap_content">

            <TextView
                    android:id="@+id/tvselectc"
                    android:textColor="#222222"
                    android:textSize="18sp"
                    android:gravity="center"
                    android:text=" A "
                    android:layout_width="56dp"
                    android:layout_height="56dp"/>

            <ImageView
                    android:background="@drawable/solid_quent_theme"
                    android:layout_width="56dp"
                    android:layout_height="56dp"/>

            <TextView
                    android:textSize="17dp"
                    android:gravity="center_vertical"
                    android:text="MySQL"
                    android:layout_toRightOf="@+id/tvselectc"
                    android:layout_width="match_parent"
                    android:layout_height="56dp"/>
        </RelativeLayout>

        <RelativeLayout
                android:layout_width="wrap_content"
                android:layout_height="wrap_content">

            <TextView
                    android:id="@+id/tvselectd"
                    android:textColor="#222222"
                    android:textSize="18sp"
                    android:gravity="center"
                    android:text=" A "
                    android:layout_width="56dp"
                    android:layout_height="56dp"/>

            <ImageView
                    android:background="@drawable/solid_quent_theme"
                    android:layout_width="56dp"
                    android:layout_height="56dp"/>

            <TextView
                    android:textSize="17dp"
                    android:gravity="center_vertical"
                    android:text="MySQL"
                    android:layout_toRightOf="@+id/tvselectd"
                    android:layout_width="match_parent"
                    android:layout_height="56dp"/>
        </RelativeLayout>
    </LinearLayout>
</LinearLayout>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.