forked from upstream-mirrors/OpenTracks
Several minor fixes
- for TrackEdit and MarkerEdit, use windowSoftInputMode=stateHidden - improve layout for the map in MapFragment. - fix text size for API level < 14. - fix bug when inserting a statistics marker with a modified name
This commit is contained in:
@@ -21,6 +21,9 @@ limitations under the License.
|
||||
<color name="red">#FFFF0000</color>
|
||||
<color name="white">#FFFFFFFF</color>
|
||||
|
||||
<!-- holo_orange_dark -->
|
||||
<color name="background_warning">#FFFF8800</color>
|
||||
|
||||
<!-- Chart colors by series. -->
|
||||
<!-- Green and a transparent green -->
|
||||
<color name="elevation_border">#FF339933</color>
|
||||
|
||||
@@ -695,8 +695,8 @@ limitations under the License.
|
||||
<string name="gps_need_to_enable"
|
||||
translation_description="In the main view, the message on the top asking the user to enable
|
||||
GPS.">
|
||||
Please tap here to go to \'Location & security\' settings & check
|
||||
\'Use GPS satellites\'. Press the back button to return.
|
||||
Tap here to go to \'Location services\' settings & check \'GPS satellites\'. Press the back
|
||||
button to return.
|
||||
</string>
|
||||
<string name="gps_not_found"
|
||||
translation_description="On application start, message when there is no GPS on the device.">
|
||||
|
||||
@@ -79,6 +79,7 @@ limitations under the License.
|
||||
<item name="android:background">@android:color/background_light</item>
|
||||
<item name="android:gravity">right</item>
|
||||
<item name="android:layout_width">fill_parent</item>
|
||||
<item name="android:paddingRight">8dp</item>
|
||||
<item name="android:textColor">@android:color/primary_text_light</item>
|
||||
</style>
|
||||
<!-- The style for the stats label -->
|
||||
@@ -97,12 +98,14 @@ limitations under the License.
|
||||
<item name="android:gravity">right</item>
|
||||
<item name="android:layout_weight">1</item>
|
||||
<item name="android:layout_width">0dp</item>
|
||||
<item name="android:paddingRight">8dp</item>
|
||||
<item name="android:textColor">@android:color/primary_text_light</item>
|
||||
</style>
|
||||
<!-- The style for large size text -->
|
||||
<style name="TextLarge" parent="@android:style/TextAppearance.DeviceDefault.Large">
|
||||
<style name="TextLarge">
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:layout_width">wrap_content</item>
|
||||
<item name="android:textSize">22sp</item>
|
||||
</style>
|
||||
<!-- The style for large size text with an icon on the left -->
|
||||
<style name="TextLarge.WithIcon">
|
||||
@@ -110,9 +113,10 @@ limitations under the License.
|
||||
<item name="android:gravity">center_vertical</item>
|
||||
</style>
|
||||
<!-- The style for medium size text -->
|
||||
<style name="TextMedium" parent="@android:style/TextAppearance.DeviceDefault.Medium">
|
||||
<style name="TextMedium">
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:layout_width">wrap_content</item>
|
||||
<item name="android:textSize">18sp</item>
|
||||
</style>
|
||||
<!-- The style for medium size text with an icon on the left -->
|
||||
<style name="TextMedium.WithIcon">
|
||||
@@ -120,9 +124,11 @@ limitations under the License.
|
||||
<item name="android:gravity">center_vertical</item>
|
||||
</style>
|
||||
<!-- The style for large size text -->
|
||||
<style name="TextSmall" parent="@android:style/TextAppearance.DeviceDefault.Small">
|
||||
<style name="TextSmall">
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:layout_width">wrap_content</item>
|
||||
<item name="android:textColor">?android:textColorSecondary</item>
|
||||
<item name="android:textSize">14sp</item>
|
||||
</style>
|
||||
<!-- Theme selector -->
|
||||
<style name="ThemeSelector" parent="android:Theme" />
|
||||
|
||||
Reference in New Issue
Block a user