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:
@@ -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