标签:android http io ar sp on 问题 html bs
============问题描述============
<?xml version="1.0" encoding="utf-8"?> <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="wrap_content" android:layout_height="wrap_content" android:orientation="vertical" <!-- 此处有selector1 --> android:background="@drawable/selector1"> <TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="TextView" /> </LinearLayout> <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical" <!-- 此处有selector2 --> android:background="@drawable/selector2"> <TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="TextView" /> </LinearLayout> </LinearLayout>
============解决方案1============
============解决方案2============
如何让ListView中的item里面的selector生效?
标签:android http io ar sp on 问题 html bs
原文地址:http://www.cnblogs.com/shaochuyun57/p/4044475.html