Current location - Recipe Complete Network - Complete cookbook of home-style dishes - Android studio text input box adds image function.
Android studio text input box adds image function.
1. Open androidstudio and copy the picture to be inserted. You can right-click and select Copy.

2. Next, find the res folder.

3. You can see drawable under res, and right-click res to select Copy, that is, you can add the execution command of the picture in the text input box, or you can press Ctrl+V directly.

4. Next, a box will appear. Newname is actually the name of the picture we just copied. For the following path, we choose drawable under res, click OK, and the picture will be copied.