1
0
mirror of https://github.com/bspeice/itcs4180 synced 2025-07-03 06:45:15 -04:00

Fix up the threaded section of the layout

Also, minor tweaks to the asynctask portion.
This commit is contained in:
DjBushido
2014-03-10 18:24:50 -04:00
parent 467d7eb9a7
commit d23208c55f
4 changed files with 127 additions and 20 deletions

View File

@ -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"

View File

@ -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>