は私が、私はこのような表を新たにアンドロイドを持っていますユーザーは、列3から入力されたデータごとに、列4で適切に分類されます。私は、表レイアウト、グリッド表示またはリスト表示を使用し、変更後のデータの取得方法を使用する必要があります。いずれか1つのアイデアを持っている 解決しますか?どうもありがとうございます!テーブルレイアウト、リストビュー、またはグリッドビューの使用?</p> <p><img src="https://i.stack.imgur.com/3WgIq.png" alt="enter image description here"></p> <p>は、私は、データベースから動的データ列1 + 2セット3列の編集テキストを使用したいとのことで、データ:
0
A
答えて
0
名前が示すように、ListViewは要素を含む単なるリストを持ちますので、ここで何もしなくてもかまいません。 GridViewは行の一部の要素を分割しますが、テーブルではありません。私はあなたの質問を理解している場合は、テーブルを表示したい。このためには、TableLayoutを使用する必要があります。ここでは、あなたがこの記事に目を向けることができ、動的テーブルの場合より多くの情報
https://developer.android.com/guide/topics/ui/layout/grid.html
を見ることができます:
0
テーブルビュー間違いなく あなたが行うことができ、あなたのコード内のレイアウトを、行った後
TableLayout tblLayout = (TableLayout)findViewById(R.id.tableLayout);
TableRow row = (TableRow)tblLayout.getChildAt(YYY); // Here get row id depending on number of row
Edittext edittext= (Edittext)row.getChildAt(XXX);
String text = edittext.gettext().toString();
テーブルからデータにアクセスする ここテーブルレイアウトの簡単な例です https://www.mkyong.com/android/android-tablelayout-example/ お楽しみ
+0
助けてくれてありがとう!私はこれを試してみるよ –
関連する問題
- 1. は、私がこの</p> <p><img src="https://i.stack.imgur.com/r8u5k.png" alt="enter image description here"></p> <p>で</p> <p><img src="https://i.stack.imgur.com/P6FpH.png" alt="enter image description here"></p> <p>を交換したいのJava Swingの
- 2. <HREFまたは<ASP:私の実行、 <img src="https://i.stack.imgur.com/SgRAe.png" alt="enter image description here"></p> <p>ので:ハイパーリンク.....タグは、ランタイム
- 3. は、今 <img src="https://i.stack.imgur.com/OLb4p.png" alt="enter image description here"></p> <p>ドロップダウンでの追加項目が
- 4. は、これはどのように</p> <p><img src="https://i.stack.imgur.com/q1ySm.png" alt="enter image description here"></p> <p>私は何をすべき...
- 5. は、私は、テーブルorder_product</p> <p><img src="https://i.stack.imgur.com/8HUcD.png" alt="enter image description here"></p> <p>を持って列
- 6. この絵<img src="https://i.stack.imgur.com/LPic0.png" alt="enter image description here"></p> <p>で見える
- 7. は、私は、次のデータセット</p> <p><img src="https://i.stack.imgur.com/vDmNn.png" alt="enter image description here"></p> <p>を持っている実際の
- 8. は、私は私はそれがD3で利用できないと思う<a href="http://dynamicdatadisplay.codeplex.com/" rel="nofollow noreferrer">D3</a></p> <p><img src="https://i.stack.imgur.com/NuQXS.png" alt="enter image description here"></p> <p>を使用して、このようなステップ折れ線グラフがしたいの動的データ表示
- 9. Htmlエンティティ名とエンティティ番号私は、私は、Entity <em>名</em>を使用し、Asp.netをプログラムし、これらの特殊なHTMLエンティティを表示したいとき<img src="https://i.stack.imgur.com/ugdvN.jpg" alt="enter image description here"></p> <p>:
- 10. このグリッドビューが3列(テーブル、列、new_columns)</p> <p><img src="https://i.stack.imgur.com/dkvIV.png" alt="enter image description here"></p> <p>私が欲しいを表示することになっている私は自分のWebアプリケーションでのGridViewを持って</p> <p>をGridViewのデータ(Webアプリケーション)C#
- 11. カスタムリストの箇条書き:活動のための私のアプローチ</p> <p><img src="https://i.stack.imgur.com/RSBBn.png" alt="enter image description here"></p> <p>とセクションがリストを使用してそれらのオプションを作成することでしたオブジェクト:
- 12. は、私は、検索結果ダイアログボックスに <img src="https://i.stack.imgur.com/Cnlr4.png" alt="enter image description here"></p> <p>を閉じたいと思い、検索ダイアログ
- 13. 2つの異なるUIToolbarsが異なるスタイルにデフォルト設定されているのはなぜですか?これらのツールバーが異なって見えること</p> <p><img src="https://i.stack.imgur.com/xpUYa.png" alt="enter image description here"> <img src="https://i.stack.imgur.com/YXbAQ.png" alt="enter image description here"></p> <p>お知らせ:
- 14. Entity Frameworkでピボットテーブルを使用するには?</p> <p><img src="https://i.stack.imgur.com/oLQQw.pngit" alt="enter image description here"></p> <p>私は戻ってセットアンピボット結果を返すストアドプロシージャを使用しますEFを使用したい:
- 15. jQueryのFlot.js:</p> <p><a href="https://i.stack.imgur.com/DdqPc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DdqPc.png" alt="enter image description here"></a></p> <p>:
- 16. <img src="https://i.stack.imgur.com/sRnXZ.jpg" alt="enter image description here"></p> <p>を私は格子内の次のプロットを生成した独立したページ
- 17. Firebaseは、私は、クエリをFirebaseことができます場合SQLserverなどのデータは、フィルタデータを持つデータ</p> <p><img src="https://i.stack.imgur.com/qWNVY.jpg" alt="enter image description here"></p> <p>を照会する必要があるデータ
- 18. PGTとPGTIOUの保存CASが生成する
- 19. 依存性の解析エラーは、現在、私はスウィフト3を使用している、と私は新しいポッドをインストールした後、私はこのエラーに</p> <p><a href="https://i.stack.imgur.com/Guuee.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Guuee.png" alt="enter image description here"></a></p> <p>を受け、新たなポッド
- 20. これまでのところ、次の私はD3</p> <p><a href="https://i.stack.imgur.com/j8xLX.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j8xLX.jpg" alt="enter image description here"></a></p> <p>で、次の再作成しようとしている
- 21. オラクル:</p> <p><a href="https://i.stack.imgur.com/qLgCR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qLgCR.png" alt="enter image description here"></a></p> <p>列Aは、私たちが参加かかりますどの列です:別のテーブル
- 22. は <p><a href="https://i.stack.imgur.com/kfUAM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kfUAM.png" alt="enter image description here"></a></p> <p>我々がチェックすると</p>「N」の列、そのダブル、ランク()またはROW_NUMBER()列
- 23. カスタム私はこの</p> <p><img src="https://i.stack.imgur.com/iaGSo.png" alt="enter image description here"></p> <p><img src="https://i.stack.imgur.com/7fvsi.png" alt="enter image description here"></p> <p>のように見えるフィルタリングでコンボボックスを作成する必要があるコンボボックス
- 24. こんにちは</p> <p><img src="https://i.stack.imgur.com/iOA1p.jpg" alt="image"></p> <p>ImageViewの
- 25. は、私は以下のコードとデータから作られている次のグラフ<a href="https://i.stack.imgur.com/CtcGD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CtcGD.png" alt="enter image description here"></a></p> <p>を持っている多面的なggplot
- 26. 、私は次のよう</p> <p><a href="https://i.stack.imgur.com/JOIj1.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JOIj1.jpg" alt="enter image description here"></a></p> <p>、ここで与えられた数の集合とそれらの和を印刷しようとしているデータとその合計
- 27. イメージがアンドロイドのwebviewのテキストに読み込まれるのはなぜですか? <img src="https://i.stack.imgur.com/kLn6c.png" alt="enter image description here"></p> <p>
- 28. は私のFirebaseデータベースはここでは、この</p> <p><a href="https://i.stack.imgur.com/pnh6l.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pnh6l.png" alt="enter image description here"></a></p> <p>のように見えるスウィフト
- 29. amCharts:私は使用しています私はデータと列をチェックした <a href="https://i.stack.imgur.com/Ofqed.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ofqed.png" alt="enter image description here"></a> (categoryField)です:
- 30. セキュア接続(HTTPS)中にSignalRとの "ロングポーリング"接続を使用する場合のセキュリティ警告|とき<code>IE8</code>でHTTPS</p> <p><img src="https://i.stack.imgur.com/DiNdF.png" alt="enter image description here"></p> <p>に私は、トランスポートタイプとして<code>longpolling</code>を使用していながら、IE8
ありがとうございました! –
これが助けになったら、答えを受け入れられた答えとして –