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

View File

@ -1,7 +1,11 @@
<?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:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
@ -18,8 +22,6 @@
android:id="@+id/previewImageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxHeight="300dp"
android:adjustViewBounds="true"
android:layout_marginBottom="8dp"
android:layout_gravity="center_horizontal"
android:src="@drawable/example_appwidget_preview"
@ -37,4 +39,5 @@
android:layout_height="wrap_content"
android:text="@string/about"/>
</LinearLayout>
</LinearLayout>
</ScrollView>

View File

@ -1,7 +1,6 @@
<resources>
<string name="app_name">MicroFrame</string>
<string name="appwidget_text">EXAMPLE</string>
<string name="select_an_image">Select an Image</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>