Skip to content

Instantly share code, notes, and snippets.

@Astroa7m
Created June 29, 2022 18:16
Show Gist options
  • Save Astroa7m/75ed0f6bc1e59402e80d36cab74bb4c3 to your computer and use it in GitHub Desktop.
Save Astroa7m/75ed0f6bc1e59402e80d36cab74bb4c3 to your computer and use it in GitHub Desktop.
Widget Initial layout
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:layout_width="350dp"
android:layout_height="350dp"
android:scaleType="centerCrop"
android:layout_gravity="center"
android:alpha="0.4"
android:src="@drawable/ic_image"/>
</FrameLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment