Toolbar with EditText material design

前端 未结 4 1499
萌比男神i
萌比男神i 2021-01-31 05:24

I\'m trying to make Toolbar with EditText within it like this:

Right now I can do some thing similar but only with static title, Any ideas to get started?

4条回答
  •  我在风中等你
    2021-01-31 06:18

    I think that you need to create you own toolbarlyout and set it to the activity toolbar. try this :

    http://javatechig.com/android/actionbar-with-custom-view-example-in-android you just need to create your component. i hope that will be helpful for you ;)

提交回复
热议问题