mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
Using resource dimensions for margins
This commit is contained in:
parent
c18a9230e5
commit
265dd4a0c3
@ -67,4 +67,6 @@
|
||||
<dimen name="location_sharing_locate_button_margin_vertical">16dp</dimen>
|
||||
<dimen name="location_sharing_locate_button_margin_horizontal">12dp</dimen>
|
||||
<dimen name="location_sharing_compass_button_margin_horizontal">8dp</dimen>
|
||||
<dimen name="location_sharing_live_duration_choice_margin_horizontal">12dp</dimen>
|
||||
<dimen name="location_sharing_live_duration_choice_margin_vertical">22dp</dimen>
|
||||
</resources>
|
||||
|
@ -26,28 +26,28 @@
|
||||
android:id="@+id/liveLocShareChooseDurationOption1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="12dp"
|
||||
android:paddingHorizontal="12dp"
|
||||
android:paddingVertical="22dp"
|
||||
android:layout_marginHorizontal="@dimen/location_sharing_live_duration_choice_margin_horizontal"
|
||||
android:checked="true"
|
||||
android:paddingHorizontal="@dimen/location_sharing_live_duration_choice_margin_horizontal"
|
||||
android:paddingVertical="@dimen/location_sharing_live_duration_choice_margin_vertical"
|
||||
android:text="@string/location_share_live_select_duration_option_1" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/liveLocShareChooseDurationOption2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="12dp"
|
||||
android:paddingHorizontal="12dp"
|
||||
android:paddingVertical="22dp"
|
||||
android:layout_marginHorizontal="@dimen/location_sharing_live_duration_choice_margin_horizontal"
|
||||
android:paddingHorizontal="@dimen/location_sharing_live_duration_choice_margin_horizontal"
|
||||
android:paddingVertical="@dimen/location_sharing_live_duration_choice_margin_vertical"
|
||||
android:text="@string/location_share_live_select_duration_option_2" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/liveLocShareChooseDurationOption3"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="12dp"
|
||||
android:paddingHorizontal="12dp"
|
||||
android:paddingVertical="22dp"
|
||||
android:layout_marginHorizontal="@dimen/location_sharing_live_duration_choice_margin_horizontal"
|
||||
android:paddingHorizontal="@dimen/location_sharing_live_duration_choice_margin_horizontal"
|
||||
android:paddingVertical="@dimen/location_sharing_live_duration_choice_margin_vertical"
|
||||
android:text="@string/location_share_live_select_duration_option_3" />
|
||||
</RadioGroup>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user