<?xml version="1.0" encoding="UTF-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
<TextView
android:id="@+id/id_for_search_activity_more_item"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:focusable="false"
android:textSize="20sp"
android:listSelector="@drawable/background_search_activity_top"
android:cacheColorHint="#00000000"
android:paddingLeft="7pt"
android:layout_weight="1"
/>
<TextView
android:id="@+id/id_for_search_activity_more_item_greater_than"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=">"
android:focusable="false"
android:textSize="20sp"
android:layout_alignParentRight="true"
android:paddingRight="7pt"
android:layout_weight="1"
/>
</RelativeLayout>
Android中的ListView的左右对齐
最新推荐文章于 2023-06-02 11:19:50 发布