mirror of
				https://github.com/bspeice/itcs4180
				synced 2025-11-03 18:00:37 -05:00 
			
		
		
		
	Fix up the threaded section of the layout
Also, minor tweaks to the asynctask portion.
This commit is contained in:
		@ -1,6 +1,6 @@
 | 
			
		||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    xmlns:tools="http://schemas.android.com/tools"
 | 
			
		||||
    android:id="@+id/LinearLayout1"
 | 
			
		||||
    android:id="@+id/layout_async"
 | 
			
		||||
    android:layout_width="match_parent"
 | 
			
		||||
    android:layout_height="match_parent"
 | 
			
		||||
    android:orientation="vertical"
 | 
			
		||||
@ -11,15 +11,15 @@
 | 
			
		||||
    tools:context=".PhotoActivity" >
 | 
			
		||||
 | 
			
		||||
    <GridView
 | 
			
		||||
        android:id="@+id/GridView1"
 | 
			
		||||
        android:id="@+id/grid_async"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
        android:layout_height="0dp"
 | 
			
		||||
        android:layout_weight="1" 
 | 
			
		||||
        android:numColumns="@integer/column_count" 
 | 
			
		||||
        android:columnWidth="90dp" />
 | 
			
		||||
        android:layout_weight="1"
 | 
			
		||||
        android:columnWidth="90dp"
 | 
			
		||||
        android:numColumns="@integer/column_count" />
 | 
			
		||||
    
 | 
			
		||||
    <Button
 | 
			
		||||
        android:id="@+id/ExitButton"
 | 
			
		||||
        android:id="@+id/btn_exit_async"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:layout_gravity="bottom"
 | 
			
		||||
 | 
			
		||||
@ -1,11 +1,29 @@
 | 
			
		||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    xmlns:tools="http://schemas.android.com/tools"
 | 
			
		||||
    android:id="@+id/layout_thread"
 | 
			
		||||
    android:layout_width="match_parent"
 | 
			
		||||
    android:layout_height="match_parent"
 | 
			
		||||
    android:orientation="vertical"
 | 
			
		||||
    android:paddingBottom="@dimen/activity_vertical_margin"
 | 
			
		||||
    android:paddingLeft="@dimen/activity_horizontal_margin"
 | 
			
		||||
    android:paddingRight="@dimen/activity_horizontal_margin"
 | 
			
		||||
    android:paddingTop="@dimen/activity_vertical_margin"
 | 
			
		||||
    tools:context=".PhotoThread" >
 | 
			
		||||
 | 
			
		||||
</RelativeLayout>
 | 
			
		||||
    <GridView
 | 
			
		||||
        android:id="@+id/grid_thread"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
        android:layout_height="0dp"
 | 
			
		||||
        android:layout_weight="1"
 | 
			
		||||
        android:columnWidth="90dp"
 | 
			
		||||
        android:numColumns="@integer/column_count" >
 | 
			
		||||
    </GridView>
 | 
			
		||||
 | 
			
		||||
    <Button
 | 
			
		||||
        android:id="@+id/btn_exit_async"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:onClick="onClickExit"
 | 
			
		||||
        android:text="@string/exit_button_text" />
 | 
			
		||||
 | 
			
		||||
</LinearLayout>
 | 
			
		||||
		Reference in New Issue
	
	Block a user