-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 68fe33a
Showing
60 changed files
with
4,555 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="de.hdmstuttgart.yaxim" android:versionCode="1" | ||
android:versionName="1.0.0"> | ||
<uses-permission android:name="android.permission.INTERNET" /> | ||
<uses-permission android:name="android.permission.VIBRATE" /> | ||
<uses-permission android:name="android.permission." /> | ||
<application android:icon="@drawable/icon" | ||
android:debuggable="true" android:label="@string/app_name"> | ||
|
||
<activity android:name=".MainWindow" android:label="@string/app_name" | ||
android:launchMode="singleTask"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
|
||
<activity android:name=".chat.ChatWindow" android:label="@string/app_name" | ||
android:alwaysRetainTaskState="true"> | ||
</activity> | ||
|
||
<activity android:name=".preferences.MainPrefs" | ||
android:label="@string/app_name"> | ||
</activity> | ||
|
||
<activity android:name=".preferences.AccountPrefs" | ||
android:label="@string/app_name"> | ||
</activity> | ||
|
||
<service android:name=".service.XMPPService"> | ||
<intent-filter> | ||
<action android:name="de.hdmstuttgart.yaxim.XMPPSERVICE" /> | ||
</intent-filter> | ||
</service> | ||
</application> | ||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# This file is automatically generated by Android Tools. | ||
# Do not modify this file -- YOUR CHANGES WILL BE ERASED! | ||
# | ||
# This file must be checked in Version Control Systems. | ||
# | ||
# To customize properties used by the Ant build system use, | ||
# "build.properties", and override values to adapt the script to your | ||
# project structure. | ||
|
||
# Project target. | ||
target=android-3 | ||
# apk configurations. This property allows creation of APK files with limited | ||
# resources. For example, if your application contains many locales and | ||
# you wish to release multiple smaller apks instead of a large one, you can | ||
# define configuration to create apks with limited language sets. | ||
# Format is a comma separated list of configuration names. For each | ||
# configuration, a property will declare the resource configurations to | ||
# include. Example: | ||
# apk-configurations=european,northamerica | ||
# apk-config-european=en,fr,it,de,es | ||
# apk-config-northamerica=en,es | ||
apk-configurations= |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<PreferenceScreen | ||
xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<PreferenceCategory android:title="@string/account_settings_title"> | ||
<EditTextPreference | ||
android:id="@+id/account_jabberID" | ||
android:key="account_jabberID" | ||
android:title="@string/account_jabberID_title" | ||
android:summary="@string/account_jabberID_sum" | ||
android:dialogTitle="@string/account_jabberID_sum" | ||
android:textAppearance="?android:attr/textAppearanceLarge" | ||
android:singleLine="true" | ||
/> | ||
<EditTextPreference | ||
android:id="@+id/account_jabberPW" | ||
android:key="account_jabberPW" | ||
android:title="@string/account_jabberPW_title" | ||
android:summary="@string/account_jabberPW_sum" | ||
android:dialogTitle="@string/account_jabberPW_sum" | ||
android:singleLine="true" | ||
android:password="true" | ||
/> | ||
</PreferenceCategory> | ||
<PreferenceCategory android:title="@string/account_settings_title"> | ||
<EditTextPreference | ||
android:id="@+id/account_port" | ||
android:key="account_port" | ||
android:title="@string/account_port_title" | ||
android:summary="@string/account_port_summ" | ||
android:dialogTitle="@string/account_port_title" | ||
android:textAppearance="?android:attr/textAppearanceLarge" | ||
android:singleLine="true" | ||
android:numeric="integer" | ||
/> | ||
<EditTextPreference | ||
android:id="@+id/account_resource" | ||
android:key="account_resource" | ||
android:title="@string/account_resource_title" | ||
android:summary="@string/account_resource_summ" | ||
android:textAppearance="?android:attr/textAppearanceLarge" | ||
android:dialogTitle="@string/account_resource_dialog_title" | ||
android:singleLine="true" | ||
/> | ||
<EditTextPreference | ||
android:id="@+id/account_prio" | ||
android:key="account_prio" | ||
android:title="@string/account_prio_title" | ||
android:summary="@string/account_prio_summ" | ||
android:dialogTitle="@string/account_prio_title" | ||
android:textAppearance="?android:attr/textAppearanceLarge" | ||
android:singleLine="true" | ||
android:numeric="integer" | ||
/> | ||
</PreferenceCategory> | ||
<PreferenceCategory android:title="@string/account_options_title"> | ||
<CheckBoxPreference | ||
android:id="@+id/connstartup" | ||
android:key="connstartup" | ||
android:title="@string/connstartup_title" | ||
android:summary="@string/connstartup_summary" | ||
/> | ||
<CheckBoxPreference | ||
android:id="@+id/reconnect" | ||
android:key="reconnect" | ||
android:title="@string/reconnect_title" | ||
android:summary="@string/reconnect_summary" | ||
/> | ||
</PreferenceCategory> | ||
</PreferenceScreen> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@+id/statusLayout" | ||
android:orientation="vertical" | ||
android:layout_width="fill_parent" | ||
android:minWidth="200px" | ||
android:layout_height="fill_parent"> | ||
|
||
<ScrollView android:layout_marginBottom="50dip" | ||
android:id="@+id/StatusDialog_ScrollView" | ||
android:layout_height="wrap_content" | ||
android:layout_width="fill_parent" > | ||
<LinearLayout | ||
android:id="@+id/AddContact_ScrollLayout" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical" | ||
> | ||
<TextView | ||
android:id="@+id/Addcontact_Title" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:text="@string/addFriend_Summ" | ||
android:padding="10sp" | ||
/> | ||
<EditText | ||
android:id="@+id/AddContact_EditTextField" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:padding="10sp" | ||
android:gravity="left" | ||
android:singleLine="true" | ||
android:textSize="18sp" | ||
android:maxWidth="200sp" | ||
android:hint="foo@jabber.bar.com"/> | ||
|
||
<EditText | ||
android:id="@+id/AddContactAlias_EditTextField" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:padding="10sp" | ||
android:gravity="left" | ||
android:singleLine="true" | ||
android:textSize="18sp" | ||
android:maxWidth="200sp" | ||
android:hint="@string/addFriend_aliasHint" | ||
/> | ||
|
||
|
||
<Spinner android:id="@+id/AddContact_GroupSpinner" | ||
android:prompt="@string/AddContact_SpinnerPrompt" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content"> | ||
|
||
</Spinner> | ||
|
||
<EditText | ||
android:id="@+id/AddRosterItem_NewGroup_EditTextField" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:visible="false" | ||
android:enabled="false" | ||
android:padding="10sp" | ||
android:gravity="left" | ||
android:singleLine="true" | ||
android:textSize="18sp" | ||
android:maxWidth="200sp" | ||
android:hint="@string/NewGroup_EditTextField_Hint" | ||
/> | ||
</LinearLayout> | ||
</ScrollView> | ||
<LinearLayout | ||
android:layout_marginTop="-50dip" | ||
android:id="@+id/AddContact_ButtonLayout" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center_horizontal"> | ||
<Button | ||
android:id="@+id/AddContact_OkButton" | ||
android:layout_width="120sp" | ||
android:layout_height="wrap_content" | ||
android:text="@string/Global_OK" | ||
android:clickable="false" | ||
/> | ||
|
||
<Button | ||
android:id="@+id/AddContact_CancelButton" | ||
android:layout_width="120sp" | ||
android:layout_height="wrap_content" | ||
android:text="@string/Global_Cancel" | ||
/> | ||
|
||
</LinearLayout> | ||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="horizontal" | ||
android:padding="4px" | ||
> | ||
<LinearLayout | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical" | ||
> | ||
<TextView android:id="@+id/chat_info" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="0" | ||
android:textSize="14sp" | ||
android:gravity="center_vertical" | ||
android:textStyle="italic" | ||
|
||
android:singleLine="true" | ||
android:ellipsize="end" | ||
/> | ||
<TextView android:id="@+id/chat_message" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:textSize="20sp" | ||
android:layout_weight="1" | ||
android:gravity="center_vertical" | ||
android:autoLink="all" | ||
/> | ||
</LinearLayout> | ||
</LinearLayout> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@+id/statusLayout" | ||
android:orientation="vertical" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent"> | ||
|
||
|
||
<TextView | ||
android:id="@+id/StartupDialog_Summary" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:drawableLeft="@drawable/icon" | ||
android:text="@string/StartupDialog_Summary" | ||
android:padding="10sp" | ||
/> | ||
<ScrollView android:layout_marginBottom="50dip" | ||
android:id="@+id/StartupDialog_ScrollView" | ||
android:layout_height="wrap_content" | ||
android:layout_width="fill_parent" > | ||
<LinearLayout | ||
android:id="@+id/AddContact_ScrollLayout" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical" | ||
> | ||
<TextView | ||
android:id="@+id/StartupDialog_Username_title" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:text="@string/StartupDialog_Username_title" | ||
android:padding="2sp" | ||
/> | ||
<EditText | ||
android:id="@+id/StartupDialog_JID_EditTextField" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:padding="10sp" | ||
android:gravity="left" | ||
android:singleLine="true" | ||
android:textSize="18sp" | ||
android:maxWidth="200sp" | ||
android:hint="@string/Global_JID_hint"/> | ||
<TextView | ||
android:id="@+id/StartupDialog_passwd_title" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:text="@string/StartupDialog_passwd_title" | ||
android:padding="2sp" | ||
/> | ||
<EditText | ||
android:id="@+id/StartupDialog_PASSWD_EditTextField" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:password="true" | ||
android:padding="10sp" | ||
android:gravity="left" | ||
android:singleLine="true" | ||
android:textSize="18sp" | ||
android:maxWidth="200sp" | ||
android:hint="@string/StartupDialog_pwHint" | ||
/> | ||
<TextView | ||
android:id="@+id/StartupDialog_port_title" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:text="@string/StartupDialog_port_title" | ||
android:padding="2sp" | ||
/> | ||
<EditText | ||
android:id="@+id/StartupDialog_PORT_EditTextField" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:padding="10sp" | ||
android:gravity="left" | ||
android:numeric="integer" | ||
android:singleLine="true" | ||
android:textSize="18sp" | ||
android:maxWidth="200sp" | ||
android:text="@string/StartupDialog_portHint" | ||
/> | ||
</LinearLayout> | ||
</ScrollView> | ||
|
||
<LinearLayout | ||
android:layout_marginTop="-50dip" | ||
android:id="@+id/StartupDialog_ButtonLayout" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center_horizontal"> | ||
<Button | ||
android:id="@+id/StartupDialog_OkButton" | ||
android:layout_width="120sp" | ||
android:layout_height="wrap_content" | ||
android:text="@string/Global_OK" | ||
android:clickable="false" | ||
/> | ||
|
||
<Button | ||
android:id="@+id/StartupDialog_CancelButton" | ||
android:layout_width="120sp" | ||
android:layout_height="wrap_content" | ||
android:text="@string/Global_Cancel" | ||
/> | ||
|
||
</LinearLayout> | ||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?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"> | ||
|
||
<ExpandableListView android:id="@android:id/list" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:scrollingCache="true"/> | ||
|
||
<TextView android:id="@+id/android:empty" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:text="Yaxim is offline. No Contacts to show!"/> | ||
</LinearLayout> |
Oops, something went wrong.