teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

2019/11/20 12:32

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -3,7 +3,6 @@
3
3
  画像の赤字1のように左のホームボタンはHHHと入力ができました。
4
4
  しかし右のSearchには「Search」とテキストで打っても出てきません。
5
5
  hhhの列をコピーしても表示されませんでした。
6
- どのように設定すれば右の画像の下に文字が入るのでしょうか?
7
6
 
8
7
  <item
9
8
  android:id="@+id/navigation_home"
@@ -15,4 +14,53 @@
15
14
  android:icon="@drawable/ic_search_black_24dp"
16
15
  android:title="Seach"/>
17
16
 
18
- ![イメージ説明](bbaf6dcd27a9b11978d08990814a0b2b.png)
17
+ ![イメージ説明](bbaf6dcd27a9b11978d08990814a0b2b.png)
18
+
19
+
20
+ 調べたところメニューが3つだと文字が表示されます。
21
+ ```ここに言語を入力
22
+ <item
23
+ android:id="@+id/navigation_home"
24
+ android:icon="@drawable/ic_home_black_24dp"
25
+ android:title="@string/title_home" />
26
+
27
+ <item
28
+ android:id="@+id/navigation_notifications"
29
+ android:icon="@drawable/ic_notifications_black_24dp"
30
+ android:title="@string/title_notifications" />
31
+
32
+ <item
33
+ android:id="@+id/navigation_dashboard"
34
+ android:icon="@drawable/ic_dashboard_black_24dp"
35
+ android:title="Setting" />
36
+ ```
37
+
38
+
39
+ しかし4つだと文字が消えます。
40
+
41
+ ```ここに言語を入力
42
+ <item
43
+ android:id="@+id/navigation_home"
44
+ android:icon="@drawable/ic_home_black_24dp"
45
+ android:title="@string/title_home" />
46
+
47
+
48
+
49
+ <item
50
+ android:id="@+id/navigation_notifications"
51
+ android:icon="@drawable/ic_notifications_black_24dp"
52
+ android:title="@string/title_notifications" />
53
+
54
+ <item
55
+ android:id="@+id/navigation_dashboard"
56
+ android:icon="@drawable/ic_dashboard_black_24dp"
57
+ android:title="Setting" />
58
+
59
+ <item
60
+ android:id="@+id/navigation_dashboard"
61
+ android:icon="@drawable/ic_dashboard_black_24dp"
62
+ android:title="Setting" />
63
+ ```
64
+
65
+ 4つでロゴの下に文字を入れる為にはどのように
66
+ ボトムナビを設定すればいいですか?

1

2019/11/20 12:32

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -5,9 +5,14 @@
5
5
  hhhの列をコピーしても表示されませんでした。
6
6
  どのように設定すれば右の画像の下に文字が入るのでしょうか?
7
7
 
8
-
9
- 左の×の窓と
8
+ <item
9
+ android:id="@+id/navigation_home"
10
+ android:icon="@drawable/ic_home_black_24dp"
10
- 下の×の窓を閉じたいのですがどのようにすれば窓を閉じる事ができますか?
11
+ android:title="HHH"/>
11
12
 
13
+ <item
14
+ android:id="@+id/navigation_search"
15
+ android:icon="@drawable/ic_search_black_24dp"
16
+ android:title="Seach"/>
12
17
 
13
18
  ![イメージ説明](bbaf6dcd27a9b11978d08990814a0b2b.png)