以下是该给你相同的布局的代码,但我建议你试试你的自我
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
app:cardBackgroundColor="@color/white">
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="1"
android:src="@drawable/trophy1" />
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="2"
android:orientation="vertical">
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="5dp"
android:text="Segual Hotel Cox's bazar"
android:textColor="#2D32FF"
android:textSize="15sp" />
android:layout_width="match_parent"
android:layout_height="wrap_content" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Start From :" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="2500BDT-2500BDT" />
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/lable" />