diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/drawable-hdpi/ic_action_send.png | bin | 0 -> 324 bytes | |||
-rw-r--r-- | app/src/main/res/drawable-mdpi/ic_action_send.png | bin | 0 -> 235 bytes | |||
-rw-r--r-- | app/src/main/res/drawable-xhdpi/ic_action_send.png | bin | 0 -> 388 bytes | |||
-rw-r--r-- | app/src/main/res/drawable-xxhdpi/ic_action_send.png | bin | 0 -> 582 bytes | |||
-rw-r--r-- | app/src/main/res/drawable-xxxhdpi/ic_action_send.png | bin | 0 -> 1921 bytes | |||
-rw-r--r-- | app/src/main/res/layout/activity_licenses.xml | 15 | ||||
-rw-r--r-- | app/src/main/res/layout/activity_response.xml | 14 | ||||
-rw-r--r-- | app/src/main/res/layout/activity_updater.xml | 64 | ||||
-rw-r--r-- | app/src/main/res/menu/main.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/menu/menu_replyform.xml | 8 |
10 files changed, 28 insertions, 77 deletions
diff --git a/app/src/main/res/drawable-hdpi/ic_action_send.png b/app/src/main/res/drawable-hdpi/ic_action_send.png Binary files differnew file mode 100644 index 0000000..100cd85 --- /dev/null +++ b/app/src/main/res/drawable-hdpi/ic_action_send.png diff --git a/app/src/main/res/drawable-mdpi/ic_action_send.png b/app/src/main/res/drawable-mdpi/ic_action_send.png Binary files differnew file mode 100644 index 0000000..eea6617 --- /dev/null +++ b/app/src/main/res/drawable-mdpi/ic_action_send.png diff --git a/app/src/main/res/drawable-xhdpi/ic_action_send.png b/app/src/main/res/drawable-xhdpi/ic_action_send.png Binary files differnew file mode 100644 index 0000000..b098e07 --- /dev/null +++ b/app/src/main/res/drawable-xhdpi/ic_action_send.png diff --git a/app/src/main/res/drawable-xxhdpi/ic_action_send.png b/app/src/main/res/drawable-xxhdpi/ic_action_send.png Binary files differnew file mode 100644 index 0000000..f1f07a9 --- /dev/null +++ b/app/src/main/res/drawable-xxhdpi/ic_action_send.png diff --git a/app/src/main/res/drawable-xxxhdpi/ic_action_send.png b/app/src/main/res/drawable-xxxhdpi/ic_action_send.png Binary files differnew file mode 100644 index 0000000..2dcc7a2 --- /dev/null +++ b/app/src/main/res/drawable-xxxhdpi/ic_action_send.png diff --git a/app/src/main/res/layout/activity_licenses.xml b/app/src/main/res/layout/activity_licenses.xml new file mode 100644 index 0000000..c9cf760 --- /dev/null +++ b/app/src/main/res/layout/activity_licenses.xml @@ -0,0 +1,15 @@ +<?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" + tools:context="org.bienvenidoainternet.baiparser.LicensesActivity"> + + <WebView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:id="@+id/webView" + android:layout_alignParentTop="true" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" /> +</RelativeLayout> diff --git a/app/src/main/res/layout/activity_response.xml b/app/src/main/res/layout/activity_response.xml index 19194d4..bfd143e 100644 --- a/app/src/main/res/layout/activity_response.xml +++ b/app/src/main/res/layout/activity_response.xml @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" + xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBottom="@dimen/activity_vertical_margin" @@ -9,6 +10,7 @@ android:paddingTop="@dimen/activity_vertical_margin" tools:context="org.bienvenidoainternet.baiparser.ResponseActivity" android:textAlignment="textEnd"> + <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" @@ -36,7 +38,7 @@ android:hint="@string/txt_email" /> <EditText - android:layout_width="fill_parent" + android:layout_width="match_parent" android:layout_height="wrap_content" android:inputType="textMultiLine" android:ems="10" @@ -49,16 +51,6 @@ android:capitalize="sentences" /> <Button - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/btn_send" - android:id="@+id/btnSend" - android:layout_alignWithParentIfMissing="false" - android:layout_below="@+id/txtResponse" - android:layout_alignParentRight="true" - android:layout_alignParentEnd="true" /> - - <Button style="?android:attr/buttonStyleSmall" android:layout_width="32dp" android:layout_height="32dp" diff --git a/app/src/main/res/layout/activity_updater.xml b/app/src/main/res/layout/activity_updater.xml deleted file mode 100644 index b287293..0000000 --- a/app/src/main/res/layout/activity_updater.xml +++ /dev/null @@ -1,64 +0,0 @@ -<?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> diff --git a/app/src/main/res/menu/main.xml b/app/src/main/res/menu/main.xml index 280b121..7735ffb 100644 --- a/app/src/main/res/menu/main.xml +++ b/app/src/main/res/menu/main.xml @@ -23,8 +23,8 @@ android:title="@string/action_settings" app:showAsAction="never" /> <item - android:title="Buscar actualizaciones" - android:id="@+id/action_update" + android:title="Acerca de ..." + android:id="@+id/action_about" android:orderInCategory="500" app:showAsAction="never"/> <item diff --git a/app/src/main/res/menu/menu_replyform.xml b/app/src/main/res/menu/menu_replyform.xml new file mode 100644 index 0000000..395bca3 --- /dev/null +++ b/app/src/main/res/menu/menu_replyform.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<menu xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto"> + <item android:id="@+id/action_form_reply" + android:icon="@drawable/ic_action_send" + android:title="Responder" + app:showAsAction="always"/> +</menu>
\ No newline at end of file |