Widget config finished

This commit is contained in:
Jaculabilis 2016-10-15 18:49:35 -05:00
parent 9fa545fcd0
commit 0789bbfdfa
3 changed files with 40 additions and 43 deletions

View File

@ -1,21 +1,16 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="#09C" android:background="#09C"
android:padding="@dimen/widget_margin"> android:padding="@dimen/widget_margin">
<TextView <ImageView
android:id="@+id/appwidget_text" android:layout_width="match_parent"
android:layout_width="wrap_content" android:layout_height="match_parent"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:layout_margin="8dp"
android:background="#09C" android:background="#09C"
android:contentDescription="@string/appwidget_text" tools:ignore="ContentDescription"
android:text="@string/appwidget_text" android:layout_centerHorizontal="true"
android:textColor="#ffffff" android:layout_centerVertical="true" />
android:textSize="24sp"
android:textStyle="bold|italic" />
</RelativeLayout> </RelativeLayout>

View File

@ -1,40 +1,43 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="match_parent">
android:orientation="vertical"
android:padding="16dp">
<Button <LinearLayout
android:id="@+id/select_image_button"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="8dp" android:orientation="vertical"
android:text="@string/select_an_image" /> android:padding="16dp">
<ImageView <Button
android:id="@+id/previewImageView" android:id="@+id/select_image_button"
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:maxHeight="300dp" android:layout_marginBottom="8dp"
android:adjustViewBounds="true" android:text="@string/select_an_image" />
android:layout_marginBottom="8dp"
android:layout_gravity="center_horizontal"
android:src="@drawable/example_appwidget_preview"
tools:ignore="ContentDescription" />
<Button <ImageView
android:id="@+id/finish_button" android:id="@+id/previewImageView"
android:layout_width="match_parent" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="8dp" android:layout_marginBottom="8dp"
android:text="@string/finish" /> android:layout_gravity="center_horizontal"
android:src="@drawable/example_appwidget_preview"
tools:ignore="ContentDescription" />
<TextView <Button
android:layout_width="match_parent" android:id="@+id/finish_button"
android:layout_height="wrap_content" android:layout_width="match_parent"
android:text="@string/about"/> android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:text="@string/finish" />
</LinearLayout> <TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/about"/>
</LinearLayout>
</ScrollView>

View File

@ -1,7 +1,6 @@
<resources> <resources>
<string name="app_name">MicroFrame</string> <string name="app_name">MicroFrame</string>
<string name="appwidget_text">EXAMPLE</string>
<string name="select_an_image">Select an Image</string> <string name="select_an_image">Select an Image</string>
<string name="finish">Finish</string> <string name="finish">Finish</string>
<string name="about">Version: 0.2.21\nAuthor: Tim Van Baak</string> <string name="about">Version: 0.2.23\nAuthor: Tim Van Baak</string>
</resources> </resources>