Android 右边的项目?

Android 右边的项目?,android,Android,我试图保持所有项目的权利,我在谷歌找到的代码,但它不与我的工作 最新的_lsv_item.xml fragment_lastest.xml 如果你想要更多的代码或文件,我会在这里过去。。。 activity_main.xml LastFragment.java 等等 我尝试使用RTL,但也不与我合作您需要使用自定义ListView,请检查此链接;您是否尝试过强制RTL布局?您是否尝试在列表项中使用RelativeLayout? <LinearLayout xmlns:android="ht

我试图保持所有项目的权利,我在谷歌找到的代码,但它不与我的工作

最新的_lsv_item.xml

fragment_lastest.xml

如果你想要更多的代码或文件,我会在这里过去。。。 activity_main.xml LastFragment.java 等等


我尝试使用RTL,但也不与我合作

您需要使用自定义ListView,请检查此链接;您是否尝试过强制RTL布局?您是否尝试在列表项中使用RelativeLayout?
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res/com.apps.newsapplication"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="@drawable/list_bg"
    android:orientation="horizontal" >

    <com.example.util.RoundedImageView
        android:id="@+id/img_newslistlatest"
        android:layout_width="100dp"
        android:layout_height="100dp"
        android:layout_gravity="center"
        android:layout_margin="13dp"
        android:scaleType="centerCrop"
        app:border_color="@color/divider"
        app:border_width="8dip"

        app:round_background="true" />

    <TextView
        android:id="@+id/txt_newslistheadinglatest"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:layout_marginLeft="0dp"
        android:maxLines="3"
        android:text=""
        android:textSize="18sp"
        android:textAppearance="?android:attr/textAppearanceMedium"
        android:textColor="@color/text_color" />

</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background_color"
android:gravity="center"
android:id="@+id/rootlayout"
android:orientation="vertical" >

   <ListView
        android:id="@+id/lsv_latest"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent" 
        android:cacheColorHint="#00000000"
        android:divider="@color/divider"
        android:dividerHeight="1dp">
    </ListView>

</LinearLayout>