WeatherInformation: app activity, improvements
authorGustavo Martin Morcuende <gu.martinm@gmail.com>
Tue, 4 Nov 2014 03:02:57 +0000 (04:02 +0100)
committerGustavo Martin Morcuende <gu.martinm@gmail.com>
Tue, 4 Nov 2014 03:02:57 +0000 (04:02 +0100)
Android/WeatherInformation/app/src/main/res/layout/weather_about.xml
Android/WeatherInformation/app/src/main/res/values/strings.xml

index 272ec84..0c0d0b0 100644 (file)
@@ -24,7 +24,8 @@
             android:textColor="?android:attr/colorForeground"
             android:padding="5dp"
             android:layout_gravity="start" />
-        <View style="@style/Divider"/>
+        <View style="@style/Divider"
+            android:layout_height="2dp"/>
 
         <TextView
             android:layout_width="wrap_content"
@@ -33,6 +34,7 @@
             android:text="@string/weather_about_application_version"
             android:padding="20dp"
             android:layout_gravity="start" />
+        <View style="@style/Divider"/>
 
         <TextView
             android:layout_width="fill_parent"
@@ -42,7 +44,9 @@
             android:padding="20dp"
             android:layout_gravity="start"
             android:clickable="true"
+            android:background="?android:attr/selectableItemBackground"
             android:onClick="onClickLegalInformation"/>
+        <View style="@style/Divider"/>
 
         <TextView
             android:layout_width="fill_parent"
@@ -52,6 +56,7 @@
             android:padding="20dp"
             android:layout_gravity="start"
             android:clickable="true"
+            android:background="?android:attr/selectableItemBackground"
             android:onClick="onClickSourceCode"/>
 
         <TextView
@@ -62,7 +67,8 @@
             android:textColor="?android:attr/colorForeground"
             android:padding="5dp"
             android:layout_gravity="start" />
-        <View style="@style/Divider"/>
+        <View style="@style/Divider"
+            android:layout_height="2dp"/>
 
         <TextView
             android:layout_width="fill_parent"
@@ -72,6 +78,7 @@
             android:padding="20dp"
             android:layout_gravity="start"
             android:clickable="true"
+            android:background="?android:attr/selectableItemBackground"
             android:onClick="onClickRemoteData"/>
 
         <TextView
@@ -82,7 +89,8 @@
             android:textColor="?android:attr/colorForeground"
             android:padding="5dp"
             android:layout_gravity="start" />
-        <View style="@style/Divider"/>
+        <View style="@style/Divider"
+            android:layout_height="2dp"/>
 
         <TextView
             android:layout_width="wrap_content"
@@ -91,6 +99,7 @@
             android:text="@string/weather_about_application_developer_name"
             android:padding="20dp"
             android:layout_gravity="start" />
+        <View style="@style/Divider"/>
 
         <TextView
             android:layout_width="fill_parent"
             android:padding="20dp"
             android:layout_gravity="start"
             android:clickable="true"
+            android:background="?android:attr/selectableItemBackground"
             android:onClick="onClickMyWeb"/>
+        <View style="@style/Divider"/>
     </LinearLayout>
 </ScrollView>
\ No newline at end of file
index f1fec65..79a0615 100644 (file)
@@ -83,7 +83,7 @@
     <string name="weather_about_application_version">Version 1.0</string>
     <string name="weather_about_application_legal">Legal information</string>
     <string name="weather_about_application_source_code">Source code</string>
-    <string name="weather_about_application_remote_data">REMOTE DATA</string>
+    <string name="weather_about_application_remote_data">WEATHER DATA</string>
     <string name="weather_about_application_remote_data_openweathermap">OpenWeatherMap</string>
     <string name="weather_about_application_developer">DEVELOPER</string>
     <string name="weather_about_application_developer_name">Gustavo Martin Morcuende</string>