سلام.من تمام مراحل رو پیش رفتم تا جایی که toolbar مربوط به هر فراگمنت رو جدا میکنیم.toolbar رو از صفحه main کتا کردم و درون فراگمنت قرار دادم و...کاملا مثل آموزش.اما وقتی اجرا میکردم طول بار کامل نشان داده نمیشد.
بعد درون کلاس فراگمنت مربوط به صفحه طول بار را تعریف کردم و setsuportactionbar رو هم زدم وقتی اجرا کردم،طول بار نصفه نشان داده میشد.
میشه راهنماییم کنید
هم از toolbar استفاده کردم،هم از material tool bar اما فرقی نداشت