mirror of
https://github.com/adolfintel/OpenPods.git
synced 2026-09-14 14:56:11 -04:00
Aesthetic changes
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 59 KiB |
@@ -50,7 +50,7 @@ public class MainActivity extends AppCompatActivity {
|
||||
PackageManager p = getPackageManager();
|
||||
p.setComponentEnabledSetting(new ComponentName(MainActivity.this,MainActivity.class), PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);
|
||||
Toast.makeText(getApplicationContext(),getString(R.string.hideClicked), Toast.LENGTH_LONG).show();
|
||||
try{getApplicationContext().openFileOutput("hidden",MODE_PRIVATE).close();}catch(Throwable t){}
|
||||
finish();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 8.4 KiB |
@@ -17,7 +17,7 @@
|
||||
android:layout_height="120dp"
|
||||
android:src="@drawable/tick"
|
||||
android:layout_alignParentTop="true"
|
||||
android:id="@+id/mainTick"
|
||||
android:id="@+id/tick"
|
||||
android:layout_marginBottom="24dp"
|
||||
/>
|
||||
<TextView
|
||||
@@ -27,14 +27,21 @@
|
||||
android:layout_marginBottom="24dp"
|
||||
android:text="@string/main1"
|
||||
android:textAppearance="@android:style/TextAppearance.DeviceDefault.Large"
|
||||
android:layout_below="@id/mainTick"
|
||||
android:layout_below="@id/tick"
|
||||
/>
|
||||
<TextView
|
||||
android:id="@+id/supportedDevices"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="60dp"
|
||||
android:layout_below="@id/main1"
|
||||
android:text="@string/supportedDevices" />
|
||||
<TextView
|
||||
android:id="@+id/main2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="80dp"
|
||||
android:layout_below="@id/main1"
|
||||
android:layout_marginBottom="24dp"
|
||||
android:layout_below="@id/supportedDevices"
|
||||
android:text="@string/main2" />
|
||||
<Button
|
||||
android:layout_width="wrap_content"
|
||||
@@ -44,6 +51,7 @@
|
||||
android:id="@+id/mainHide"
|
||||
android:layout_alignParentEnd="true"
|
||||
/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -9,4 +9,5 @@
|
||||
<string name="hideClicked">L\'icona sarà rimossa presto</string>
|
||||
<string name="noBtText">Questo dispositivo non supporta Bluetooth LE</string>
|
||||
<string name="locationDisabledText">Attiva la posizione per permttere a OpenPods di leggere lo stato</string>
|
||||
<string name="supportedDevices">Dispositivi supportati:\n• Apple AirPods 1st gen</string>
|
||||
</resources>
|
||||
@@ -9,4 +9,5 @@
|
||||
<string name="hideClicked">The icon will disappear soon</string>
|
||||
<string name="noBtText">It looks like this device doesn\'t have Bluetooth LE</string>
|
||||
<string name="locationDisabledText">You need to turn on Location to allow OpenPods to read the status</string>
|
||||
<string name="supportedDevices">Supported devices:\n• Apple AirPods 1st gen</string>
|
||||
</resources>
|
||||
|
||||
@@ -14,6 +14,9 @@ The project is currently in Alpha.
|
||||
* Respects your privacy
|
||||
* Free and Open Source software
|
||||
|
||||
## Supported devices
|
||||
* Apple AirPods 1st gen
|
||||
|
||||
## Project status
|
||||
Right now, this project should be considered in alpha state. It was not extensively tested, it may not be stable or work at all on your device.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user