Add Weather Provider Dialog

This commit is contained in:
Tommaso Berlose
2017-10-16 00:38:24 +02:00
parent 4e7fd95fcf
commit 42dbe7e235
8 changed files with 82 additions and 2 deletions

View File

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="start"
android:id="@+id/title"
style="@style/AnotherWidget.Main.Title"
android:textSize="20sp"
android:textColor="@android:color/primary_text_light"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@android:color/primary_text_light"
style="@style/AnotherWidget.Main.Subtitle"
android:textSize="18sp"
android:layout_marginTop="16dp"
android:gravity="start"
android:id="@+id/text"/>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginTop="16dp"
android:gravity="center_vertical"
android:layout_gravity="end">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/colorAccent"
style="@style/AnotherWidget.Settings.Title"
android:textAllCaps="true"
android:layout_gravity="end"
android:id="@+id/action_close"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:layout_marginBottom="8dp"
android:text="@android:string/ok"/>
</LinearLayout>
</LinearLayout>