tôi đã thực hiện mới Chrome tab tùy chỉnh trong android, Tôi đang sử dụng đoạn mã sau để mởLàm thế nào để che giấu url trong tab tùy chỉnh Chrome android
Uri uri = Uri.parse("https://akash.plobal.com/ploicy");
CustomTabsIntent.Builder intentBuilder = new CustomTabsIntent.Builder();
intentBuilder.setToolbarColor(Color.BLACK);
intentBuilder.setShowTitle(true);
intentBuilder.build().launchUrl(getActivity(), uri);
tôi cần phải che giấu url phía dưới tiêu đề trong thanh công cụ
Thực ra tôi cần ẩn URL bên dưới tiêu đề .. –
intentBuilder.enableUrlBarHiding(); điều này sẽ ẩn toàn bộ thanh công cụ trong khi người dùng cuộn xuống trang –