如何进行android响应式设计,如gridview
我很想知道我应该使用哪种布局,就像下面的网格设计一样如何进行android响应式设计,如gridview,android,responsive-design,Android,Responsive Design,我很想知道我应该使用哪种布局,就像下面的网格设计一样 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent"
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout android:layout_height="75dp"
android:id="@+id/bacon"
android:orientation="vertical"
android:layout_width="fill_parent">
<TextureView android:id="@+id/bacon_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextureView android:id="@+id/bacon_time_elapsed"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
<GridView android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/other_stuff"
android:numColumns="2">
</GridView>
</LinearLayout>
使用TableLayout并在运行时将行添加到要添加行的表中