forked from upstream-mirrors/OpenTracks
Support multiple lines on Send to Google CheckBox and RadioButtons
- Center align the CheckBox to the ImageView - Note that to support line wrapping inside a TableLayout, need to set the layout_width to 0dp.
This commit is contained in:
@@ -1129,7 +1129,6 @@ limitations under the License.
|
||||
translation_description="When sending a track to Google Maps, the radio option to use an
|
||||
existing map as opposed to create a new map.
|
||||
|
||||
Character limit: ~21 (1 line)
|
||||
Screenshot: send_google_choose_service.png">
|
||||
Use existing map
|
||||
</string>
|
||||
@@ -1151,7 +1150,6 @@ limitations under the License.
|
||||
translation_description="When sending a track to Google Maps, the radio option to create a
|
||||
new map as opposed to use an existing map.
|
||||
|
||||
Character limit: ~21 (1 line)
|
||||
Screenshot: send_google_choose_service.png">
|
||||
Create new map
|
||||
</string>
|
||||
|
||||
@@ -107,6 +107,28 @@ limitations under the License.
|
||||
<item name="android:layout_width">wrap_content</item>
|
||||
</style>
|
||||
|
||||
<!-- Send Google CheckBox -->
|
||||
<style name="SendGoogleCheckBox">
|
||||
<item name="android:checked">true</item>
|
||||
<item name="android:layout_height">fill_parent</item>
|
||||
<item name="android:layout_marginLeft">10dp</item>
|
||||
<item name="android:layout_width">0dp</item>
|
||||
<item name="android:textSize">18sp</item>
|
||||
</style>
|
||||
|
||||
<!-- Send Google ImageView -->
|
||||
<style name="SendGoogleImageView">
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:layout_width">wrap_content</item>
|
||||
</style>
|
||||
|
||||
<!-- Send Google RadioButton -->
|
||||
<style name="SendGoogleRadioButton">
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:layout_width">wrap_content</item>
|
||||
<item name="android:textSize">18sp</item>
|
||||
</style>
|
||||
|
||||
<style name="SensorStateLabel">
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:layout_width">fill_parent</item>
|
||||
|
||||
Reference in New Issue
Block a user