为什么这个python代码不起作用,没有输出?

时间:2018-03-25 05:29:12

标签: python-3.x

这个python代码应该带一个数字并提供其中的数字列表。但它没有输出。

<?xml version="1.0" encoding="utf-8"?> 
<android.support.v7.widget.CardView 
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="4dp">

<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_marginLeft="1dp"
    android:layout_marginRight="1dp"
    android:gravity="center_vertical|right"
    android:orientation="vertical">


    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"  // Change it to wrap_content
        android:orientation="vertical">

       ....

    </LinearLayout>

    <TextView
        android:id="@+id/DescriereEveniment"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="20dp"
        android:clickable="true"
        android:autoLink="web"
        android:visibility="gone" />
    <Button
        android:id="@+id/BtnParticip"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="Particip!"
        />
    <Button
        android:id="@+id/BtnNuParticip"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="Nu m-ai particip"
        />

</LinearLayout>
</android.support.v7.widget.CardView>

0 个答案:

没有答案
相关问题