diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 3e36ca1..2548ff6 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -57,13 +57,14 @@ android:configChanges="keyboardHidden|orientation" > - - + android:name=".restaurant.TRCardManagerRestaurantMapsActivity"> + + + + \ No newline at end of file diff --git a/res/drawable-ldpi/android_maps.png b/res/drawable-ldpi/android_maps.png index e3dcbf6..eba8b65 100644 Binary files a/res/drawable-ldpi/android_maps.png and b/res/drawable-ldpi/android_maps.png differ diff --git a/res/drawable-xhdpi/android_maps.png b/res/drawable-xhdpi/android_maps.png new file mode 100644 index 0000000..37cb116 Binary files /dev/null and b/res/drawable-xhdpi/android_maps.png differ diff --git a/res/drawable/select_restaurant_border_selected.xml b/res/drawable/select_restaurant_border_selected.xml new file mode 100644 index 0000000..eeb3952 --- /dev/null +++ b/res/drawable/select_restaurant_border_selected.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout/restaurant_data.xml b/res/layout/restaurant_data.xml index 9c35d61..824a9e6 100644 --- a/res/layout/restaurant_data.xml +++ b/res/layout/restaurant_data.xml @@ -4,7 +4,8 @@ android:layout_height="wrap_content" android:padding="0sp" android:layout_margin="0sp" - android:background="#FFFFFF"> + android:background="@android:color/white" + > @@ -69,9 +70,9 @@ android:layout_alignParentTop="true" android:paddingBottom="2sp" android:paddingLeft="2sp" - android:paddingRight="4sp" - android:paddingTop="0sp" - android:text="X" + android:paddingRight="8sp" + android:paddingTop="4sp" + android:background="@android:drawable/btn_dialog" android:textColor="#2A4678" android:textStyle="bold" android:clickable="true"/> @@ -84,7 +85,7 @@ android:layout_below="@id/restaurant_data_info_layout" android:gravity="center"> - + android:typeface="sans" /--> + + + + + + + + + + \ No newline at end of file diff --git a/res/layout/restaurants.xml b/res/layout/restaurants.xml index 815842d..16b8c69 100644 --- a/res/layout/restaurants.xml +++ b/res/layout/restaurants.xml @@ -61,7 +61,8 @@ android:layout_marginLeft="40dip" android:layout_marginRight="40dip" android:clickable="true" - android:onClick="findInLocation"> + android:onClick="findInLocation" + > - + + \ No newline at end of file diff --git a/res/layout/restaurants_maps_layout.xml b/res/layout/restaurants_maps_layout.xml index ae55834..6883ed2 100644 --- a/res/layout/restaurants_maps_layout.xml +++ b/res/layout/restaurants_maps_layout.xml @@ -1,8 +1,11 @@ - + android:layout_height="match_parent" + android:background="@android:color/white"> + + + - + + diff --git a/res/menu/activity_trcard_manager_restaurant_maps.xml b/res/menu/activity_trcard_manager_restaurant_maps.xml deleted file mode 100644 index cfc10fd..0000000 --- a/res/menu/activity_trcard_manager_restaurant_maps.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - diff --git a/res/values-es/resources.xml b/res/values-es/resources.xml index 99a6051..0d1efd1 100644 --- a/res/values-es/resources.xml +++ b/res/values-es/resources.xml @@ -2,5 +2,5 @@ a14fe7418ac35e6 - 353918050624655 + 003bb6b6e00c957f \ No newline at end of file diff --git a/res/values-es/strings.xml b/res/values-es/strings.xml index 3b09717..e503754 100644 --- a/res/values-es/strings.xml +++ b/res/values-es/strings.xml @@ -129,6 +129,7 @@ Calle, CP, Ciudad,… Nombre de Restaurante Buscar + Debes introducir una dirección GPS El GPS parece estar deshabilitado, ¿deseas habilitarlo? Si @@ -149,9 +150,17 @@ No se han encontrado restaurantes i ¿Quieres que te lleve con Waze? + Quieres llegar con Google Maps? + Ver más información Ver más restaurantes + + Toca para ver en Mapa + + + Toca para ver en modo lista + \ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index 0c1a69f..9cf9e3f 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -125,6 +125,7 @@ Street,CP,City,… Restaurant Name Search + You must type a direction GPS Your GPS seems to be disabled, do you want to enable it? Yes @@ -145,11 +146,16 @@ No restaurants found i Do you want go with Waze? + Do you want go with Google Maps? + View More Info Show more restaurants - Hello world! - Settings - TRCardManagerRestaurantMaps + + + Touch to view in map + + + Touch to view in list mode \ No newline at end of file diff --git a/src/com/trcardmanager/about/TRCardManagerAboutActivity.java b/src/com/trcardmanager/about/TRCardManagerAboutActivity.java index 0383da5..c964e07 100644 --- a/src/com/trcardmanager/about/TRCardManagerAboutActivity.java +++ b/src/com/trcardmanager/about/TRCardManagerAboutActivity.java @@ -5,15 +5,18 @@ import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.pm.PackageManager.NameNotFoundException; +import android.graphics.Color; import android.net.Uri; import android.os.Bundle; import android.util.Log; import android.view.View; +import android.widget.Button; import android.widget.TextView; import android.widget.Toast; import com.trcardmanager.R; import com.trcardmanager.application.TRCardManagerApplication; +import com.trcardmanager.listener.TouchElementsListener; /** * @@ -34,6 +37,8 @@ protected void onCreate(Bundle savedInstanceState) { setContentView(R.layout.about_layout); loadAppVersion(); TRCardManagerApplication.setActualActivity(this); + Button b = (Button)findViewById(R.id.about_button_opinon); + b.setOnTouchListener(new TouchElementsListener