質問編集履歴
3
最終的に実現したいことを追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -30,6 +30,12 @@
|
|
30
30
|
|
31
31
|
|
32
32
|
|
33
|
+
###最終的に実現したいこと
|
34
|
+
|
35
|
+
ArticleViewActivity.javaで取得しcsv_line_temp[i][3]に格納したURLをタップしたリストの位置に対応して、Webviewに渡したい。
|
36
|
+
|
37
|
+
|
38
|
+
|
33
39
|
###参考にさせて頂いた記事
|
34
40
|
|
35
41
|
RecyclerViewの基本
|
2
プロジェクト全体のソースファイルへのリンクを追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -50,6 +50,12 @@
|
|
50
50
|
|
51
51
|
|
52
52
|
|
53
|
+
###プロジェクト全体のソースファイル
|
54
|
+
|
55
|
+
http://kidounikki.o0o0.jp/odapp/od_test_01.zip
|
56
|
+
|
57
|
+
|
58
|
+
|
53
59
|
###ArticleViewActivity.java
|
54
60
|
|
55
61
|
```
|
1
row\.xmlを追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -491,3 +491,119 @@
|
|
491
491
|
}
|
492
492
|
|
493
493
|
```
|
494
|
+
|
495
|
+
|
496
|
+
|
497
|
+
###row.xml
|
498
|
+
|
499
|
+
```
|
500
|
+
|
501
|
+
<?xml version="1.0" encoding="utf-8"?>
|
502
|
+
|
503
|
+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
504
|
+
|
505
|
+
android:orientation="vertical"
|
506
|
+
|
507
|
+
android:layout_width="match_parent"
|
508
|
+
|
509
|
+
android:layout_height="wrap_content">
|
510
|
+
|
511
|
+
|
512
|
+
|
513
|
+
<LinearLayout
|
514
|
+
|
515
|
+
android:orientation="vertical"
|
516
|
+
|
517
|
+
android:layout_width="match_parent"
|
518
|
+
|
519
|
+
android:layout_height="wrap_content"
|
520
|
+
|
521
|
+
android:paddingBottom="6dp"
|
522
|
+
|
523
|
+
android:paddingLeft="5dp"
|
524
|
+
|
525
|
+
android:paddingRight="5dp"
|
526
|
+
|
527
|
+
android:paddingTop="5dp">
|
528
|
+
|
529
|
+
|
530
|
+
|
531
|
+
<LinearLayout
|
532
|
+
|
533
|
+
android:orientation="horizontal"
|
534
|
+
|
535
|
+
android:layout_width="match_parent"
|
536
|
+
|
537
|
+
android:layout_height="wrap_content">
|
538
|
+
|
539
|
+
|
540
|
+
|
541
|
+
<TextView
|
542
|
+
|
543
|
+
android:id="@+id/title"
|
544
|
+
|
545
|
+
android:layout_width="wrap_content"
|
546
|
+
|
547
|
+
android:layout_height="wrap_content"
|
548
|
+
|
549
|
+
android:paddingLeft="5dp"
|
550
|
+
|
551
|
+
android:paddingRight="5dp"
|
552
|
+
|
553
|
+
android:gravity="start"
|
554
|
+
|
555
|
+
android:textAppearance="?android:attr/textAppearanceSmall"
|
556
|
+
|
557
|
+
/>
|
558
|
+
|
559
|
+
|
560
|
+
|
561
|
+
<TextView
|
562
|
+
|
563
|
+
android:id="@+id/date"
|
564
|
+
|
565
|
+
android:layout_width="match_parent"
|
566
|
+
|
567
|
+
android:layout_height="wrap_content"
|
568
|
+
|
569
|
+
android:paddingLeft="5dp"
|
570
|
+
|
571
|
+
android:paddingRight="10dp"
|
572
|
+
|
573
|
+
android:gravity="end"
|
574
|
+
|
575
|
+
android:textAppearance="?android:attr/textAppearanceSmall"
|
576
|
+
|
577
|
+
/>
|
578
|
+
|
579
|
+
|
580
|
+
|
581
|
+
</LinearLayout>
|
582
|
+
|
583
|
+
|
584
|
+
|
585
|
+
<TextView
|
586
|
+
|
587
|
+
android:id="@+id/detail"
|
588
|
+
|
589
|
+
android:layout_width="wrap_content"
|
590
|
+
|
591
|
+
android:layout_height="wrap_content"
|
592
|
+
|
593
|
+
android:paddingLeft="20dp"
|
594
|
+
|
595
|
+
android:paddingRight="10dp"
|
596
|
+
|
597
|
+
android:textAppearance="?android:attr/textAppearanceLarge"
|
598
|
+
|
599
|
+
/>
|
600
|
+
|
601
|
+
|
602
|
+
|
603
|
+
</LinearLayout>
|
604
|
+
|
605
|
+
|
606
|
+
|
607
|
+
</LinearLayout>
|
608
|
+
|
609
|
+
```
|