Subversion Repositories Code-Repo

Compare Revisions

No changes between revisions

Ignore whitespace Rev 85 → Rev 86

/Android Development/LATMB/res/drawable/icon.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/Android Development/LATMB/res/drawable/icon.png
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/Android Development/LATMB/res/layout/main.xml
0,0 → 1,25
<?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"
android:longClickable="false" android:isScrollContainer="true">
<ScrollView android:layout_height="wrap_content" android:layout_width="match_parent" android:id="@+id/scrollView1">
<LinearLayout android:id="@+id/linearLayout1" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical">
<TextView android:layout_height="wrap_content" android:layout_width="match_parent" android:id="@+id/textServer" android:text="IP Address of Server:" android:textAppearance="?android:attr/textAppearanceLarge"></TextView>
<EditText android:layout_height="wrap_content" android:layout_width="match_parent" android:id="@+id/editServer">
<requestFocus></requestFocus>
</EditText>
<TextView android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/textPort" android:text="Server Port:" android:textAppearance="?android:attr/textAppearanceLarge"></TextView>
<EditText android:layout_height="wrap_content" android:layout_width="match_parent" android:id="@+id/editPort"></EditText>
<TextView android:layout_height="wrap_content" android:layout_width="match_parent" android:id="@+id/textUser" android:text="Username (Optional):" android:textAppearance="?android:attr/textAppearanceLarge"></TextView>
<EditText android:layout_height="wrap_content" android:layout_width="match_parent" android:id="@+id/editUser"></EditText>
<TextView android:layout_height="wrap_content" android:layout_width="match_parent" android:id="@+id/textChatroom" android:text="Chatroom (Optional):" android:textAppearance="?android:attr/textAppearanceLarge"></TextView>
<EditText android:layout_height="wrap_content" android:layout_width="match_parent" android:id="@+id/editChatroom"></EditText>
<CheckBox android:layout_height="wrap_content" android:layout_width="match_parent" android:text="Use GPS Coordinates Instead" android:id="@+id/checkGPS"></CheckBox>
<TextView android:layout_height="wrap_content" android:layout_width="wrap_content" android:textAppearance="?android:attr/textAppearanceLarge" android:id="@+id/textRadius" android:text="Search Radius (km):"></TextView>
<EditText android:layout_height="wrap_content" android:layout_width="match_parent" android:id="@+id/editRadius"></EditText>
<Button android:layout_height="wrap_content" android:layout_width="100dp" android:id="@+id/buttonConnect" android:text="Connect" android:layout_gravity="right"></Button>
</LinearLayout>
</ScrollView>
</LinearLayout>
/Android Development/LATMB/res/layout/messageboard.xml
0,0 → 1,18
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent" android:weightSum="1">
<LinearLayout android:weightSum="1" android:baselineAligned="true" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:id="@+id/statusLayout">
<TextView android:textAppearance="?android:attr/textAppearanceSmall" android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_weight="1" android:text="Status.." android:id="@+id/textStatus"></TextView>
</LinearLayout>
<ScrollView android:layout_width="match_parent" android:id="@+id/scrollView" android:layout_height="334dp" android:layout_weight="1">
<LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/messageList" android:orientation="vertical"></LinearLayout>
</ScrollView>
<LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/inputLayout">
<EditText android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/editMessage" android:layout_weight="1"></EditText>
<Button android:layout_height="wrap_content" android:id="@+id/buttonSubmit" android:text="Submit" android:layout_weight="0" android:layout_width="90dip"></Button>
</LinearLayout>
</LinearLayout>
/Android Development/LATMB/res/menu/mainmenu.xml
0,0 → 1,6
<?xml version="1.0" encoding="utf-8"?>
<menu
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:title="Preferences" android:id="@+id/menuMainPreference"></item>
</menu>
/Android Development/LATMB/res/menu/messagemenu.xml
0,0 → 1,9
<?xml version="1.0" encoding="utf-8"?>
<menu
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:title="Change Chatroom" android:id="@+id/menuChangeChatroom"></item>
<item android:id="@+id/menuPreferences" android:title="Preferences"></item><item android:id="@+id/menuDisconnect" android:title="Disconnect"></item>
<item android:title="Refresh" android:id="@+id/menuRefresh"></item>
</menu>
/Android Development/LATMB/res/values/strings.xml
0,0 → 1,5
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello">Hello World, LATMBActivity!</string>
<string name="app_name">LATMB</string>
</resources>
/Android Development/LATMB/res/xml/preference.xml
0,0 → 1,19
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:title="Defaults" android:key="pref_Category_Defaults"><EditTextPreference android:key="pref_Default_IP" android:title="Server IP" android:summary="Set the default server IP" android:dialogTitle="Default Server IP"></EditTextPreference><EditTextPreference android:key="pref_Default_Port" android:title="Server Port" android:summary="Set the default server port" android:dialogTitle="Default Server Port"></EditTextPreference><EditTextPreference android:key="pref_Default_Username" android:title="Username" android:summary="Set the default username" android:dialogTitle="Default Username"></EditTextPreference><EditTextPreference android:key="pref_Default_Chatroom" android:title="Chatroom" android:summary="Set the default chatroom" android:dialogTitle="Default Chatroom"></EditTextPreference><CheckBoxPreference android:key="pref_Use_GPS" android:title="Use GPS" android:summary="Enable use of GPS by default"></CheckBoxPreference><EditTextPreference android:title="Message Search Radius" android:key="pref_Search_Radius" android:dialogTitle="Search Radius" android:summary="Set the search radius for messages (km)" android:dialogMessage="Radius in kilometers (km)" android:defaultValue="1"></EditTextPreference>
</PreferenceCategory>
<PreferenceCategory android:title="Message Expiration" android:key="pref_Category_Expiration">
<EditTextPreference android:key="pref_MessageExpiration_Days" android:summary="Days until messages expire" android:dialogMessage="Days until messages expire" android:defaultValue="1" android:title="Expiration (Days)"></EditTextPreference>
<EditTextPreference android:dialogMessage="Months until messages expire" android:key="pref_MessageExpiration_Months" android:summary="Months until messages expire" android:defaultValue="0" android:title="Expiration (Months)"></EditTextPreference>
<EditTextPreference android:key="pref_MessageExpiration_Hours" android:summary="Hours until messages expire" android:dialogMessage="Hours until messages expire" android:defaultValue="0" android:title="Expiration (Hours)"></EditTextPreference>
<EditTextPreference android:key="pref_MessageExpiration_Minutes" android:summary="Minutes until messages expire" android:dialogMessage="Minutes until messages expire" android:defaultValue="0" android:title="Expiration (Minutes)"></EditTextPreference>
</PreferenceCategory>
</PreferenceScreen>