如何在不使用ScrollView的情况下使RelativeLayout可滚动?

时间:2018-01-07 10:25:19

标签: android android-layout android-relativelayout

我有一个RelativeLayout,我需要在不使用ScrollView的情况下获得可滚动的布局,我该怎么做?

1 个答案:

答案 0 :(得分:0)

使用 date_default_timezone_set("Asia/Kolkata"); $con = mysqli_connect("localhost","root","","chat"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $current_date = date('Y-m-d'); $date_title = "TODAY"; mysqli_query($con,"insert into date(date_title, date) values('$date_title', '$current_date')"); ListView,将RecycleView作为RelativeLayoutListView的项目。您可以关注它 - Android 5.0 - Add header/footer to a RecyclerView