Replace spaces with tabs

This commit is contained in:
Alexander Sytnyk 2018-02-15 17:33:20 +02:00
parent 8b79747599
commit cdac1a0dc1

View file

@ -1,329 +1,329 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout <LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
tools:background="@color/ctx_menu_bg_dark"> tools:background="@color/ctx_menu_bg_dark">
<!-- Latitude row: --> <!-- Latitude row: -->
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical"> android:gravity="center_vertical">
<LinearLayout <LinearLayout
android:id="@+id/lat_side_of_the_world_btn" android:id="@+id/lat_side_of_the_world_btn"
android:layout_width="@dimen/side_of_the_world_button_size" android:layout_width="@dimen/side_of_the_world_button_size"
android:layout_height="@dimen/side_of_the_world_button_size" android:layout_height="@dimen/side_of_the_world_button_size"
android:layout_marginLeft="@dimen/content_padding" android:layout_marginLeft="@dimen/content_padding"
android:layout_marginRight="@dimen/content_padding" android:layout_marginRight="@dimen/content_padding"
android:orientation="vertical" android:orientation="vertical"
tools:background="@drawable/context_menu_controller_bg_dark"> tools:background="@drawable/context_menu_controller_bg_dark">
<ImageView <ImageView
android:id="@+id/south_side_iv" android:id="@+id/south_side_iv"
android:layout_width="24dp" android:layout_width="24dp"
android:layout_height="24dp" android:layout_height="24dp"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:layout_marginTop="-12dp" android:layout_marginTop="-12dp"
android:visibility="gone" android:visibility="gone"
tools:src="@drawable/ic_action_coordinates_longitude" tools:src="@drawable/ic_action_coordinates_longitude"
tools:tint="@color/dashboard_blue"/> tools:tint="@color/dashboard_blue"/>
<TextView <TextView
android:id="@+id/lat_side_of_the_world_tv" android:id="@+id/lat_side_of_the_world_tv"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="1" android:layout_weight="1"
android:gravity="center" android:gravity="center"
android:textColor="@color/dashboard_blue" android:textColor="@color/dashboard_blue"
android:textSize="@dimen/default_list_text_size" android:textSize="@dimen/default_list_text_size"
android:textStyle="bold" android:textStyle="bold"
tools:text="N"/> tools:text="N"/>
<ImageView <ImageView
android:id="@+id/north_side_iv" android:id="@+id/north_side_iv"
android:layout_width="24dp" android:layout_width="24dp"
android:layout_height="24dp" android:layout_height="24dp"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:layout_marginBottom="-12dp" android:layout_marginBottom="-12dp"
tools:src="@drawable/ic_action_coordinates_longitude" tools:src="@drawable/ic_action_coordinates_longitude"
tools:tint="@color/dashboard_blue"/> tools:tint="@color/dashboard_blue"/>
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:orientation="vertical"> android:orientation="vertical">
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:ellipsize="end" android:ellipsize="end"
android:maxLines="1" android:maxLines="1"
android:text="@string/navigate_point_latitude" android:text="@string/navigate_point_latitude"
android:textColor="@color/ctx_menu_bottom_view_secondary_text_color_light" android:textColor="@color/ctx_menu_bottom_view_secondary_text_color_light"
android:textSize="@dimen/default_sub_text_size"/> android:textSize="@dimen/default_sub_text_size"/>
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<EditText <EditText
android:id="@+id/lat_first_input_et" android:id="@+id/lat_first_input_et"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:hint="xx" android:hint="xx"
android:imeOptions="actionNext" android:imeOptions="actionNext"
android:inputType="number" android:inputType="number"
android:maxLines="1" android:maxLines="1"
tools:maxLength="2"/> tools:maxLength="2"/>
<TextView <TextView
android:id="@+id/lat_first_separator_tv" android:id="@+id/lat_first_separator_tv"
android:layout_width="@dimen/context_menu_padding_margin_large" android:layout_width="@dimen/context_menu_padding_margin_large"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:text="°" android:text="°"
android:textColor="@color/ctx_menu_bottom_view_secondary_text_color_light" android:textColor="@color/ctx_menu_bottom_view_secondary_text_color_light"
android:textSize="@dimen/dialog_header_text_size"/> android:textSize="@dimen/dialog_header_text_size"/>
<EditText <EditText
android:id="@+id/lat_second_input_et" android:id="@+id/lat_second_input_et"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:hint="xx" android:hint="xx"
android:imeOptions="actionNext" android:imeOptions="actionNext"
android:inputType="number" android:inputType="number"
android:maxLines="1" android:maxLines="1"
tools:maxLength="2"/> tools:maxLength="2"/>
<TextView <TextView
android:id="@+id/lat_second_separator_tv" android:id="@+id/lat_second_separator_tv"
android:layout_width="@dimen/context_menu_padding_margin_large" android:layout_width="@dimen/context_menu_padding_margin_large"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:text="." android:text="."
android:textColor="@color/ctx_menu_bottom_view_secondary_text_color_light" android:textColor="@color/ctx_menu_bottom_view_secondary_text_color_light"
android:textSize="@dimen/dialog_header_text_size"/> android:textSize="@dimen/dialog_header_text_size"/>
<EditText <EditText
android:id="@+id/lat_thirst_input_et" android:id="@+id/lat_thirst_input_et"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:hint="xxxx" android:hint="xxxx"
android:imeOptions="actionNext" android:imeOptions="actionNext"
android:inputType="number" android:inputType="number"
android:maxLines="1" android:maxLines="1"
tools:maxLength="4"/> tools:maxLength="4"/>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<ImageView <ImageView
android:id="@+id/lat_backspace_btn" android:id="@+id/lat_backspace_btn"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/text_margin_small" android:layout_marginEnd="@dimen/text_margin_small"
android:layout_marginLeft="@dimen/context_menu_padding_margin_large" android:layout_marginLeft="@dimen/context_menu_padding_margin_large"
android:layout_marginRight="@dimen/text_margin_small" android:layout_marginRight="@dimen/text_margin_small"
android:layout_marginStart="@dimen/context_menu_padding_margin_large" android:layout_marginStart="@dimen/context_menu_padding_margin_large"
android:padding="@dimen/content_padding_small" android:padding="@dimen/content_padding_small"
tools:src="@drawable/ic_keyboard_backspace"/> tools:src="@drawable/ic_keyboard_backspace"/>
<View <View
android:id="@+id/lat_end_padding" android:id="@+id/lat_end_padding"
android:layout_width="@dimen/content_padding" android:layout_width="@dimen/content_padding"
android:layout_height="match_parent" android:layout_height="match_parent"
android:visibility="gone"/> android:visibility="gone"/>
</LinearLayout> </LinearLayout>
<!-- Longitude row: --> <!-- Longitude row: -->
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="@dimen/content_padding_small" android:layout_marginTop="@dimen/content_padding_small"
android:gravity="center_vertical"> android:gravity="center_vertical">
<LinearLayout <LinearLayout
android:id="@+id/lon_side_of_the_world_btn" android:id="@+id/lon_side_of_the_world_btn"
android:layout_width="@dimen/side_of_the_world_button_size" android:layout_width="@dimen/side_of_the_world_button_size"
android:layout_height="@dimen/side_of_the_world_button_size" android:layout_height="@dimen/side_of_the_world_button_size"
android:layout_marginLeft="@dimen/content_padding" android:layout_marginLeft="@dimen/content_padding"
android:layout_marginRight="@dimen/content_padding" android:layout_marginRight="@dimen/content_padding"
tools:background="@drawable/context_menu_controller_bg_dark"> tools:background="@drawable/context_menu_controller_bg_dark">
<ImageView <ImageView
android:id="@+id/east_side_iv" android:id="@+id/east_side_iv"
android:layout_width="24dp" android:layout_width="24dp"
android:layout_height="24dp" android:layout_height="24dp"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginLeft="-12dp" android:layout_marginLeft="-12dp"
android:layout_marginStart="-12dp" android:layout_marginStart="-12dp"
android:visibility="gone" android:visibility="gone"
tools:src="@drawable/ic_action_coordinates_latitude" tools:src="@drawable/ic_action_coordinates_latitude"
tools:tint="@color/dashboard_blue"/> tools:tint="@color/dashboard_blue"/>
<TextView <TextView
android:id="@+id/lon_side_of_the_world_tv" android:id="@+id/lon_side_of_the_world_tv"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1" android:layout_weight="1"
android:gravity="center" android:gravity="center"
android:textColor="@color/dashboard_blue" android:textColor="@color/dashboard_blue"
android:textSize="@dimen/default_list_text_size" android:textSize="@dimen/default_list_text_size"
android:textStyle="bold" android:textStyle="bold"
tools:text="W"/> tools:text="W"/>
<ImageView <ImageView
android:id="@+id/west_side_iv" android:id="@+id/west_side_iv"
android:layout_width="24dp" android:layout_width="24dp"
android:layout_height="24dp" android:layout_height="24dp"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginEnd="-12dp" android:layout_marginEnd="-12dp"
android:layout_marginRight="-12dp" android:layout_marginRight="-12dp"
tools:src="@drawable/ic_action_coordinates_latitude" tools:src="@drawable/ic_action_coordinates_latitude"
tools:tint="@color/dashboard_blue"/> tools:tint="@color/dashboard_blue"/>
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:orientation="vertical"> android:orientation="vertical">
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:ellipsize="end" android:ellipsize="end"
android:maxLines="1" android:maxLines="1"
android:text="@string/navigate_point_longitude" android:text="@string/navigate_point_longitude"
android:textColor="@color/ctx_menu_bottom_view_secondary_text_color_light" android:textColor="@color/ctx_menu_bottom_view_secondary_text_color_light"
android:textSize="@dimen/default_sub_text_size"/> android:textSize="@dimen/default_sub_text_size"/>
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<EditText <EditText
android:id="@+id/lon_first_input_et" android:id="@+id/lon_first_input_et"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:hint="yy" android:hint="yy"
android:imeOptions="actionNext" android:imeOptions="actionNext"
android:inputType="number" android:inputType="number"
android:maxLines="1" android:maxLines="1"
tools:maxLength="2"/> tools:maxLength="2"/>
<TextView <TextView
android:id="@+id/lon_first_separator_tv" android:id="@+id/lon_first_separator_tv"
android:layout_width="@dimen/context_menu_padding_margin_large" android:layout_width="@dimen/context_menu_padding_margin_large"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:text="°" android:text="°"
android:textColor="@color/ctx_menu_bottom_view_secondary_text_color_light" android:textColor="@color/ctx_menu_bottom_view_secondary_text_color_light"
android:textSize="@dimen/dialog_header_text_size"/> android:textSize="@dimen/dialog_header_text_size"/>
<EditText <EditText
android:id="@+id/lon_second_input_et" android:id="@+id/lon_second_input_et"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:hint="yy" android:hint="yy"
android:imeOptions="actionNext" android:imeOptions="actionNext"
android:inputType="number" android:inputType="number"
android:maxLines="1" android:maxLines="1"
tools:maxLength="2"/> tools:maxLength="2"/>
<TextView <TextView
android:id="@+id/lon_second_separator_tv" android:id="@+id/lon_second_separator_tv"
android:layout_width="@dimen/context_menu_padding_margin_large" android:layout_width="@dimen/context_menu_padding_margin_large"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:text="." android:text="."
android:textColor="@color/ctx_menu_bottom_view_secondary_text_color_light" android:textColor="@color/ctx_menu_bottom_view_secondary_text_color_light"
android:textSize="@dimen/dialog_header_text_size"/> android:textSize="@dimen/dialog_header_text_size"/>
<EditText <EditText
android:id="@+id/lon_thirst_input_et" android:id="@+id/lon_thirst_input_et"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:hint="yyyy" android:hint="yyyy"
android:imeOptions="actionNext" android:imeOptions="actionNext"
android:inputType="number" android:inputType="number"
android:maxLines="1" android:maxLines="1"
tools:maxLength="4"/> tools:maxLength="4"/>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<ImageView <ImageView
android:id="@+id/lon_backspace_btn" android:id="@+id/lon_backspace_btn"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/text_margin_small" android:layout_marginEnd="@dimen/text_margin_small"
android:layout_marginLeft="@dimen/context_menu_padding_margin_large" android:layout_marginLeft="@dimen/context_menu_padding_margin_large"
android:layout_marginRight="@dimen/text_margin_small" android:layout_marginRight="@dimen/text_margin_small"
android:layout_marginStart="@dimen/context_menu_padding_margin_large" android:layout_marginStart="@dimen/context_menu_padding_margin_large"
android:padding="@dimen/content_padding_small" android:padding="@dimen/content_padding_small"
tools:src="@drawable/ic_keyboard_backspace"/> tools:src="@drawable/ic_keyboard_backspace"/>
<View <View
android:id="@+id/lon_end_padding" android:id="@+id/lon_end_padding"
android:layout_width="@dimen/content_padding" android:layout_width="@dimen/content_padding"
android:layout_height="match_parent" android:layout_height="match_parent"
android:visibility="gone"/> android:visibility="gone"/>
</LinearLayout> </LinearLayout>
<!-- Point name row: --> <!-- Point name row: -->
<View <View
android:id="@+id/point_name_divider" android:id="@+id/point_name_divider"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="1dp" android:layout_height="1dp"
android:layout_marginTop="@dimen/content_padding" android:layout_marginTop="@dimen/content_padding"
android:background="@color/route_info_divider_dark"/> android:background="@color/route_info_divider_dark"/>
<LinearLayout <LinearLayout
android:id="@+id/point_name_et_container" android:id="@+id/point_name_et_container"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/bottom_sheet_list_item_height" android:layout_height="@dimen/bottom_sheet_list_item_height"
tools:background="@color/route_info_bottom_view_bg_dark"> tools:background="@color/route_info_bottom_view_bg_dark">
<EditText <EditText
android:id="@+id/point_name_et" android:id="@+id/point_name_et"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginLeft="@dimen/content_padding" android:layout_marginLeft="@dimen/content_padding"
android:layout_marginStart="@dimen/content_padding" android:layout_marginStart="@dimen/content_padding"
android:layout_weight="1" android:layout_weight="1"
android:background="@null" android:background="@null"
android:hint="@string/optional_point_name" android:hint="@string/optional_point_name"
android:imeOptions="actionDone" android:imeOptions="actionDone"
android:inputType="text"/> android:inputType="text"/>
<ImageView <ImageView
android:id="@+id/point_name_keyboard_btn" android:id="@+id/point_name_keyboard_btn"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/text_margin_small" android:layout_marginEnd="@dimen/text_margin_small"
android:layout_marginLeft="@dimen/context_menu_padding_margin_large" android:layout_marginLeft="@dimen/context_menu_padding_margin_large"
android:layout_marginRight="@dimen/text_margin_small" android:layout_marginRight="@dimen/text_margin_small"
android:layout_marginStart="@dimen/context_menu_padding_margin_large" android:layout_marginStart="@dimen/context_menu_padding_margin_large"
android:padding="@dimen/content_padding_small" android:padding="@dimen/content_padding_small"
tools:src="@drawable/ic_action_keyboard"/> tools:src="@drawable/ic_action_keyboard"/>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>