0
0
mirror of https://github.com/mueller-ma/PrepaidBalance.git synced 2024-09-20 00:12:15 +02:00

Update widget layout

Closes #216
This commit is contained in:
mueller-ma 2023-04-21 18:13:58 +02:00
parent 10df37d3a8
commit 73583e06eb

View File

@ -1,29 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@android:id/background"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:theme="@style/HomeScreenWidgetTheme"
android:background="@drawable/widget_background">
android:background="@drawable/widget_background"
android:orientation="horizontal">
<ImageView
android:id="@+id/btn_open_main"
android:layout_width="40dp"
android:layout_height="match_parent"
android:layout_marginStart="12dp"
android:layout_marginVertical="12dp"
android:padding="0dp"
android:alpha="0.8"
android:scaleType="fitCenter"
android:src="@mipmap/ic_launcher"
tools:ignore="ContentDescription" />
<TextView
android:id="@+id/balance"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:gravity="center"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="20sp"
tools:text="10.45" />
<ImageView
android:id="@+id/btn_open_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="4dp"
android:padding="0dp"
android:alpha="0.3"
android:scaleType="fitCenter"
android:src="@mipmap/ic_launcher"
tools:ignore="ContentDescription" />
</FrameLayout>
</LinearLayout>