-6
A
答えて
0
あなたに同じレイアウトを与えるコードは以下の通りであったが、私はあなたがあなたの自己
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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="match_parent"
android:orientation="vertical">
<android.support.v7.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
app:cardBackgroundColor="@color/white">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="1"
android:src="@drawable/trophy1" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="2"
android:orientation="vertical">
<TextView
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" />
<RatingBar
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Start From :" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="2500BDT-2500BDT" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/lable" />
</LinearLayout>
</LinearLayout>
</android.support.v7.widget.CardView>
</LinearLayout>
+1
あなたは彼にスプーンフィードをしたので、彼はあなたの自己を試すことを提案しています。同様の質問には決して答えてはなりません。 –
関連する問題
- 1. AutoCompleteTextViewのAndroidカスタムレイアウト
- 2. Androidのカスタムレイアウト - onDraw()
- 3. Androidの設定カスタムレイアウトの編集
- 4. ContextMenuStripカスタムレイアウト
- 5. アンドロイドウィジェットのカスタムレイアウト
- 6. カスタムレイアウトのUICollectionViewインターフェイスローテーション
- 7. iPhone UITableViewControllerカスタムレイアウト
- 8. カスタムレイアウトのRecyclerViewアイテム
- 9. RadioButtonのカスタムレイアウト
- 10. アンドロイドのカスタムレイアウト
- 11. カスタムレイアウト!ここ
- 12. カスタムレイアウトの仕方h:selectOneRadio
- 13. WPFカスタムレイアウト/仮想化
- 14. Androidのカスタムレイアウト属性の「参照属性」形式ですか?
- 15. カスタムレイアウトのプレビュー時にAndroidレイアウトエディタが例外をスローする
- 16. カスタムレイアウトのAndroid通知の一部のみを更新する
- 17. Androidのカスタムレイアウトの作成に関するチュートリアル?
- 18. カスタムレイアウトのためのRelativeLayoutを中心としたAndroidのレイアウト
- 19. listview行のカスタムレイアウトの問題
- 20. NSInternalInconsistencyException '、理由:' -layoutAttributesForItemAtIndexPath、カスタムレイアウトのUICollectionViewLayoutAttributesインスタンス
- 21. DialogFragment:カスタムレイアウトでAlertDialogを使用する
- 22. リストビューでカスタムレイアウトのアイテムを選択
- 23. カスタムレイアウトのボタンを作成する
- 24. Magentoの:製品specficデザイン「カスタムレイアウトを更新」
- 25. リストビューのカスタムレイアウトのためのアダプタ
- 26. アンドロイド - テキスト入力で実装するカスタムレイアウト
- 27. カスタムレイアウト別のレイアウトとの対話TextView
- 28. ツールバーにカスタムレイアウトを追加する
- 29. ズーム可能なカスタムレイアウトを作成する
- 30. カスタムレイアウトでスクロール/パンニングまたはドラッグ
しようと示唆していますどこ画像ですか..? –
私は自分の質問を編集しました –
あなたの問題は何ですか? –