Skip to content

Commit 64d1121

Browse files
committed
Merge branch 'rebrand'
2 parents fc50328 + cc2fd19 commit 64d1121

38 files changed

+115
-162
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ dependencies {
4747
implementation 'me.dm7.barcodescanner:zxing:1.9.8'
4848
implementation 'com.beust:klaxon:5.5'
4949
implementation 'com.squareup.okhttp3:okhttp:4.3.0'
50-
implementation 'com.google.android.material:material:1.1.0-beta02'
50+
implementation 'com.google.android.material:material:1.4.0'
5151
implementation 'net.swiftzer.semver:semver:1.1.1'
5252
implementation 'io.sentry:sentry-android:1.7.27'
5353
implementation 'org.slf4j:slf4j-nop:1.7.25'
41.1 KB
Loading
52.4 KB
Loading
-9.02 KB
Binary file not shown.

app/src/main/java/tech/httptoolkit/android/ApplicationListActivity.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import android.view.MenuItem
99
import android.view.View
1010
import android.widget.PopupMenu
1111
import androidx.appcompat.app.AppCompatActivity
12+
import androidx.appcompat.view.ContextThemeWrapper
1213
import androidx.core.widget.doAfterTextChanged
1314
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout
1415
import kotlinx.android.synthetic.main.apps_list.*
@@ -146,7 +147,7 @@ class ApplicationListActivity : AppCompatActivity(), SwipeRefreshLayout.OnRefres
146147
override fun onClick(v: View?) {
147148
when (v?.id) {
148149
R.id.apps_list_more_menu -> {
149-
PopupMenu(this, apps_list_more_menu).apply {
150+
PopupMenu(ContextThemeWrapper(this, R.style.PopupMenu), apps_list_more_menu).apply {
150151
this.inflate(R.menu.menu_app_list)
151152
this.menu.findItem(R.id.action_show_system).isChecked = showSystem
152153
this.menu.findItem(R.id.action_show_enabled).isChecked = showEnabledOnly

app/src/main/java/tech/httptoolkit/android/PortListActivity.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import android.content.Intent
44
import android.os.Bundle
55
import android.widget.PopupMenu
66
import androidx.appcompat.app.AppCompatActivity
7+
import androidx.appcompat.view.ContextThemeWrapper
78
import androidx.core.widget.doAfterTextChanged
89
import kotlinx.android.synthetic.main.ports_list.*
910
import kotlinx.coroutines.*
@@ -55,7 +56,7 @@ class PortListActivity : AppCompatActivity(), CoroutineScope by MainScope() {
5556

5657
// Show the menu, and listen for clicks:
5758
ports_list_more_menu.setOnClickListener {
58-
PopupMenu(this, ports_list_more_menu).apply {
59+
PopupMenu(ContextThemeWrapper(this, R.style.PopupMenu), ports_list_more_menu).apply {
5960
this.inflate(R.menu.menu_ports_list)
6061

6162
this.menu.findItem(R.id.action_reset_ports).isEnabled =
Loading
Loading

app/src/main/res/drawable/ic_launcher_background.xml

Lines changed: 0 additions & 74 deletions
This file was deleted.
Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,23 @@
11
<vector xmlns:android="http://schemas.android.com/apk/res/android"
22
android:width="108dp"
33
android:height="108dp"
4-
android:viewportWidth="99.301"
5-
android:viewportHeight="99.301">
6-
<group android:scaleX="0.43"
7-
android:scaleY="0.43"
8-
android:translateX="28.300785"
9-
android:translateY="28.300785">
4+
android:viewportWidth="120"
5+
android:viewportHeight="120">
6+
<group android:scaleX="0.44"
7+
android:scaleY="0.44"
8+
android:translateX="33.6"
9+
android:translateY="33.6">
1010
<path
11-
android:pathData="m32.491,4.478h11.662q0.623,0 1.076,0.47 0.453,0.47 0.453,1.117L45.681,44.047q0,0.647 -0.453,1.117 -0.453,0.47 -1.076,0.47L32.491,45.634q-0.623,0 -1.076,-0.47 -0.453,-0.47 -0.453,-1.117L30.962,31.524L19.64,31.524v12.523q0,0.647 -0.453,1.117 -0.453,0.47 -1.076,0.47L6.449,45.634q-0.623,0 -1.076,-0.412 -0.453,-0.47 -0.453,-1.176L4.92,6.065q0,-0.647 0.453,-1.117 0.453,-0.47 1.076,-0.47h11.662q0.623,0 1.076,0.47 0.453,0.47 0.453,1.117L19.64,18.118L30.962,18.118L30.962,6.065q0,-0.647 0.453,-1.117 0.453,-0.47 1.076,-0.47z"
12-
android:strokeWidth="0.43270186"
13-
android:fillColor="#e1421f"
14-
android:strokeColor="#00000000"/>
11+
android:pathData="M39,107.6L64,22.1l0,0c0.2,-0.8 1,-1.4 1.9,-1.4H75c0.9,0 1.5,0.8 1.3,1.7l-27.9,95.8c-0.3,1.1 -1.3,1.9 -2.5,1.9H23.6C10.6,120 0,109.4 0,96.4V23.6C0,10.6 10.6,0 23.6,0H81c0.9,0 1.5,0.8 1.3,1.7L79.6,11c-0.2,0.8 -1,1.4 -1.9,1.4H23.4c-6.1,0 -11,4.9 -11,11v73.2c0,6.1 4.9,11 11,11H39z"
12+
android:fillColor="#E24120"/>
1513
<path
16-
android:pathData="m53.141,4.478h39.687q0.633,0 1.093,0.47 0.46,0.47 0.46,1.117v9.466q0,0.647 -0.46,1.117 -0.46,0.47 -1.093,0.47h-12.366v26.928q0,0.647 -0.46,1.117 -0.46,0.47 -1.093,0.47L67.06,45.634q-0.633,0 -1.093,-0.47 -0.46,-0.47 -0.46,-1.117L65.507,17.119h-12.366q-0.633,0 -1.093,-0.47 -0.46,-0.47 -0.46,-1.117v-9.466q0,-0.647 0.46,-1.117 0.46,-0.47 1.093,-0.47z"
17-
android:strokeWidth="0.4361468"
18-
android:fillColor="#e1421f"
19-
android:strokeColor="#00000000"/>
14+
android:pathData="M96.4,0c13,0 23.6,10.6 23.6,23.6v72.8c0,13 -10.6,23.6 -23.6,23.6H57.8c-0.9,0 -1.5,-0.8 -1.3,-1.7l2.7,-9.3c0.2,-0.8 1,-1.4 1.9,-1.4h35.5c6.1,0 11,-4.9 11,-11V23.4c0,-5 -3.3,-9.2 -7.9,-10.6l-24.8,85c-0.2,0.8 -1,1.4 -1.9,1.4h-9.2c-0.9,0 -1.5,-0.8 -1.3,-1.7L90.5,1.9C90.8,0.8 91.8,0 93,0H96.4L96.4,0z"
15+
android:fillColor="#E24120"/>
2016
<path
21-
android:pathData="m55.771,53.667h21.173q8.039,0 12.738,4.057 4.699,4.057 4.699,10.407 0,6.35 -3.963,10.113 -3.963,3.704 -13.474,3.704h-7.473v11.289q0,0.647 -0.453,1.117 -0.453,0.47 -1.076,0.47h-12.172q-0.623,0 -1.076,-0.47 -0.453,-0.47 -0.453,-1.117v-37.982q0,-0.647 0.453,-1.117 0.453,-0.47 1.076,-0.47zM69.528,64.603v6.467h7.19q1.302,0 2.095,-0.823 0.849,-0.823 0.849,-2.293 0,-1.47 -0.793,-2.411 -0.793,-0.941 -2.151,-0.941z"
22-
android:strokeWidth="0.43270186"
23-
android:fillColor="#e1421f"
24-
android:strokeColor="#00000000"/>
17+
android:pathData="M34.2,37.2h2c2.9,0 5.2,2.3 5.2,5.2v2c0,2.9 -2.3,5.2 -5.2,5.2h-2c-2.9,0 -5.2,-2.3 -5.2,-5.2v-2C29,39.6 31.3,37.2 34.2,37.2z"
18+
android:fillColor="#E24120"/>
2519
<path
26-
android:pathData="M6.473,53.667L46.161,53.667q0.633,0 1.093,0.47 0.46,0.47 0.46,1.117v9.466q0,0.647 -0.46,1.117 -0.46,0.47 -1.093,0.47L33.794,66.308v26.928q0,0.647 -0.46,1.117 -0.46,0.47 -1.093,0.47L20.393,94.824q-0.633,0 -1.093,-0.47 -0.46,-0.47 -0.46,-1.117L18.84,66.308L6.473,66.308q-0.633,0 -1.093,-0.47 -0.46,-0.47 -0.46,-1.117v-9.466q0,-0.647 0.46,-1.117 0.46,-0.47 1.093,-0.47z"
27-
android:strokeWidth="0.4361468"
28-
android:fillColor="#e1421f"
29-
android:strokeColor="#00000000"/>
20+
android:pathData="M34.2,66.2h2c2.9,0 5.2,2.3 5.2,5.2v2c0,2.9 -2.3,5.2 -5.2,5.2h-2c-2.9,0 -5.2,-2.3 -5.2,-5.2v-2C29,68.5 31.3,66.2 34.2,66.2z"
21+
android:fillColor="#E24120"/>
3022
</group>
3123
</vector>

0 commit comments

Comments
 (0)