Abit/app/src/main/res/layout/dialog_full_node.xml

61 lines
2.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2016 Christian Basler
~
~ 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.
-->
<android.support.constraint.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="336dp"
android:layout_height="wrap_content">
<TextView
android:id="@+id/description"
android:layout_width="320dp"
android:layout_height="wrap_content"
android:padding="24dp"
android:text="@string/full_node_warning"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:layout_editor_absoluteX="0dp"/>
<Button
android:id="@+id/ok"
style="?android:attr/borderlessButtonStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="8dp"
android:text="@string/startup_node"
android:textColor="@color/colorAccent"
app:layout_constraintEnd_toEndOf="@+id/description"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintTop_toBottomOf="@+id/description"
tools:layout_editor_absoluteX="184dp"/>
<Button
android:id="@+id/dismiss"
style="?android:attr/borderlessButtonStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="8dp"
android:text="@string/cancel"
android:textColor="@color/colorAccent"
app:layout_constraintEnd_toStartOf="@+id/ok"
app:layout_constraintTop_toBottomOf="@+id/description"
tools:ignore="RtlSymmetry"
tools:layout_editor_absoluteX="87dp"/>
</android.support.constraint.ConstraintLayout>