mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-29 06:28:45 +03:00
Using resource dimensions for margins
This commit is contained in:
parent
c18a9230e5
commit
265dd4a0c3
2 changed files with 11 additions and 9 deletions
|
@ -67,4 +67,6 @@
|
||||||
<dimen name="location_sharing_locate_button_margin_vertical">16dp</dimen>
|
<dimen name="location_sharing_locate_button_margin_vertical">16dp</dimen>
|
||||||
<dimen name="location_sharing_locate_button_margin_horizontal">12dp</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_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>
|
</resources>
|
||||||
|
|
|
@ -26,28 +26,28 @@
|
||||||
android:id="@+id/liveLocShareChooseDurationOption1"
|
android:id="@+id/liveLocShareChooseDurationOption1"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginHorizontal="12dp"
|
android:layout_marginHorizontal="@dimen/location_sharing_live_duration_choice_margin_horizontal"
|
||||||
android:paddingHorizontal="12dp"
|
|
||||||
android:paddingVertical="22dp"
|
|
||||||
android:checked="true"
|
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" />
|
android:text="@string/location_share_live_select_duration_option_1" />
|
||||||
|
|
||||||
<RadioButton
|
<RadioButton
|
||||||
android:id="@+id/liveLocShareChooseDurationOption2"
|
android:id="@+id/liveLocShareChooseDurationOption2"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginHorizontal="12dp"
|
android:layout_marginHorizontal="@dimen/location_sharing_live_duration_choice_margin_horizontal"
|
||||||
android:paddingHorizontal="12dp"
|
android:paddingHorizontal="@dimen/location_sharing_live_duration_choice_margin_horizontal"
|
||||||
android:paddingVertical="22dp"
|
android:paddingVertical="@dimen/location_sharing_live_duration_choice_margin_vertical"
|
||||||
android:text="@string/location_share_live_select_duration_option_2" />
|
android:text="@string/location_share_live_select_duration_option_2" />
|
||||||
|
|
||||||
<RadioButton
|
<RadioButton
|
||||||
android:id="@+id/liveLocShareChooseDurationOption3"
|
android:id="@+id/liveLocShareChooseDurationOption3"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginHorizontal="12dp"
|
android:layout_marginHorizontal="@dimen/location_sharing_live_duration_choice_margin_horizontal"
|
||||||
android:paddingHorizontal="12dp"
|
android:paddingHorizontal="@dimen/location_sharing_live_duration_choice_margin_horizontal"
|
||||||
android:paddingVertical="22dp"
|
android:paddingVertical="@dimen/location_sharing_live_duration_choice_margin_vertical"
|
||||||
android:text="@string/location_share_live_select_duration_option_3" />
|
android:text="@string/location_share_live_select_duration_option_3" />
|
||||||
</RadioGroup>
|
</RadioGroup>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue