diff options
Diffstat (limited to 'app/src/main/res/layout/activity_updater.xml')
-rw-r--r-- | app/src/main/res/layout/activity_updater.xml | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_updater.xml b/app/src/main/res/layout/activity_updater.xml new file mode 100644 index 0000000..b287293 --- /dev/null +++ b/app/src/main/res/layout/activity_updater.xml @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:paddingBottom="@dimen/activity_vertical_margin" + android:paddingLeft="@dimen/activity_horizontal_margin" + android:paddingRight="@dimen/activity_horizontal_margin" + android:paddingTop="@dimen/activity_vertical_margin" + tools:context="org.bienvenidoainternet.baiparser.UpdaterActivity"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceMedium" + android:text="Versión actual:" + android:id="@+id/txtCurrentVersion" + android:layout_alignParentTop="true" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" /> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceMedium" + android:text="Última versión:" + android:id="@+id/txtLastVersion" + android:layout_below="@+id/txtCurrentVersion" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" /> + + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Descargar última versión" + android:id="@+id/btnDownloadLastVersion" + android:layout_alignParentBottom="true" + android:layout_centerHorizontal="true" /> + + <ProgressBar + style="?android:attr/progressBarStyleHorizontal" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:id="@+id/barUpdateProgress" + android:layout_above="@+id/btnDownloadLastVersion" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" /> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceSmall" + android:text="" + android:id="@+id/txtChangelog" + android:layout_below="@+id/txtLastVersion" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" + android:layout_alignParentRight="true" + android:layout_alignParentEnd="true" + android:layout_marginTop="5dp" + android:typeface="monospace" + android:layout_above="@+id/barUpdateProgress" + android:layout_marginBottom="5dp" /> +</RelativeLayout> |