Widget config finished
This commit is contained in:
parent
9fa545fcd0
commit
0789bbfdfa
|
@ -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>
|
|
@ -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"
|
||||
|
@ -38,3 +40,4 @@
|
|||
android:text="@string/about"/>
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue