Skip to content

Commit

Permalink
Add icons
Browse files Browse the repository at this point in the history
  • Loading branch information
koral-- committed Feb 11, 2019
1 parent 1829dad commit 61cdc0b
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 3 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
### 0.0.3 - 11.02.2019
- Add device market name menu item icon

### 0.0.2 - 07.02.2019
- Hyperion Chuck 1.0.0
- Hyperion App Info 1.0.0
- Hyperion Simple Item 0.4.0
- Android Gradle Plugin 3.3.1
- Device market name item
- Add device market name menu item

### 0.0.1 - 04.02.2019
- Initial release
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# FoQA

![Logo](seal.svg "Logo")

Container for various Quality Assurance utilities to be included in QA/testing variants of Android apps.

## Description
Expand All @@ -12,7 +14,7 @@ Add FoQA dependency to `build.gradle` of the application module:

```groovy
dependencies {
debugImplementation 'com.github.droidsonroids:foqa:0.0.2'
debugImplementation 'com.github.droidsonroids:foqa:0.0.3'
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package pl.droidsonroids.foqa;

import android.os.Build;

import com.github.takahirom.hyperion.plugin.simpleitem.SimpleItem;
import com.github.takahirom.hyperion.plugin.simpleitem.SimpleItemHyperionPlugin;
import com.jaredrummler.android.device.DeviceName;
Expand All @@ -13,6 +12,7 @@ static void initialize() {
String deviceModel = DeviceName.getDeviceName();
String sdk = Build.VERSION.RELEASE;
SimpleItem item = new SimpleItem.Builder()
.image(R.drawable.ic_info)
.text(manufacturer + ' ' + deviceModel + " Android: " + sdk)
.build();
SimpleItemHyperionPlugin.addItem(item);
Expand Down
7 changes: 7 additions & 0 deletions library/src/main/res/drawable/ic_info.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<vector android:height="24dp" android:viewportHeight="1000"
android:viewportWidth="1000" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#8c8c8c"
android:pathData="M500,963.96A464.07,464.07 0,0 1,319.4 72.51,464.07 464.07,0 0,1 680.6,927.49 461.09,461.09 0,0 1,500 963.96ZM500,98.04A402.07,402.07 0,0 0,343.55 870.38,402.07 402.07,0 0,0 656.45,129.62 399.42,399.42 0,0 0,500 98.04Z"/>
<path android:fillColor="#8c8c8c"
android:pathData="M453.92,289.76h92.16L546.08,367.52L453.92,367.52ZM456.22,401.5h87.55L543.78,710.24L456.22,710.24Z"/>
</vector>
17 changes: 17 additions & 0 deletions seal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 61cdc0b

Please sign in to comment.