Misc. Updates.
This commit is contained in:
parent
92ed7cd5f4
commit
a0d9ea235f
10 changed files with 297 additions and 174 deletions
|
@ -1,26 +1,53 @@
|
|||
<?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:padding="10dip">
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical"
|
||||
android:padding="10dip" >
|
||||
|
||||
<TextView android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" android:id="@+id/main_query_lbl"
|
||||
android:text="@string/main_query_lbl_txt" android:textAppearance="?android:attr/textAppearanceMedium"></TextView>
|
||||
<TextView
|
||||
android:id="@+id/main_query_lbl"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/main_query_lbl_txt"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" >
|
||||
</TextView>
|
||||
|
||||
<AutoCompleteTextView android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content" android:id="@+id/main_query_fld"
|
||||
android:singleLine="true"></AutoCompleteTextView>
|
||||
<TextView android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" android:id="@+id/main_type_lbl"
|
||||
android:text="@string/main_type_lbl_txt" android:textAppearance="?android:attr/textAppearanceMedium"></TextView>
|
||||
<Spinner android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content" android:id="@+id/main_type_spin"></Spinner>
|
||||
<AutoCompleteTextView
|
||||
android:id="@+id/main_query_fld"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:singleLine="true" >
|
||||
</AutoCompleteTextView>
|
||||
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:paddingTop="10dip">
|
||||
<Button android:text="@string/main_send_btn_txt" android:id="@+id/main_send_btn"
|
||||
android:minEms="8" android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" android:layout_alignParentRight="true"></Button>
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:id="@+id/main_type_lbl"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/main_type_lbl_txt"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" >
|
||||
</TextView>
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/main_type_spin"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content" >
|
||||
</Spinner>
|
||||
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="10dip" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/main_send_btn"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:minEms="8"
|
||||
android:text="@string/main_send_btn_txt" >
|
||||
</Button>
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
|
@ -1,86 +1,68 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string-array name="main_type_array">
|
||||
<item>Search</item>
|
||||
<item>Web Snippets</item>
|
||||
<item>Local Search</item>
|
||||
<item>Local Movies</item>
|
||||
<item>Local Weather</item>
|
||||
<item>Airlines</item>
|
||||
<item>Airports</item>
|
||||
<item>Area Codes</item>
|
||||
<item>Calculator</item>
|
||||
<item>Currency Conversion</item>
|
||||
<item>Directions</item>
|
||||
<item>Flights</item>
|
||||
<item>Glossary</item>
|
||||
<item>METAR</item>
|
||||
<item>Maps</item>
|
||||
<item>Movies</item>
|
||||
<item>Products</item>
|
||||
<item>Q&A</item>
|
||||
<item>Sports</item>
|
||||
<item>Stocks</item>
|
||||
<item>Time</item>
|
||||
<item>Translation</item>
|
||||
<item>Weather</item>
|
||||
<item>Zip Codes</item>
|
||||
<item>Help</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="main_cmd_array">
|
||||
<item>%s</item>
|
||||
<item>web %s</item>
|
||||
<item>%s %l</item>
|
||||
<item>movies %%s %l</item>
|
||||
<item>weather %l</item>
|
||||
<item>%s</item>
|
||||
<item>%s airport</item>
|
||||
<item>area code %s</item>
|
||||
<item>%s</item>
|
||||
<item>%s</item>
|
||||
<item>directions %s</item>
|
||||
<item>flight %s</item>
|
||||
<item>define %s</item>
|
||||
<item>metar %s</item>
|
||||
<item>map %s</item>
|
||||
<item>movies %s</item>
|
||||
<item>price %s</item>
|
||||
<item>%s</item>
|
||||
<item>score %s</item>
|
||||
<item>stock %s</item>
|
||||
<item>time %s</item>
|
||||
<item>translate %s</item>
|
||||
<item>weather %s</item>
|
||||
<item>zip code %s</item>
|
||||
<item>help %s</item>
|
||||
</string-array>
|
||||
<string-array name="main_type_array">
|
||||
<item>Search</item>
|
||||
<item>Web Snippets</item>
|
||||
<item>Local Search</item>
|
||||
<item>Local Movies</item>
|
||||
<item>Local Weather</item>
|
||||
<item>Calculator</item>
|
||||
<item>Currency Conversion</item>
|
||||
<item>Directions</item>
|
||||
<item>Glossary</item>
|
||||
<item>Maps</item>
|
||||
<item>Movies</item>
|
||||
<item>Products</item>
|
||||
<item>Sports</item>
|
||||
<item>Stocks</item>
|
||||
<item>Time</item>
|
||||
<item>Translation</item>
|
||||
<item>Weather</item>
|
||||
<item>Zip Codes</item>
|
||||
<item>Help</item>
|
||||
</string-array>
|
||||
<string-array name="main_cmd_array" formatted="false">
|
||||
<item>%s</item>
|
||||
<item>WEB %s</item>
|
||||
<item>%s %l</item>
|
||||
<item>MOVIES %%s %l</item>
|
||||
<item>WEATHER %l</item>
|
||||
<item>%s</item>
|
||||
<item>%s</item>
|
||||
<item>DIRECTIONS %s</item>
|
||||
<item>DEFINE %s</item>
|
||||
<item>MAP %s</item>
|
||||
<item>%s</item>
|
||||
<item>PRICE %s</item>
|
||||
<item>SCORE %s</item>
|
||||
<item>STOCK %s</item>
|
||||
<item>TIME %s</item>
|
||||
<item>TRANSLATE %s</item>
|
||||
<item>WEATHER %s</item>
|
||||
<item>ZIP CODE %s</item>
|
||||
<item>HELP %s</item>
|
||||
</string-array>
|
||||
<string-array name="main_hint_array">
|
||||
<item>blockbuster seattle wa</item>
|
||||
<item>search terms, e.g.: galaxy nexus</item>
|
||||
<item>business listing, sushi, pizza, etc.</item>
|
||||
<item>No query or current movie name</item>
|
||||
<item>No query required</item>
|
||||
<item>1 us pint in liters, 5+2/2, etc.</item>
|
||||
<item>8 usd in yen</item>
|
||||
<item>pasadena ca to 94043</item>
|
||||
<item>word to define, e.g.: zenith</item>
|
||||
<item>5th avenue new york</item>
|
||||
<item>current movie name boston, ma</item>
|
||||
<item>ipod 40gb, UPC/ISBN, etc.</item>
|
||||
<item>NBA/NHL/MLB/NFL/NCAA team</item>
|
||||
<item>ticker symbol, e.g.: goog</item>
|
||||
<item>new york, ny</item>
|
||||
<item>hello in french</item>
|
||||
<item>new york, ny</item>
|
||||
<item>90210</item>
|
||||
<item>search feature, e.g.: local, etc.</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="main_hint_array">
|
||||
<item>blockbuster seattle wa</item>
|
||||
<item>search terms, e.g.: nexus one</item>
|
||||
<item>business listing, sushi, pizza, etc.</item>
|
||||
<item>No query or current movie name</item>
|
||||
<item>No query required</item>
|
||||
<item>united airlines</item>
|
||||
<item>airport code, e.g.: sfo</item>
|
||||
<item>area code, e.g.: 650</item>
|
||||
<item>1 us pint in liters, 5+2/2, etc.</item>
|
||||
<item>8 usd in yen</item>
|
||||
<item>pasadena ca to 94043</item>
|
||||
<item>aa 2111, ua 14, etc.</item>
|
||||
<item>word to define, e.g.: zenith</item>
|
||||
<item>ICAO airport code, e.g.: khio</item>
|
||||
<item>5th avenue new york</item>
|
||||
<item>current movie name boston, ma</item>
|
||||
<item>ipod 40gb, UPC/ISBN, etc.</item>
|
||||
<item>india population</item>
|
||||
<item>NBA/NHL/MLB/NFL/NCAA team</item>
|
||||
<item>ticker symbol, e.g.: goog</item>
|
||||
<item>new york, ny</item>
|
||||
<item>hello in french</item>
|
||||
<item>new york, ny</item>
|
||||
<item>90210</item>
|
||||
<item>search feature, e.g.: local, etc.</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
</resources>
|
|
@ -1,27 +1,28 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="hello">Hello World, GoogSMS</string>
|
||||
<string name="app_name">GoogSMS</string>
|
||||
<string name="main_query_lbl_txt">Query:</string>
|
||||
<string name="main_type_lbl_txt">Type:</string>
|
||||
<string name="main_send_btn_txt">Send via SMS</string>
|
||||
<string name="main_sms_sent_txt">Your message was sent.</string>
|
||||
<string name="main_query_err_txt">Please enter a query...</string>
|
||||
<string name="main_location_err_txt">Please set your location...</string>
|
||||
<string name="default_google_sms">466453</string>
|
||||
<string name="about_txt">© 2008-10 Erik C. Thauvin\nAll Rights Reserved\n\nerik@thauvin.net\n\nhttp://mobile.thauvin.net/</string>
|
||||
<string name="about_menu_txt">About</string>
|
||||
<string name="prefs_menu_txt">Preferences</string>
|
||||
<string name="alert_dialog_ok">OK</string>
|
||||
<string name="prefs_dialog_title">Preferences</string>
|
||||
<string name="prefs_location_dialog_title">Set Your Location...</string>
|
||||
<string name="prefs_location_title">Location</string>
|
||||
<string name="prefs_location_summary">Your current city and state or zip.</string>
|
||||
<string name="prefs_location_hint">e.g.: san francisco ca or 94123</string>
|
||||
<string name="prefs_sms_dialog_title">Set SMS Number...</string>
|
||||
<string name="prefs_sms_title">Google SMS</string>
|
||||
<string name="prefs_sms_summary">The short code or number of the Google SMS service.</string>
|
||||
<string name="prefs_sms_hint">e.g.: 466453</string>
|
||||
<string name="prefs_key_sms">prefs_sms</string>
|
||||
<string name="prefs_key_loc">prefs_loc</string>
|
||||
</resources>
|
||||
|
||||
<string name="app_name">GoogSMS</string>
|
||||
<string name="main_query_lbl_txt">Query:</string>
|
||||
<string name="main_type_lbl_txt">Type:</string>
|
||||
<string name="main_send_btn_txt">Send via SMS</string>
|
||||
<string name="main_sms_sent_txt">Your message was sent.</string>
|
||||
<string name="main_query_err_txt">Please enter a query!</string>
|
||||
<string name="main_location_err_txt">Please set your location…</string>
|
||||
<string name="default_google_sms">466453</string>
|
||||
<string name="about_txt">© 2008–12 Erik C. Thauvin\nAll Rights Reserved\n\nerik@thauvin.net\nhttp://m.thauvin.net/android/</string>
|
||||
<string name="about_menu_txt">About</string>
|
||||
<string name="prefs_menu_txt">Preferences</string>
|
||||
<string name="alert_dialog_ok">OK</string>
|
||||
<string name="prefs_dialog_title">Preferences</string>
|
||||
<string name="prefs_location_dialog_title">Set Your Location…</string>
|
||||
<string name="prefs_location_title">Location</string>
|
||||
<string name="prefs_location_summary">Your current city and state or zip.</string>
|
||||
<string name="prefs_location_hint">e.g.: san francisco ca or 94123</string>
|
||||
<string name="prefs_sms_dialog_title">Set SMS Number…</string>
|
||||
<string name="prefs_sms_title">Google SMS</string>
|
||||
<string name="prefs_sms_summary">The short code or number of the Google SMS service.</string>
|
||||
<string name="prefs_sms_hint">e.g.: 466453</string>
|
||||
<string name="prefs_key_sms">prefs_sms</string>
|
||||
<string name="prefs_key_loc">prefs_loc</string>
|
||||
|
||||
</resources>
|
Loading…
Add table
Add a link
Reference in a new issue