Projects Attribouter Wiki

AppWedge

The AppWedge displays the app icon, name, version, and links to the project sites in a small layout. By default, the icon and app name are fetched from your app's AndroidManifest.xml, and all other information is fetched from the repo API if the repo attribute has been specified.

Example

<me.jfenn.attribouter.wedges.AppWedge
    repo="github:fennifith/Attribouter"
    icon="@mipmap/ic_launcher"
    title="Attribouter"
    websiteUrl="https://jfenn.me/Attribouter/" />

Attributes

Attribute Type Description
repo String (name/repository) The repository URI to fetch data from.
icon String (URL) / Drawable Resource The app icon to display.
title String The app title to show (defaults to the application label if unspecified).
description String / String Resource A short description of the app/project (no longer shown in the UI - still supported for custom layouts, though).
playStoreUrl String / String Resource (URL) The URL of the app on the Play Store (generated from the package name by default).
websiteUrl String / String Resource (URL) The website of the project.
repoUrl String / String Resource (URL) The URL for the open source GitHub project. You do not need to define this unless the URL inferred from the repo attribute is incorrect.

The links that are automatically created by this wedge are as follows. See LinkWedge for more information.

ID Description Required Attributes
git The git repository of the project. repo or repoUrl
website The website of the project. repo (if the repo has a website assigned) or websiteUrl
playStore A 'rate' button that opens the app in the play store. playStoreUrl or repo (if the repository url is the play store url)