OsmAnd/OsmAnd/res/layout/save_directions_dialog.xml
2020-02-24 18:37:15 +03:00

61 lines
2.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
android:layout_width="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent"
android:orientation="vertical">
<TextView
android:text="@string/file_with_name_already_exist"
android:id="@+id/DuplicateFileName"
android:layout_marginLeft="5dp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:visibility="gone"
android:layout_marginStart="5dp" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginTop="3dp">
<TextView
android:text="@string/filename_input"
android:layout_marginLeft="5dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="5dp" />
<EditText
android:id="@+id/FileNameEdit"
android:layout_marginLeft="5dp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginStart="5dp" />
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal"
android:gravity="bottom|center"
android:layout_marginTop="5dp">
<Button
android:layout_width="125dp"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:text="@string/shared_string_cancel"
android:textColor="?attr/contextMenuButtonColor"
android:id="@+id/Cancel"/>
<Button
android:layout_width="125dp"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:text="@string/shared_string_save"
android:textColor="?attr/contextMenuButtonColor"
android:id="@+id/Save"/>
</LinearLayout>
</LinearLayout>