鸿蒙应用开发-DevEco Studio 模板体验(五)
显示效果:可以左右滑动布局中的代码<xmlversion"1.0"encoding"utf8"><DirectionalLayoutxmlns:ohos"http:schemas.huawei.comresohos"ohos:height"matchcontent"ohos:width"matchparent"ohos:backgroundelement"$graphic:mainabilitytitlebackground"ohos:orientation"vertical"><includeohos:id"$id:appbar"ohos:height"matchcontent"ohos:width"matchparent"ohos:layout"$layout:appbarlayout"><PageSliderohos:id"$+id:pagev...