This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout | |
android:id="@+id/relative" | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
tools:context=".MainActivity" | |
app:layout_behavior="@string/appbar_scrolling_view_behavior" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start "" C:\Users\currentuser\Desktop\converter\app\build\outputs\mapping\release | |
REM change file path accordingly | |
REM when you are using Proguard and want to traverse to the mapping.txt file for upload to the play store deobfuscation files but just don't have the energy to open it manually |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim WshShell, BtnCode, strCurDir | |
REM open_url opens in chrome, it should be set to the URL where you can upload your Deobfuscation (Mapping) File on the Dev Console | |
open_url = "ENTER_URL_HERE" | |
Set WshShell = WScript.CreateObject("WScript.Shell") | |
BtnCode = WshShell.Popup("Open the mapping file", 7, "Mapping Android APK:", 4 + 32) | |
Select Case BtnCode | |
case 6 WshShell.run "chrome -url " &open_url | |
strCurDir = WshShell.CurrentDirectory | |
WshShell.run strCurDir & "\app\build\outputs\mapping\release" | |
case 7 WScript.Echo "Okay :(" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<animated-vector | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
xmlns:aapt="http://schemas.android.com/aapt" | |
tools:targetApi="lollipop"> | |
<aapt:attr name="android:drawable"> | |
<vector | |
android:width="24dp" | |
android:height="24dp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Drawable clockMove = clock.getDrawable(); | |
if (clockMove instanceof Animatable) { | |
((Animatable) clockMove).start(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private Set getHiddenUnits = new HashSet<>(); | |
List list; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_main); | |
getHiddenUnits = App.getHiddenUnits(); | |
if(!getHiddenUnits.isEmpty()) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:id="@+id/relative" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:background="?android:attr/selectableItemBackgroundBorderless" | |
android:clickable="true" | |
android:focusable="true" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Solution { | |
// article: https://link.medium.com/nqICUGZMH5 | |
public int numberOfSteps (int num) { | |
int step = 0; | |
while(num!= 0) | |
{ | |
if(num % 2 == 0) //even | |
{ | |
step++; | |
num=num/2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<activity | |
android:name=".activities.Main" | |
android:configChanges="orientation" | |
android:label="@string/app_name" | |
android:resizeableActivity="true"> | |
<intent-filter> | |
<action android:name="android.intent.action.MAIN" /> | |
<category android:name="android.intent.category.LAUNCHER" /> | |
</intent-filter> | |
<intent-filter> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | |
<background android:drawable="@drawable/ic_launcher_background" /> | |
<foreground android:drawable="@drawable/ic_launcher_foreground" /> | |
</adaptive-icon> |