| <?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2013 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| xmlns:app="http://schemas.android.com/apk/res-auto"> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical"> |
| |
| <androidx.appcompat.widget.AppCompatButton |
| android:id="@+id/open_system_routes" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:text="@string/settings_activity_show_system_routes" /> |
| |
| <Button |
| android:id="@+id/go_to_route_listing_preference_button" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:text="Route listing preference"/> |
| |
| <RelativeLayout |
| android:layout_width="match_parent" |
| android:layout_height="50dp" |
| android:layout_margin="12dp" |
| android:padding="4dp"> |
| |
| <Switch |
| android:id="@+id/show_this_phone_switch" |
| android:layout_width="wrap_content" |
| android:layout_height="match_parent" |
| android:layout_alignParentEnd="true" |
| android:layout_alignParentRight="true" |
| android:layout_centerVertical="true" /> |
| |
| <TextView |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_alignParentLeft="true" |
| android:layout_alignParentStart="true" |
| android:layout_centerVertical="true" |
| android:gravity="center" |
| android:text="Transfer to local Enabled" /> |
| |
| </RelativeLayout> |
| |
| <RelativeLayout |
| android:layout_width="match_parent" |
| android:layout_height="50dp" |
| android:layout_margin="12dp" |
| android:padding="4dp"> |
| |
| <Switch |
| android:id="@+id/dynamic_routing_switch" |
| android:layout_width="wrap_content" |
| android:layout_height="match_parent" |
| android:layout_alignParentEnd="true" |
| android:layout_alignParentRight="true" |
| android:layout_centerVertical="true" /> |
| |
| <TextView |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_alignParentLeft="true" |
| android:layout_alignParentStart="true" |
| android:layout_centerVertical="true" |
| android:gravity="center" |
| android:text="Enable dynamic routing (For next routes only)" /> |
| |
| </RelativeLayout> |
| |
| <RelativeLayout |
| android:layout_width="match_parent" |
| android:layout_height="50dp" |
| android:layout_margin="12dp" |
| android:padding="4dp"> |
| |
| <Spinner |
| android:id="@+id/dialog_spinner" |
| android:layout_width="wrap_content" |
| android:layout_height="match_parent" |
| android:layout_alignParentEnd="true" |
| android:layout_alignParentRight="true" |
| android:layout_centerVertical="true" /> |
| |
| <TextView |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_alignParentLeft="true" |
| android:layout_alignParentStart="true" |
| android:layout_centerVertical="true" |
| android:gravity="center" |
| android:text="Dialog Type" /> |
| |
| </RelativeLayout> |
| |
| <androidx.recyclerview.widget.RecyclerView |
| android:id="@+id/routes_recycler_view" |
| android:layout_width="match_parent" |
| android:layout_height="0dp" |
| android:layout_weight="1" /> |
| |
| </LinearLayout> |
| |
| <com.google.android.material.floatingactionbutton.FloatingActionButton |
| android:id="@+id/new_route_button" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_alignParentBottom="true" |
| android:layout_alignParentEnd="true" |
| android:layout_alignParentRight="true" |
| android:layout_margin="20dp" |
| android:padding="0dp" |
| app:srcCompat="@drawable/ic_add" /> |
| |
| </RelativeLayout> |