mirror of
https://github.com/bspeice/itcs4180
synced 2025-07-02 22:35:11 -04:00
Added Async functionality and grid display. Still need to fix sizes and
display text under pictures.
This commit is contained in:
@ -1,11 +1,28 @@
|
||||
<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/LinearLayout1"
|
||||
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=".PhotoActivity" >
|
||||
|
||||
</RelativeLayout>
|
||||
<GridView
|
||||
android:id="@+id/GridView1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:numColumns="@integer/COLUMN_COUNT"
|
||||
android:columnWidth="90dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/ExitButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:text="@string/Exit" />
|
||||
|
||||
</LinearLayout>
|
||||
|
5
InClass3/res/values/integers.xml
Normal file
5
InClass3/res/values/integers.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<integer name="ROW_COUNT">2</integer>
|
||||
<integer name="COLUMN_COUNT">2</integer>
|
||||
</resources>
|
@ -10,5 +10,6 @@
|
||||
<string name="football_main_image">http://farm9.staticflickr.com/8441/7882624916_5f62cb318f_z.jpg</string>
|
||||
<string name="title_activity_photo">UNC Charlotte Photos</string>
|
||||
<string name="title_activity_photo_thread">UNC Charlotte Photos</string>
|
||||
<string name="Exit">Exit</string>
|
||||
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user