Android: resource String automatic generation

前端 未结 6 1165
心在旅途
心在旅途 2021-01-20 06:52

I\'m new to Android. When I add a button/views in Graphical layout it adds the label text this way- android:text=\"Button\" . Why doesnt it add \"android:text=\"@string/my_l

6条回答
  •  没有蜡笔的小新
    2021-01-20 07:29

    Thanks Siddiq Abu Bakkar! I didn't think it would be there.

    On Eclipse (and Windows) the shortcut is:

    Alt+Shift+A (release all and then press) S

    When you use Eclipse for first time it's not easy understand how to use these kind of "complex" shortcuts.

提交回复
热议问题